google-sheets-formula

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

how to make a custom function NOT recalculate in Google Sheet

最后都变了- 提交于 2021-02-10 15:43:45
问题 I find that each time i log in. The heavy functions I have do recalculate. IN particular it is functions including UrlFetch that recalculate and make 100s of calls to the url when I log in. I would rather just rely on the data I drew last time. Is there a way to block (haphazard) recalculation? 回答1: Thanks for Ruben's help: Function recalculation cannot be disabled. the workarounds are (1.) to make a "switch" input to the function, which while in "don't update state" would make the function

Specify the table to import via IMPORTHTML/IMPORTXML according to its title name

与世无争的帅哥 提交于 2021-02-10 14:35:22
问题 The tables change position and I need to specify which one to import according to their title, for example, the table below has the title Over/Under 2.5 soccer predictions Site : https://www.soccerstats247.com/predictions/brazil/serie-a/ Unsuccessful attempts : 1 - I tried to use IMPORTXML by specifying the table id, but the import results in all the data in one column, it does not import as a table: =IMPORTXML("https://www.soccerstats247.com/predictions/brazil/serie-a/", "//table[@id=

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

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:32
问题 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

Is there any Excel Formula for comparing 2 columns for containing data and counting their occurrence?

时间秒杀一切 提交于 2021-02-08 11:16:53
问题 Hello everybody . I ran into some problems when comparing data in columns in Excel / G-Sheets . I tried to compare 2 columns with company names using the standard formula " =countif (A:A, B2) ", where column "A" containing the names of the companies I am looking for (acceptable) and column "B" containing the names of companies that should match with company names in column "A" . For example , in column "A" there is a cell with the name of the company "Apple" , and if in column "B" there is no

Is there any Excel Formula for comparing 2 columns for containing data and counting their occurrence?

北城以北 提交于 2021-02-08 11:16:24
问题 Hello everybody . I ran into some problems when comparing data in columns in Excel / G-Sheets . I tried to compare 2 columns with company names using the standard formula " =countif (A:A, B2) ", where column "A" containing the names of the companies I am looking for (acceptable) and column "B" containing the names of companies that should match with company names in column "A" . For example , in column "A" there is a cell with the name of the company "Apple" , and if in column "B" there is no

How to select a named range in Google Sheets' query?

北战南征 提交于 2021-02-08 06:49:56
问题 I'm trying to set up a query using named ranges, is it possible to select a named range within a query? I've tried the following: =QUERY(NamedRange, "select '"&NamedRange2&"' where '"&NamedRange3&"' contains '"&B2&"' ") I want to be able to use named ranges instead of having to use select A where... or select col1 where... since the spreadsheet is constantly going through revisions where columns change so I want to keep the query dynamic so it doesn't constantly need updating. 回答1: partially.