56,201 questions
0
votes
0
answers
6
views
How can you update specific cells in a google sheet from a goole microsite?
I'm trying to create a google site that my team will use as a data dashboard. It's not a colossal database or anything so just using google sheets for storing our data (a number of actions). Due to my ...
1
vote
0
answers
19
views
Google sheets equivalent of Explode in python? [duplicate]
I have a table with one of the columns containing a list of comma delimited values in google sheets. How do I transform each element of a list-like to a row, replicating index values.
Python ...
-1
votes
0
answers
43
views
Excel getting names from biggest values with Regextract
I have a small problem with my Excel project and I can't find way how to make it true.
Current formula:
=INDEX(A2:A51; MATCH(LARGE(Value(Iferror(REGEXEXTRACT(split(C2:C51; "-"); "[0-9]+&...
0
votes
0
answers
25
views
HTML form through Google Sheets automatically getting marked as read by Airmail
I'm not tech-savvy. I followed this tutorial to set up an HTML form through Google Sheets. For some reason, the emails are automatically marked as "read" by Airmail, and I have no idea why. ...
-3
votes
3
answers
98
views
Copy specific fields to another sheet
I would like to do this:
From a Google form, some fields are filled in and then written in a Google sheet (SOURCE)
I attach an image:
I would like that for each new row created in the sheet (Source),...
0
votes
1
answer
46
views
Launching dialog takes atleast 2 to 3 seconds to open. This time varies too. How can we improve this
Launching a dialog in Google Apps Script project takes around 2 to 3 seconds to open. When the project is big, it takes even 6 seconds some times. How can this be optimized.
let html = HtmlService....
0
votes
1
answer
45
views
How to use a query within a query?
As a fitness trainer I have 2 sheets in Google Sheets to track invoiced and consumed training sessions:
Sheet 'CalendarEvents'
source customerId customerName eventType eventName ...
0
votes
2
answers
45
views
Google Sheets Script: getNextDataCell() Not Working
Recently some functions stopped working correctly in Script.
One is range.getNextDataCell(SpreadsheetApp.Direction.UP) - commonly used to find the last Data cell in a column. It appears the '...
-1
votes
1
answer
47
views
Why is oldValue ALWAYS undefined upon entering function onEdit? [closed]
In my script, I want to compare the value that has just been entered into a cell with whatever value was previously in that cell, if any.
Per https://developers.google.com/apps-script/guides/triggers/...
0
votes
1
answer
26
views
Sum value if matching value is not blank in range leaving it blank if empty
So I am trying to get my sheet to not have a bunch of 0s.
Currently I am using =SUMIF('Tracking Sheet'!A:A, A5, 'Tracking Sheet'!M:M)
The sheet is for daily tracking 'Tracking Sheet'!A:A date format ...
0
votes
0
answers
64
views
How to update Google Sheet with python dictionary
I need to update Google Sheet with multiple columns and tabs. I'm using dictionary and need to find columns in Google sheet based on dictionary keys. So based on my keys I'm trying to update the same ...
0
votes
2
answers
67
views
getBorderStyle() to setBorderStyle()
I am trying to use the .getBorderStyle() function from one cell and change the setting for another cell to the same border style. This will not work for me though. When I go to use the border style to ...
1
vote
2
answers
77
views
Map a table, replacing values based on other cell
I would like to map a table replacing some data based on data from another cell..
In my below example I would like to remove data from the "Status" column if the cell to the left on the &...
1
vote
2
answers
95
views
Referencing a cell in a Table in Google sheets
Google sheets have introduced the Tables feature. We can now refer to an entire column using Employees[Name] . Excel had this feature since long. In Excel you can even reference individual cells on a ...
0
votes
2
answers
52
views
Why after adding 30+ codes into App Script all codes in it started to work with bugs
I'm trying to organize my partner management using Google Sheets. I have a main spreadsheet where columns F-I are dynamic, meaning I want data from these columns to be transferred to columns A-D in ...
0
votes
2
answers
56
views
How to use Google People API in Google Apps Script to fetch and add contacts?
Question:
I'm trying to work with Google Contacts using Google Apps Script and the Google People API. Here's what I need help with:
Fetching contacts from Google Contacts using the Google People API.
...
1
vote
1
answer
99
views
Generating date range based on allowed weekdays, repeat times and times of day in Google Sheets
Recently, I’ve been dealing with a lot of medical-related things. To make it more manageable, I decided to create a schedule that I could print out, follow, and update as needed.
Input Data
Time of ...
0
votes
0
answers
52
views
Telegram integration with Google Sheets
First post here, not sure how to format my question, but I am trying to make a Telegram Bot, which takes information from messages posted in my Telegram channel, and then puts them into my Google ...
0
votes
1
answer
55
views
Google Apps Script only works for me [closed]
I've used the following script to automatically sort entries in a Google Sheet but it only works for me. When another user, with whom I've shared the Google Sheet, edits the sheet the sorting is not ...
1
vote
1
answer
58
views
ReferenceError: C is not defined
I built this spreadsheet to manage all my familly's expenses:
https://docs.google.com/spreadsheets/d/1UBGZj1zuZSUzYWH2vpitfLLud32e-efKKVuKQ2UWPrA/edit?usp=sharing
Until a month a go it worked like ...
0
votes
1
answer
59
views
How to sum up multiple VLOOKUP results?
I've got two lists: one with items and one with orders
Item
Price
1
10.10
2
2.02
Order
Item 1
Item 2
...
Item 15
Sum
A
1
10.10
B
1
2
12.12
For each order I want to sum up the prices of the ...
0
votes
2
answers
39
views
Conditional Formatting in Google Sheets with another table INDIRECT
I want to highlight names in A7:A in color on the target sheet if a checkbox is marked in the source table "Data" (TRUE):
Source table "Data":
Column A:A = Checkbox
Column B:B = ...
-1
votes
0
answers
49
views
Google Apps Script Data Manipulation to SpreadSheet Asynchronously [closed]
We are trying to handle (to import data via Plaid API), large amount of data on the spreadsheet (google sheet). The external API needs to be used in the while loop because response needs to be check ...
-2
votes
0
answers
42
views
"Help Needed: Managing Google Workspace Library with User Validation, OAuth Scopes, and Subscription Handling" [closed]
I have a standalone Workspace script project that involves sensitive and restricted scopes, and which I want to share as a library. My goals are to do so while (a) keeping code hidden, and (b) ...
0
votes
0
answers
36
views
Google sheet Java API : How to sort sheet
After adding and updating some data in a Google Sheet, I want to sort the whole sheet by column D.
Yet my code has no effect (nor error message). Sorting via web interface works fine.
Setting a ...
1
vote
1
answer
68
views
Issue with Table Reference Formulas in Google Sheets Breaking Table Structure
I am trying to create an order management table in Google Spreadsheets using a script (Google Apps Script).
When I set a formula containing a table reference (e.g. tableName[columnName]) in the last ...
1
vote
1
answer
57
views
Issue Google Sheets Query: Auto expand rows on protected sheets with QUERY function
If a user only only have edit access to specific cells, the user cannot add rows to the sheet and so the QUERY function cannot auto expand needed rows on ends up with an #REF error.
Output: #REF - ...
0
votes
0
answers
63
views
Google apps script to limit access on edit so that only the owner and the one who edited the cell have access
I tried to make a script that on every edit, if the cell is empty everyone has access to edit it. If someone edits it, only that person and the owner can edit it. I have to mention that every user is ...
1
vote
1
answer
33
views
Custom Menu Not Displaying in Google Sheets Add-on After Deployment
The problem:
I am developing a Google Sheets add-on using Google Apps Script. The goal is to create a custom menu in Google Sheets that allows users to apply specific formatting options. The add-on ...
1
vote
2
answers
49
views
How to use SpreadsheetApp.Spreadsheet.getChanges method?
I'm trying to use this method in google apps script in the function that is triggered with OnChange event.
function sendResultsEmail(e) {
const content = e.source.getChanges.toString();
console....
0
votes
1
answer
63
views
Google Sheet Script Not Sending Email in Form Order & Bolding Text
I have a Google Form that is linked to a Sheet. I need an email sent with the form answers immediately after submittal of the form. I have a script that does that, but it does not send the questions/...
-4
votes
0
answers
44
views
Track data by dropdown list
I run a restaurant and have created sheets to track server and bartender sales/tipshare etc.
I cannot just keep all employees on the same row. As sometimes an employee will be a server, bartender, or ...
-5
votes
0
answers
62
views
CORS Issue with Google Apps Script and Chrome Extension: "Response to preflight request doesn't pass access control check" [duplicate]
I'm developing a Chrome extension that sends a POST request to a Google Apps Script web app. However, I'm encountering the following CORS error in the browser:
Access to fetch at 'https://script....
2
votes
1
answer
73
views
Why do I get the error SPLIT parameter 1 empty error when it isn't?
I'm using the formula below to divide numbers in the format (EX:2/4/6/8) from column E by the number in column D (EX: 2) and provide output in the same format from column E (1/2/3/4).
=ARRAYFORMULA(IF(...
-2
votes
0
answers
47
views
Google Sheets Formula [closed]
I am a vineyard manager and am trying to use google sheets to track my fields. Here is the example:
Row
1 o o o o o o o
2 o x o o o o o
3 o o o o o o o
4 o ...
0
votes
1
answer
55
views
Filter data using multiple sets of checkboxes to determine the criteria
I am trying filter data using multiple sets of checkboxes to determine the criteria.
Here is the spreadsheet I am working on. Here are some notes about each sheet:
Dashboard: I have four sets of ...
-3
votes
1
answer
102
views
app script code running slowly: google slides
Please Help
my app script code takes too long to run. the script is meant to locate data from a spreadsheet then get images from another sheet and insert them into a google slide. the images take way ...
-1
votes
1
answer
71
views
script that hides/unhides columns, sometimes works/sometimes doesn't [closed]
This script sometimes works and sometimes doesn't.
Majority of the time it does, but any ideas as to why it shouldn't?
If it doesn't work, running the script a second time works.
function toggleB10() {...
1
vote
1
answer
64
views
Google Sheets script to delete week-old rows across all tabs
I am a new to this stuff and have been working to solve a problem I was hoping someone could help me with.
I am looking to automatically delete rows in Column A of all sheets except one ['Top Level ...
0
votes
0
answers
31
views
Google RE2 escape [duplicate]
I am trying in Google Sheet to
to extract the link only from following cell content:
href="/england/nekko-ltd">
I use =REGEXEXTRACT(B4, "href=\"([^"])\"") -- This ...
0
votes
0
answers
40
views
Parse, transpose and insert a new row [duplicate]
I have a large spreadsheet and need to parse, transpose and insert the parsed values into a new row.
My sample data:
What I need to do is format the sheet to read as below:
I tried
TOCOL(A2:(...
0
votes
1
answer
61
views
How can we sort multiple values horizontally using VLOOKUP?
We send inspectors to stores once or maximum twice a month and we have a store scoring system.
Audit information is written on the home page, including the date on which the auditor went and where the ...
-1
votes
1
answer
74
views
Python Web Scraping Selenium+BeautifulSoup with gspread and Google Sheets problem with big amounts of data
I am making a web scraper that scrapes all of the data from this page with around 1500 products.
I am extracting the name of the item, if it is a best seller, what kind of type of clothing it is, how ...
-1
votes
1
answer
66
views
Recombining 4 pairs of numbers
I have a question for a personal project of mine, that has stumped me.
The goal is to generate all legal combinations of a set of 8 numbers, that split into 4 pairs. For a combination to be considered ...
-2
votes
1
answer
80
views
Find Text and copy another cells
I have a Google Sheet where all the users who play the wheel of fortune are copied.
In column E, for example, these values are copied from the database:
a:1:{i:0;s:12:"Half Price";}
I ...
1
vote
1
answer
55
views
Is there a faster way to sort sheets with AppScripts?
My current code is below. Is there some other way of doing this that might be quicker?
var tabs = ["A","B","C","D","E","F","G",&...
-5
votes
2
answers
68
views
COUNTIFS WITHIN DATE RANGE GOOGLE SHEET
I need to get the count of my NOTICE SENT weekly. I have updated as of date to identify the week I need in the report.
FORMULA:
=COUNTIFS($B$3:$B$8,$F$2,$C$3:$C$8,$F3,$D$3:$D$8,">="&$...
0
votes
0
answers
58
views
Unable to Deploy Google Apps Script – (Error: 'Something went wrong. Please reload the page to try again.')
I am facing an issue with deploying my Google Apps Script project. I have been granted full permissions, including the Editor and Owner roles, but I still cannot deploy the script. The error message I ...
1
vote
1
answer
52
views
How to get my localhost application to run with UrlFetchApp.fetch in Google Apps Script
I'm trying to create an add-on for my application on Google Sheet. My application is still in development on localhost. I forwarded the url localhost:3001 with ngrok and get the application running in ...
0
votes
3
answers
109
views
conditional formatting on a single cell where criteria is another column [solved]
Cell A1 contains the text "FLAG".
Column B contains dates.
I want to apply conditional formatting to cell A1 if any date in column B is less than 2 days from today(), and if the date is past ...