google-sheets

How to see the +/- change in rolling average between two cells

自作多情 提交于 2021-02-10 20:18:27
问题 As you can see from my picture, I have a list of bowling scores and some running averages. The issue I cannot seem to solve is I would like to be able to see the change in average between a game and the previous game. If the average goes down, it would say -1.2% for example or +2.1% if it goes up. I would really like negative averages to be in red and positive ones in green if that is possible. Here is a copy of my sheet with the desired output in column G. 回答1: first you will need running

Arrayformula Running Total with multiple columns

亡梦爱人 提交于 2021-02-10 20:16:34
问题 I've got the following task to solve, but I can't wrap my head around it. There are a couple of numbers for different years. I would like to have a running total sum of all columns (= range C:I) in column J. I can do that with a formula in every cell of J - however I need to achieve it with a single arrayformula in J2. What i figured after a lot of research are 2 steps: replace empty cells with 0s, since arrayformulas obviously have some problems with empty cells make a sum of each row For

Arrayformula Running Total with multiple columns

南笙酒味 提交于 2021-02-10 20:15:08
问题 I've got the following task to solve, but I can't wrap my head around it. There are a couple of numbers for different years. I would like to have a running total sum of all columns (= range C:I) in column J. I can do that with a formula in every cell of J - however I need to achieve it with a single arrayformula in J2. What i figured after a lot of research are 2 steps: replace empty cells with 0s, since arrayformulas obviously have some problems with empty cells make a sum of each row For

Using query, Import Range and named range to either label the named range or ignore the header

ⅰ亾dé卋堺 提交于 2021-02-10 19:27:55
问题 Context So I am trying to put together some data to run a machine learning model. I need all the data in one google sheet. But I am importing the data from a different spreadsheet saved elsewhere. This is my current formula =QUERY(IMPORTRANGE("link", "AvevaReturns")) Screen reader support enabled. It returns the spreadsheet but with the column label which is located in row 3 (two rows above it are blank). I have tried this, this and this to no avail. Problem I don't want the header included.

Using query, Import Range and named range to either label the named range or ignore the header

假装没事ソ 提交于 2021-02-10 19:26:29
问题 Context So I am trying to put together some data to run a machine learning model. I need all the data in one google sheet. But I am importing the data from a different spreadsheet saved elsewhere. This is my current formula =QUERY(IMPORTRANGE("link", "AvevaReturns")) Screen reader support enabled. It returns the spreadsheet but with the column label which is located in row 3 (two rows above it are blank). I have tried this, this and this to no avail. Problem I don't want the header included.

Google Sheets/Excel: IMAGE() formula into plain URL

我的未来我决定 提交于 2021-02-10 18:40:40
问题 I am converting a Google Sheets file into a CSV format. Some cells have an image inserted into them via =IMAGE("https://placekitten.com/200/300") I need to be able to extract in plain text https://placekitten.com/200/300 Is this possible? I've tried SUBSTITUTE but of course that doesn't work. Thanks to whoever can solve this! 回答1: try: =REGEXEXTRACT(FORMULATEXT(A2); """(.*)""") 回答2: I thought that explaining @player0’s answer would be nice, especially for future people. His answer can be

Google Sheets/Excel: IMAGE() formula into plain URL

二次信任 提交于 2021-02-10 18:39:55
问题 I am converting a Google Sheets file into a CSV format. Some cells have an image inserted into them via =IMAGE("https://placekitten.com/200/300") I need to be able to extract in plain text https://placekitten.com/200/300 Is this possible? I've tried SUBSTITUTE but of course that doesn't work. Thanks to whoever can solve this! 回答1: try: =REGEXEXTRACT(FORMULATEXT(A2); """(.*)""") 回答2: I thought that explaining @player0’s answer would be nice, especially for future people. His answer can be

MailApp.sendEmail not working with onEdit function (Google Sheets Script Editor)

江枫思渺然 提交于 2021-02-10 18:37:01
问题 I'm trying to create pop-up and email notifications for when certain daily limits are exceeded on edit of the spreadsheet. When the values relating to today's date exceed the limits and I run the script, both the pop-up and email notifications are sent. But when using the onEdit function, i.e editing the column defined in the edit range.. only pop-up notifications are raised and no emails are sent. Does anyone know why the onEdit function would work for SpreadsheetApp.getUi().alert but not

Regematch if, and, and date combined forumula

醉酒当歌 提交于 2021-02-10 18:24:50
问题 I need help trying to figure out a combination google sheets formula If Cell B5 contains "Rct" And today's date is 30 days after the date defined in cell C5 And if Cell D5 and D6 both says "2 weeks ago" or "1 week ago" or contains the words "day" "hour" or "minute" (not sure if possible but instead of the all those words could if be if the text in cell D5 and D6 are the color "green" and or "Yellow") Then Cell H5 will say "Y" if the above conditions are met or "N" if they aren't The following

Writing a setFormula() with a query formula

↘锁芯ラ 提交于 2021-02-10 18:20:47
问题 Good evening, I have a formula in a cell: =query(IMPORTRANGE("1O9JBXnSpnigfVpMqNHq6nHcaHb7VwdroDgzDqfnD8iM";"'Tableau detail'!$b$3:$c");"select Col2 where (Col1='"&'Feuille 1'!$E$12&"')") I would like to integrate it into a script with setformula (). I tried with this writing: formuleNombre.setFormula('=query(IMPORTRANGE("1O9JBXnSpnigfVpMqNHq6nHcaHb7VwdroDgzDqfnD8iM";"'Tableau detail'!$b$3:$c");"select Col2 where (Col1='"&'Feuille 1'!$E$12&"')")'); but it does not work :( I've this error :