Category "google-sheets"

Work around for JSON data import in Google Sheet using custom script

enter image description here I want to import data from a table within an HTML page. Used IMPORTHTML =IMPORTHTML("https://www.fpi.nsdl.co.in/web/Reports/FPI_For

How do I use a query to get a date from an array formula?

On sheets, I'm using this formula to sum hours to a specific month from a drop-down menu. =QUERY('Form responses 1'!H2:L, "Select L, Sum(K) WHERE L is not NUL

How to create single list from two ranges in google sheets?

In google sheet I have 2 ranges of variable length with some data,i.e. column A: aa, ab, ac; and column B: ba, bb, bc. I would like to combine them in one lon

Countif with len in Google Spreadsheet

I have a column XXX like this : XXXA Aruin AvolynB Batracia Buna ...I would like to count a cell only if the string in the cell has a length > 1. How to do

How to split single rows into multiple rows depending on whether one cell has values separated by commas or new lines in Google Sheet?

The spreadsheet has some cells with cell contents that are separated by commas, or a new line. 123, 876, 456 Column "C" is the column that determines whet

How to split single rows into multiple rows depending on whether one cell has values separated by commas or new lines in Google Sheet?

The spreadsheet has some cells with cell contents that are separated by commas, or a new line. 123, 876, 456 Column "C" is the column that determines whet

Loop ID through cells in Google Apps Script

Good Day! I would like the Purchase Order ID repeated upon submission of a form in an earlier sheet. My current code however repeats this throughout the length

Show Alert Popup when cell selection is changed (onSelectionChange)

I am trying to show an alert popup when cell selection is changed, using the new trigger onSelectionChange. For some reason it is not showing any alerts. Am i d

Looking to create an XML feed from a Google Sheet Table

Looking for some help please, I've been tinkering with the code now most of the day and im stuck, and this seems about the best solution I have found so far. I'

How to set a sheet's number of rows and columns at creation time? (And a word about Google's "advanced parameters")

When creating a spreadsheet ex novo, Google's SpreadsheetApp allows one to specify the number of rows and columns of said spreadsheet: var spreadsheet = Spread

Google sheets: Count Specific Characters in a string of words

I have on Google sheets this data (It is the same principle in excel). I want to count the numbers of dose in each strings. I use this formula and it return me

Get BTC prices on Google Sheets from Google Finance

I'm trying to get data from Google Finance in Google Sheets with this formula: =GoogleFinance("CURRENCY:BTC") But I'm getting this error: GOOGLEFINANCE, the

Formula to see if you're on track of monthly budget

I'm not sure where to post this question but I thought here would be a good spot. What would be a Google Sheets formula to see if I am on track to stay within m

Custom functions intermittently hang with "Error - Loading Data"

I have a Google Apps Script custom function, very simple: function sharesBurned(sharesToSell) { return "tree" } Obviously, this works when I test it in

How do I access (read, write) Google Sheets spreadsheets with Python?

I am wondering if you can point me to an example of reading/writing to/from a google doc/spreadsheet using python. I did look at google docs API here https://

Call a Google Sheets add-on within a Google Apps Script?

Is it possible to call a Google Sheets add-on as if it were a function in an Apps Script? I am trying to automate a few steps like this: Import/append data fr

Google Spreadsheet with data from WebSocket

I want to write a custom script using Google Apps Script for Spreadsheet that gets data from WebSocket. Is there a way doing so?

how to combine many google sheets in one sheet by using query

I created two online sheets and tried to collect them in another one sheet by query but there a missing data although it's exists in the original sheets (data s

Get date value from header

I'm trying to use Google Sheets as a JSON backend. The JSON output is here: "gsx$company": { //all is ok "$t": "Company name"

How to sort sheets within a spreadsheet in chronological order by date in google apps script

I am attempting to sort the sheets within my spreadsheet in chronological order. They are all dates in the same format (MM-dd-yyyy), but I am unsure of how to t