Top "Google-sheets" questions

Use this tag for questions about interacting with Google Sheets programmatically.

Set cell format with google apps script

It is possible to set number format to a cell with google apps script like cell.setNumberFormat("0.000"); I need to …

google-apps-script google-sheets
Custom function throws a "You do not have the permission required to setValue" error

I am trying to set some value to a cell in a Google Spreadsheet: function exampleFunction() { var ss = SpreadsheetApp.getActiveSpreadsheet(); …

google-apps-script google-sheets permissions authorization google-sheets-custom-function
Is it possible to automate Google Spreadsheets Scripts (e.g. without an event to trigger them)?

Does anyone know if it's possible to use Google Apps Scripts to run without needed a manual event? Meaning - …

google-sheets google-apps-script
How to take only certain columns from a FILTER result?

I'm using FILTER to extract rows from a range, and want to take only certain columns. For example, I filter …

google-sheets
Dynamically update Google Form 'Choose from list' options from column in Spreadsheet

I am trying to setup a Google Form that will create a 'choose from list' question, with each option being …

google-apps-script google-sheets google-forms
Embed editable Google Docs spreadsheet without header & toolbar

I have the requirement to embed a Google Docs spreadsheet on a webpage, but it needs to be just the …

embed google-docs google-sheets
Highlight entire row when cell is active

How to design a sheet script that would result in an active row being highlighted? I would like to have …

google-apps-script google-sheets formatting
AJAX post to google spreadsheet

I am attempting to post form data to a google spreadsheet. Currently, if the form is validated, then the following …

jquery ajax google-apps-script google-sheets
google spreadsheet: join arrays using function NOT CODE

I have one array 1 2 3 another array 4 5 6 How do I use one function to join the 2 arrays? 1 2 3 4 5 6

arrays google-sheets google-sheets-formula
Can the google spreadsheet 'query' function be used in google apps script?

I'm looking for a way to programmatically populate a spreadsheet that filters data from another spreadsheet based on the logged …

google-apps-script google-sheets google-query-language