Category "google-sheets"

onSelectionChange Google App Script sample

I am trying to figure out the official code sample of Google: /** * The event handler triggered when the selection changes in the spreadsheet. * @param {Event

SUMIFS with OR criteria in Google Sheets

I want to add values in Column C with the conditions that Column B = 0, AND Column A = "a" OR "b" From what I've searched, this would work, but only in excel:

googlesheet IMPORTHTML for multiple tab

I am using the IMPORTHTML function in a Google Sheet cell to import commodities performance table from website : https://www.investing.com/commodities/real-time

Run Script to add new row via selected value in drop down and clear selected range in that selected row

I'm using this script I found and it's working fine in inserting a new row, I just add a new line to clear the row clearContent(). I wanted to modify this so th

Linked table to presentation - what is the size limit of the source table?

I'm trying to link a table from a google sheet to a google presentation. I'm normally presented with a dialog asking me whether I want to link the spreadsheet

Play Sound when a specific cell change the Value google sheets

I am trying to run the code of this post, : Google Script: Play Sound when a specific cell change the Value with the recommendation of Rob Blakemore Could some

Convert this array formula for google spreadsheet

I found out that you can't use an array formula if you are using the "if" "and" "or" formula on google spreadsheet. Can someone please help me fix this formula

GoogleSheet - importxml [Different URL with same content]

I am a newbie on importxml and trying to scrape the property agent information from a website, I did success to get the required field from the page, but:- Ther

Is there a way to hide the chart borders while converting Google Sheets into PDFs?

The grey chart borders show up, no matter what you do in Google sheets, when converted into PDF. Is there any other way or script to make it hide while PDF conv

Dynamic Page Breaks in Google Sheets

I have mild general programming knowledge but know basically nothing about google apps scripts specifically. I am trying to create dynamic page breaks in googl

Find lowest value matched from an Index/Match of an array

Example Spreadsheet Current formula not returning values as desired: =IFERROR(ifNA(min(arrayformula(index(D2:I2, match(INDEX(FLATTEN(split(A2, ", ", FALSE)&

Setting cells in google sheets as read-only without locking its column width?

Protecting a range in google sheet also locks the cell's column width. I would like to make a cell read-only but still allow the user to resize the column widt

Scraping SofaScore votes using Xpath and google sheets

I'm trying to scrape the votes from SofaScore with google sheets using the importxml function. I'm running into an issue because the class name has a random str

How to use vlookup to find the value based on time in another table (google sheet)?

I'm trying to get the values for column C in Table 1 from column H by using vlookup. However, seems like the vlookup doesn't work and return a N/A. I had check

Query formula not working with error AVG_SUM_ONLY_NUMERIC

I am getting this error on my query. Unable to parse query string for Function QUERY parameter 2: AVG_SUM_ONLY_NUMERIC I don't understand whats the problem is

Importing attribute data with ImportXML google sheets

I have attempted to import price data from this site: http://runescape.wikia.com/wiki/Rubber_turkey# with this import xml code: =IMPORTXML("http://runescape.

Best Method for polling a google sheet for changes using a Google Apps Script Web App?

I am working on a google apps script web app to get it to poll a google sheet for changes/updates. At the moment this can either be "content" or simply when the

Try...catch not working as expected in Google Apps Script

[Edited to include a minimal reproducible example as suggested by T.J. Crowder.] I'm working on a simple function using Google Apps Script that is supposed to

How to perform Cartesian Join with Google Scripts & Google Sheets?

I have found code for a basic 2 column Cartesian join but I have a slightly different situation. There are 3 Variables/Columns: Color, Color ID, & Item. I'd

Automatically Move Google Form Response by Ticking Check Box

I have 2 google Forms. User fills either of the google forms and it populates 2 "active" tabs within the same sheet to record user responses. I would like to us