Category "google-sheets"

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

TEXTJOIN string only for values matching Todays date

Sample Table Date Created (A) Tracking ID (B) 5/12/2022 '813vz633-7872' 5/12/2022 '914bz756-7423' 5/12/2022 '875vu340-5687' 5/11/2022 '475dv235-6542' 5/11/2022

TEXTJOIN string only for values matching Todays date

Sample Table Date Created (A) Tracking ID (B) 5/12/2022 '813vz633-7872' 5/12/2022 '914bz756-7423' 5/12/2022 '875vu340-5687' 5/11/2022 '475dv235-6542' 5/11/2022

SUMIFS with INDEX/MATCH and Dynamic ranges

Here is the spreadsheet of data and desired result: https://docs.google.com/spreadsheets/d/13tXrlZQK0bXlA2EhGA-CJEXAEdfxyvAWvqwflqty-GA/edit?usp=sharing Basical

How do you create a "reverse pivot" in Google Sheets?

I am trying to produce a "reverse pivot" function. I have searched long and hard for such a function, but cannot find one that is already out there. I have a su

Translation of HTML content in Google Sheets

I am using the following Google Sheets formula to translate some fields containing HTML tags: =GOOGLETRANSLATE(A2, "en", "de") However, the translation resul

QUERY: Return name if over a certain age from date of birth

Here is an example table: A B ------ ---------- 1 | Name | DOB 2 | John | 01/01/2011 3 | Tom | 02/02/2002 I need to return the names of people

How do I use LockService properly every time in Google Apps Script?

I am trying to avoid concurrent process with LockService on my project. In test runs, LockService works for me without any problems. But when I roll my projec

Put a CSV file in a specific Sheet by Name

With this script I would to put the CSV in a specific Sheet named "TEST". I have tried with getSheetByName but without result. How could I proceed? function imp

IMPORTHTML on Google Sheets returning a #N/A error, but only in one document

I have a Google Sheets document where I track the prices of several stocks. I made this a couple of months ago, and have been experiencing this issue for the pa

Search Value and highlight Row

I am using conditional formatting to search a value in a cell and apply it to a specific column. If the data matches it highlights the entire row. The issue I a

Trigger Python script located in Google Drive using Google Sheets

I have created a Python script (using Google Colab) and stored it on my Google Drive. When the Python script runs it automatically reads a Google Sheet in the s

Google Sheets appendRow with formula values

My goal is to write a script in Google Sheets that will copy two (or more) values from specific cells on a single row on a worksheet to the bottom of the list o

Date/time output has single quote in front of variable in Google Sheet

I have some code to export some output to a Google Sheet. The command I am using for that is: row = [timestamp, float(temperature), float(humidity), current_tem

How to change the pixel quality and size of Image using Google Apps Script?

I have a list of image URLs and I want to get all those images which are more than 14Mb in size or 14 Megapixel in quality and resize them to under 5Mb in size

In AppScript, for Workspace Published Add-On Sheet Extensions, how do I switch to Head version and stop Deploying every bug fix?

Each time I fix a bug I have to Deploy and update the Version in theconsole.cloud.google.comI'm 17 Versions in and I don't think this is how it's supposed to wo