Questions tagged [google-sheets]

Do NOT share spreadsheets/images as the only source of data. Use markdown TEXT tables instead. Use this tag for questions about programmatically interacting with Google Sheets. Use with: [google-apps-script] for questions relating to the built-in scripting language, [google-sheets-formula] for questions relating to formula design or [google-sheets-api] and a language tag (eg:[python]) for questions relating to sheets API usage. Do NOT use with [excel].

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Can't log richtext string of a cell because of data validation?

My cell F394 looks like this: 08/10/2023 And there is a link attached to it (not as hyperlink, but as RichText). Data validation is active and allows for short date only in exactly this format (dd/mm/...
LionelHutz's user avatar
0 votes
0 answers
4 views

Find value over multiple columns and rows and be given the cell address

I’ve got a sheets with multiple data (date, no. ID, type, and %) over different columns and rows from a1 to yt:100. On another sheet, I’ve managed to list on a single column all the no. Ids and now I ...
Matteo Ciccone's user avatar
0 votes
0 answers
11 views

OnEdit on a specific Column to then trigger SendMail

I'm making a stock management system with Sheets. I want it to notify by way of email, when an entry in Column D changes. (Column D is a boolean determining if we will order equipment or not and has ...
KwasKwas's user avatar
0 votes
1 answer
10 views

Use Apps script to transform data in Google Sheets

I have the table below on google sheets tab 1 called ‘Input’. Input table Area Division Name Dial Email Cell 01 Bike Jason Todd 01234567894 [email protected] 01234567894 10,12,14 Assistant - Car ...
Petey2005's user avatar
0 votes
1 answer
9 views

Script for adding date when data is entered into specific columns?

Total n00b here. I'm trying to make my google sheet automatically add dates when dat gets entered into specific columns. I've found the script below that'll let me check 1 column but is there a way to ...
G.P. Roberts's user avatar
0 votes
2 answers
21 views

Enumerate different elements of a column

I'm struggling to elaborate an Arrayformula to enumerate the different elements of a column, I have five different type of jobs and I have each job numerated independently. I've prepared a Spreadsheet ...
alsanmph's user avatar
0 votes
0 answers
14 views

Dragging diagonally in Google Sheets returns an unwanted result

I'm making a weekly calendar on Google Sheets. I've prepared the first week and I wanted to select and drag it down to generate automatically the next weeks but the values I get are not what I want. ...
Andrea Roncella's user avatar
0 votes
0 answers
16 views

Nesting If statements for referenced values based on drop-down values in Google Sheets

I am trying to set up an automated value sheet for my TCG collection. I have each ungraded price referenced using value functions tied to html tables in other sheets. I then had the thought that I ...
herr-erob's user avatar
0 votes
0 answers
25 views

Trigger doesn't trigger when the form is sent to the spreadsheet

I've been trying to create a trigger for getLastFormAddition(), but it doesn't trigger when the response arrives, I do have a trigger which is triggered when the form is sent: function ...
koogel's user avatar
  • 1
-1 votes
0 answers
24 views

Google Script Error: The parameters (number,number[]) don't match the method signature for DocumentApp.Body.insertTable

I am having this problem. So I have a code like this: I do not know where it is incorrect. Much appreciated for any expert's advice. Thanks. function Inserttable() { //insert table 3 let sheet3 = ...
Trng L Thanh's user avatar
1 vote
0 answers
18 views

When importing files using google cloud; the output gives me a TransportError and also an "RefreshError". Can someone help me out please

So when using pd.read_csv i get a long output and the error says "RefreshError: Failed to retrieve http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/?recursive=...
Otto MAn's user avatar
0 votes
0 answers
24 views

Coping formula downward but changing reference to column as oppose to row

I've googled and found references to arrayformulas, offsets, and transposes. It looks like transpose just flips an existing range or data? Arrayformulas was beyond my comprehension. I tried offset, ...
LaravelNewbie's user avatar
-3 votes
1 answer
36 views

How Can I Publish a Google Sheets Template and Google Apps Script as a Project for Download?

I've created a Google Sheets template that I think could be useful for many people, and I'd like to share it with the community. The template includes Google Apps Script functions that are mapped to ...
Ky James's user avatar
-1 votes
0 answers
34 views

Filter Google Sheets - Being offset and then not taking last condition

*I am trying to create a filter for an attendance sheet. I previously created one last year but it involved using 25 different Google Forms. This year I am trying to do the same but only using one ...
Shea Murphy's user avatar
-1 votes
2 answers
123 views

SUM Using Multiple Criteria to Determine What is Counted & How [Part 2]

I'm looking to add the numbers from multiple columns in a row to come up with some totals but which columns are counted and how they are used needs to be based on multiple criteria. The descriptions ...
Computer Candy's user avatar
-1 votes
1 answer
30 views

why is this code not getting the values from the cells i want it to?

I'm trying to get some values from a google spreadsheet and overwrite them into a googles docs template to create custom files, but i think there's a problem with the method .getcurrentcell instead of ...
Juan Manuel Betancourt's user avatar
-4 votes
0 answers
20 views

Is there a way to print the result of a function into another cell as plain text?

I'm making a spreadsheet to parse the LINEST function as the data it spits out is difficult to process manually as a block of numbers. I'm trying to set it up in a way that you can copy and paste the ...
Felix's user avatar
  • 1
0 votes
1 answer
57 views

How to get a value inside a cell from a changing cell address

Let's say I have Column A that has a bunch of numbers. In B1 we have "=A1" How can I get B2 to be ="B1"+6 so that B2 will have the value of A7 and B3 will have B2+6 so that it will ...
Perito's user avatar
  • 1
0 votes
1 answer
18 views

How can I get a cell to return the most common value of 3 other cells that are all text based values, not numerical?

Cells A2, B2, & C2 all show answers to a specific question. I need E2 to produce the most common value from the results in A2:C2. Eg. A2 contains "Orange," B2 contains "Purple,"...
J Mikkelsen's user avatar
0 votes
0 answers
28 views

Linked Chart Populated by =NOW() Not Updating

I have a slideshow on Google Slides running as our cafeteria slideshow. Recently, I got a Weather API to work and regularly update, using a linked chart. The chart and slide now updates automatically. ...
Jerry Wells's user avatar
0 votes
1 answer
56 views

I want to create a excel formula for comparison of data between 2 sheets and return back in colour codes

I have 2 excel documents. Document1 is a master data and Document2 is the data I extracted from SAP. I want to compare document2 data to document1 data with multiple sheets(Sheet1,Shee2,Sheet3). So ...
Pavan Alur's user avatar
-2 votes
0 answers
47 views

How to add a Many To Many Relationship in Google Sheet?

I have 3 tables with a Many to Many relation in Google Sheets: Table A: IdA ValueA 1 A 2 B 3 C Table B: IdB ValueB 1 X 2 Y 3 Z Table A/B: ...
PowerNow's user avatar
  • 359
0 votes
2 answers
32 views

In Apps Script, why does 1/1/2023 gets reset as 12/31/2022 whenever I try to do math using Date()?

Background: I am pretty new to apps script, i have some beginner knowledge in other languages. I am trying to do some dates math, this happens in a loop when a user enters two dates (from and to) in ...
newbie_in_python's user avatar
1 vote
2 answers
36 views

Find the last column that contains given content

I want to know what the column letter (or index) of the last column with a given value is. What formula can I use in Google Sheets to achieve this. For example: Using this data. ID 0 1 2 Values A B ...
kiml42's user avatar
  • 660
-1 votes
0 answers
31 views

On Google Sheets how do I merge rows from 2 tabs that have similar information ensuring that same Rows combined different data from different columns

I want to search to be based on one of the columns in order to determine which rows are the same and then combine the data of all their columns together into the one row. If the cells being merged ...
Andy - Unique Team Building's user avatar
0 votes
2 answers
113 views

SUM Using Multiple Criteria to Determine What is Counted & How [Part 1]

I'm looking to add the numbers from multiple columns in a row to come up with some totals but which columns are counted and how they are used needs to be based on multiple criteria. The descriptions ...
Computer Candy's user avatar
1 vote
1 answer
23 views

Unable to add downloaded images to google slides

I am trying to create a script that reads 2 columns from a google sheets tab, one column containing image links that are on my google drive, and another column containing boolean values to decide ...
Elie Hatem's user avatar
0 votes
1 answer
62 views

AppScript for Google sheets to FILTER dropdown lists

I'm creating a spreadsheet in Google Sheets to work as an App to introduce some data in a database. I have a problem creating a dropdown which list changes dynamically. I'll try to explain it and here'...
ragnor's user avatar
  • 11
1 vote
2 answers
46 views

How to get a Google Sheet script to skip empty rows?

I am new to using App Script. I have a script from https://gist.github.com/palumbo/d751841c3e61764f058fb60253bc47fe that downloads images from URLS on the Google sheet to Google Drive. My source sheet ...
user22635203's user avatar
0 votes
3 answers
87 views

How many top customers contribute to 80% of revenue?

I am trying to figure out if there is a formula that can help me calculate "How many top customers contribute to 80% of revenue?". I have a spreadsheet with Column A for the account names ...
Jonathan Poon's user avatar
0 votes
3 answers
89 views

SUMIF with VLOOKUP condition

I'm trying to get a SUM of values where the NAME belongs to a specific COMPANY like Microsoft as shown in the example image below. Both Marc and Christian are from Microsoft and the sum of their ...
floretti's user avatar
0 votes
2 answers
31 views

If value is between ranges then answer is a specific number

I have a time sheet with start time, end time, and duration. The fee is based off the duration. ie. 0-60min equals $100 61-75min equals $125 76-90min equals $150 I'm trying to figure out a way for it ...
KCP's user avatar
  • 5
-1 votes
0 answers
26 views

How to import data from Google Doc into a Google Sheet Using Google Apps Script?

I'm very new to Google Apps scripting and wondered if it is possible to pull data from a Google Doc into a Google Sheet? As an experiment, I asked ChatGPT to write a script for this, and I gave it my ...
user22634389's user avatar
0 votes
0 answers
41 views

How to find the number of products sold on the same date they were created

I have two Google Sheets that auto update each week. One sheet contains Product IDs and their creation dates. The other sheet contains Product IDs and their sale dates. Examples: Sheet One Product ID ...
Giancarlo Ospina's user avatar
0 votes
2 answers
31 views

Problem with onEdit Google Sheets / AppsScript

Hope you are doing well! I want to make the function I created, 'webScraping11,' run onEdit when columns AG, AS, or AU are modified but only in a specific row. For example, when we modify row 11, ...
Franco Vera's user avatar
-1 votes
1 answer
38 views

Insert a table from a sheet tab to middle of a doc template

I want to add a table from a Google sheet, Tab "LG001 - Table 1" to a replacement tag of "Table 1" in a doc Template. PS: Thanks so much for your help, I realize there might be ...
Trng L Thanh's user avatar
0 votes
1 answer
19 views

Error Message when using Query(import in Google Sheets

I am using this very long formula and I keep getting In ARRAY_LITERAL, an Array Literal was missing values for one or more rows message. I have used this formula before with just a few tweeks on this ...
Moni's user avatar
  • 1
0 votes
3 answers
22 views

Apps Script Automatic timestamp when a tab gets updated

So I'm trying to create a script that can apply to several tabs in my spreadsheet file and will automatically update the timestamp in each individual tab when something in that tab is updated/changed. ...
marybr555's user avatar
0 votes
1 answer
27 views

Filter Formula in Google Sheet

I am using the below filter formula to filter by conditions. But if cell A7 is blank I want to ignore the second condition which is Database!D3:D=A7. =FILTER({'Database'!C3:F},'Database'!A3:A=R7,'...
Octavia's user avatar
-2 votes
0 answers
28 views

Can we use Indirect function with countif and arrayformula?

so I am trying to count the numbers that ends with a star(*) in a sheet. In this tab I have different tables and I want to calculate the number of cells with stars in another tab. The only problem is ...
Sarah Usman's user avatar
0 votes
2 answers
23 views

How to use a difference cell's value in 'data' field of Sheets QUERY

I am trying to write a formula that will run a query on a sheet whose name is the value of a different cell. I have this, and have tried many iterations of brackets and single/double speech marks. =...
Charlie King's user avatar
0 votes
1 answer
24 views

How to get data from sheet one and paste the values underneath a dataset [duplicate]

Im trying to copy values from 'Source' and set them in the lowest blank row in 'Dataset'. The issue is that the script is literally copying everything, while it should only set the Values without ...
Jago Verzuu's user avatar
-1 votes
1 answer
22 views

How do I import the data on this Website using Importxml on Google Sheets?

I'm currently trying to import via importxml on GoogleSheets the entire Table on a website but it dosen't return the data. The formula I'm using is =IMPORTXML("https://dinem.magyp.gob.ar/...
OliverKeh feco's user avatar
0 votes
0 answers
46 views

Poisson for goal difference in Google Sheets [closed]

It is clear how to find the Poisson distribution for the score difference, having data on the goals of each team (reference of needed probabilities is in cells H14:I21 on sheet 2). But how to get the ...
TheGunner4's user avatar
-1 votes
1 answer
96 views

Get cell name that contains a specific text in google Sheets macro [closed]

I'm working on a small project for myself in Google Sheets. I need to get a cell name (ex. "A2") by searching for a word in a specified row (ex. search for a specific date in row 3). After ...
Andrea Roncella's user avatar
1 vote
1 answer
37 views

Inserting images into a Google Sheet using Google Apps Script

I've been having issues with inserting images from Google Drive into a Google sheet using google scripts. Sometimes it works perfectly but sometimes it throughs error - Exception: The blob was too ...
Aman's user avatar
  • 11
-1 votes
0 answers
25 views

I want this script to protect the last row only if it is not protected

I have this script, which protects the last row of the sheet every 5 minutes. This code is repeatedly protecting the last row again and again on every trigger. I want this code to protect only if the ...
Jasjit Singh's user avatar
0 votes
1 answer
28 views

How to copy filtered rows from one spreadsheet to another, including formatting

I need to copy SOME rows from one spreadsheet to another, preserving all their formatting, Most importantly background color. To extract the relevant rows the source data is passed through a filter. ...
Henry's user avatar
  • 1,394
0 votes
1 answer
25 views

Grouping Preferences by email in Google Sheets

Can you help me with below using Google Sheets to transform the Google Form data below to have a list of activities with a list of potential attendees? Context: I am arranging a set of activities for ...
UKDataGeek's user avatar
  • 6,378
0 votes
0 answers
21 views

Clear Cell if S4 Cloumn cell value is Blank by formula then T4 column cell Value Clear or value remove [closed]

Guys sorry that my English can't explain properly, in the S column cell S4 contains the Text RUN (by if formula) then no actions in T4, But If S4 is Blank (by if formula) then the T4 column will clear ...
Sanjay Devani's user avatar

1
2 3 4 5
1059