array-formulas

Can I merge a multi-dimensional array into a single dimensional array in Google Sheets?

蓝咒 提交于 2021-02-10 20:41:53
问题 I'm looking to combine several columns into one, I do not care about order. For example, I have a column with a collection of tags: | || A | | = || ====================== | | 1 || Tags List | | 2 || Loon, Diver, Gaviform | | 3 || Shoveler, Anseriformes | | 4 || Roc | If I use the formula =ARRAYFORMULA(SPLIT(A2:A)) in B2 , I would get the following output: | || B | C | D | | = || ======== | ============ | ========= | | 1 || | | | | 2 || Loon | Diver | Gaviform | | 3 || Shoveler | Anseriformes

Arrayformula Running Total with multiple columns

一个人想着一个人 提交于 2021-02-10 20:18:29
问题 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

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

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

How to use ARRAYFORMULA to count the nb of word for every row

℡╲_俬逩灬. 提交于 2021-02-10 17:48:05
问题 I'm using google form and after submitting data, I want to count (number of word "OUI" ) for every row. I tried the function: =ArrayFormula(COUNTIF(B$3:D3;"*OUI*")) but it works only for the first row. 回答1: In addition to the solution provided by player0, another way would be to use countif... =ArrayFormula(if(len(A3:A),COUNTIF(if(B3:D="OUI", ROW(A3:A)),ROW(A3:A)),)) 回答2: =ARRAYFORMULA(IF(LEN(A3:A), MMULT(IFERROR(LEN(B3:D)/LEN(B3:D), 0), TRANSPOSE(COLUMN(B3:D3)^0)), )) =ARRAYFORMULA(IF(LEN(A3

How to use ARRAYFORMULA to count the nb of word for every row

蹲街弑〆低调 提交于 2021-02-10 17:47:03
问题 I'm using google form and after submitting data, I want to count (number of word "OUI" ) for every row. I tried the function: =ArrayFormula(COUNTIF(B$3:D3;"*OUI*")) but it works only for the first row. 回答1: In addition to the solution provided by player0, another way would be to use countif... =ArrayFormula(if(len(A3:A),COUNTIF(if(B3:D="OUI", ROW(A3:A)),ROW(A3:A)),)) 回答2: =ARRAYFORMULA(IF(LEN(A3:A), MMULT(IFERROR(LEN(B3:D)/LEN(B3:D), 0), TRANSPOSE(COLUMN(B3:D3)^0)), )) =ARRAYFORMULA(IF(LEN(A3

Split Google Sheets Query results from one row into two

半城伤御伤魂 提交于 2021-02-10 14:30:55
问题 I want to take my QUERY results and move one cell (H [description]) to the following row of each result. I found this answer, which is very close, but the format of the table is different, so I'm not sure how to apply it to my scenario. This is the basic idea: Category | Sub-Category | Item | Description Fruit | Citrus | Orange | It's orange Fruit | Melon | Cantaloupe | Round Into Category | Sub-Category | Item Fruit | Citrus | Orange It's orange Fruit | Melon | Cantaloupe Round 回答1:

Google sheets - join one value to each value in comma separated list and generate a single list of the results

让人想犯罪 __ 提交于 2021-02-10 05:12:42
问题 I have a list like the following in Google Sheets (2 columns) _A_ _B_________________________________ _1_ 932 a@email.com,b@email.com _2_ 343 c@email.com,d@email.com,e@email.com _3_ 198 _4_ 197 f@email.com _5_ 231 g@email.com,h@email.com I want to generate a single list like this... _A_ _B_________ _1_ 932 a@email.com _2_ 932 b@email.com _3_ 343 c@email.com _4_ 343 d@email.com _5_ 343 e@email.com _6_ 197 f@email.com _7_ 231 g@email.com _8_ 231 h@email.com So far, I've managed to make this in