google-sheets-formula

Using IMPORTRANGE as an array formula

时光毁灭记忆、已成空白 提交于 2021-02-18 17:51:07
问题 I have a URL in one cell which is the criterion for the IMPORTRANGE. e.g.: =IMPORTRANGE(B2,"sheet1!$A$1") I found a formula to collect it as criterion, but not in array version. A sample can be found here. 回答1: I see you have column B filled with Spreadsheet Ids, and you are trying to execute =ArrayFormula(IMPORTRANGE(B2:B,"sheet1!$A$1")) Not every spreadsheet function supports arrays as argument. In particular, importrange does not. You need separate importrange formulas for separate

Using IMPORTRANGE as an array formula

陌路散爱 提交于 2021-02-18 17:50:09
问题 I have a URL in one cell which is the criterion for the IMPORTRANGE. e.g.: =IMPORTRANGE(B2,"sheet1!$A$1") I found a formula to collect it as criterion, but not in array version. A sample can be found here. 回答1: I see you have column B filled with Spreadsheet Ids, and you are trying to execute =ArrayFormula(IMPORTRANGE(B2:B,"sheet1!$A$1")) Not every spreadsheet function supports arrays as argument. In particular, importrange does not. You need separate importrange formulas for separate

Combining multiple spreadsheets in one using IMPORTRANGE

孤街醉人 提交于 2021-02-17 19:42:30
问题 I would like to aggregate the data of multiple spreadsheets into one spreadsheet. Spreadsheet 1 has a Row of Strings A2:A500 Spreadsheet 2 has a Row of Strings A2:A500 Spreadsheet 3 is supposed to have a Row of both (Spreadsheet1!A2:A500 AND Spreadsheet2!A2:A500). Duplicates shall not be handled differently. I would like them to appear as often as they appear in the different sheets. Is it possible to do this without writing a script or using jQuery, e.g. by using IMPORTRANGE? What does not

Combining multiple spreadsheets in one using IMPORTRANGE

廉价感情. 提交于 2021-02-17 19:42:23
问题 I would like to aggregate the data of multiple spreadsheets into one spreadsheet. Spreadsheet 1 has a Row of Strings A2:A500 Spreadsheet 2 has a Row of Strings A2:A500 Spreadsheet 3 is supposed to have a Row of both (Spreadsheet1!A2:A500 AND Spreadsheet2!A2:A500). Duplicates shall not be handled differently. I would like them to appear as often as they appear in the different sheets. Is it possible to do this without writing a script or using jQuery, e.g. by using IMPORTRANGE? What does not

Readjust four column values by ignoring blank cells (Google Sheets)

断了今生、忘了曾经 提交于 2021-02-17 05:43:22
问题 I have this values: And I would like the formula to ignore blank cells , with the final result in the following sequence: I tried to use the QUERY + TRANSPOSE , but I couldn't adjust it as I need it, I failed to try to include IF to remove the blank cells with IF(A1:D="" and continue QUERY , but it also failed. Failed test: =ArrayFormula(query(trim(split(transpose(query(transpose(A1:D),,999^99))," ",true,true)), "where Col1 <> '' ")) 回答1: How about this modified formula? Modified formula:

Concatenate incrementing row number with string in Google Sheets Arrayformula

大兔子大兔子 提交于 2021-02-17 04:46:53
问题 I'm trying to get a column to automatically fill up with incrementing strings depending on the row number in an ARRAYFORMULA in Google sheets. I can easily get a column to show a shifted row number by putting =ARRAYFORMULA(ROW(A:A)-1) in the top cell. However trying to use this ROW call inside CONCATENATE does not give me the result I want, I've tried with and without TO_TEXT . In the image the formula used for the different columns are: A1: =ARRAYFORMULA(ROW(A:A)-1) B1: =ARRAYFORMULA(IF(ROW

Splitting a cell containing a list of text values into other cells, depending on the values in the list

安稳与你 提交于 2021-02-16 15:33:12
问题 I'm wondering whether it's possible to split a cell that contains a comma-separated list into various columns, based on a reference table that is editable, using only Google Sheets formulae and not resorting to Apps Script. I have created a simplified version to better explain what I'm trying to achieve. I am presented with a table like this: In A2 there is a list of colour names, and I would like them to be sorted into the correct columns in new, smaller lists. The ideal solution would look

Google Sheets - Run script with Sheet Protection

陌路散爱 提交于 2021-02-13 17:31:35
问题 I'm having an issue with my google sheet. Everything works fine on the owner view, but when I tried to share it to an editor, some function didn't go as I planned. As an owner, I use the protected sheets and ranges function. So, I used the protect sheet, then the except certain cells function so that editors can edit within that range. I put a two buttons to hide (for the rows that is empty) and show rows. The script is working fine since it worked on the owner view, but when I opened it to

Google Sheets Function to Actively Check Cell

心已入冬 提交于 2021-02-11 16:49:23
问题 I've a function I'm using that checks the cell of the color and returns Yes/No in another column. However, after applying the function, and then changing the color of the cell afterwards the function isn't applied anymore. For example the function is applied and returns "Yes", then if I change the color of the cell to white it doesn't return to "No". Is it possible to have the function to actively check the cell, or I just need to reapply the function each time the color of the cell changes?

Google Sheets Function to Actively Check Cell

爷,独闯天下 提交于 2021-02-11 16:48:37
问题 I've a function I'm using that checks the cell of the color and returns Yes/No in another column. However, after applying the function, and then changing the color of the cell afterwards the function isn't applied anymore. For example the function is applied and returns "Yes", then if I change the color of the cell to white it doesn't return to "No". Is it possible to have the function to actively check the cell, or I just need to reapply the function each time the color of the cell changes?