Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling Google Spreadsheet functions from Google Apps Scripts [duplicate]

Is it possible to use a Google Spreadsheet function in a Google Apps Script?

There is a ton of documentation about going the other way around, i.e. using Google Apps Script functions in Google Spreadsheets, but I haven't found an answer to this.

For example, let's say want to calculate a standard deviation on some data in a JavaScript array. Can I use Google Spreadsheets' STDEV function?

like image 952
duozmo Avatar asked Jul 13 '13 18:07

duozmo


People also ask

How do you duplicate a sheet in Google Sheets using a script?

Click the tab of the sheet you want to duplicate, then select Duplicate from the menu that appears. A duplicate of the sheet will appear in the sheets toolbar. It will be named as a copy of the original sheet, such as Copy of May. If you want, you can rename the sheet.

Can you have multiple scripts in Google Sheets?

You can have multiple scripts in the same script file and you can have multiple script files as well. If you click on the small downward-facing arrow at the right of the Script file name, it will show you options to rename, delete, and create a copy of the script file.


1 Answers

Unfortunately not it seems. It has been discussed/suggested/requested over the years, but I have never seen any announcements from google regarding this.

(I have edited this post to be less authoritative since I cannot readily find many resources in support of my point. However, I have been following the boards for over 3 years and have come across it at times.).

like image 118
David Tew Avatar answered Sep 28 '22 02:09

David Tew