array-formulas

Convert an Array Formula's Text Results into a Usable Format

独自空忆成欢 提交于 2019-11-27 16:02:09
When the results of an Array Formula are numbers, I find it generally easy to find an appropriate method to collapse the array into a single result. However when the results of an Array Formula are text, I find it difficult to manipulate the formula in a way which provides a single desired result. In short, is there a method of manipulating an Array of text results which I have overlooked? See the bottom of this question for the final desired formula which doesn't work, and request for solutions. *Edit - after reading through this again, I can alternately summarize my question as: is there a

Make Google Spreadsheet Formula Repeat Infinitely

流过昼夜 提交于 2019-11-27 11:03:56
问题 Okay so I have a Google Form that dumps info into a spreadsheet. On each line I need to have a simple calculation done. The problem is I can't figure out how to get it to repeat a formula on every new line as new lines are added. Yes I know how to use the fill handle to copy formulas down and what not, but I want it to automatically add the formula instead of me manually copying it. For example this is being used to track time so there is a cell for In Time and a cell for Out Time on each row

Search a value from another tab/sheet in google sheets based on cell reference

余生长醉 提交于 2019-11-27 08:30:39
问题 I'm trying to create a search page in google sheets where the user enters a value in one cell(s) and then other cells auto-populate with values from another tab/sheet based on the value entered in the search cell(s). I'm trying to use VLOOKUP up in an array but it gives either error or N/A . I have 'sheet1' with data from a google forms (columns from A to BN) and I'm trying to make a search page in 'Sheet2' where on top the user can write for example the ID-number, and I want to grab the

Doing an array formula lookup

﹥>﹥吖頭↗ 提交于 2019-11-27 07:31:41
问题 I have a list of data like this: Name | Number Bob | 300 Joe | 200 Jane | 400 Sisqo | 450 Jill | 500 There's about 62 rows of this, all numbers which can be different, some repeated. My goal is to basically add a column which contains all the list of people who are at 400 or above. So that it looks like this: Name Jane Sisqo Jill What I have is: {=iferror(INDEX($A$2:$B$6, SMALL(IF($B$2:$B$6 >= 400, $B$2:$B$6,), ROW(1:1)), 1), "")} What I imagine this is doing: 1) The small function is looking

Selecting the last value of a column

牧云@^-^@ 提交于 2019-11-27 03:59:34
问题 I have a spreadsheet with some values in column G. Some cells are empty in between, and I need to get the last value from that column into another cell. Something like: =LAST(G2:G9999) except that LAST isn't a function. 回答1: So this solution takes a string as its parameter. It finds how many rows are in the sheet. It gets all the values in the column specified. It loops through the values from the end to the beginning until it finds a value that is not an empty string. Finally it retunrs the

Counting number of occurrences in column?

断了今生、忘了曾经 提交于 2019-11-26 18:58:19
问题 What would be a good approach to calculate the number of occurrences in a spreadsheet column? Can this be done with a single array formula ? Example (column A is input , columns B and C are to be auto-generated ): | A | B | C | +-------+-------+-------+ | Name | Name | Count | +-------+-------+-------+ | Joe | Joe | 2 | | Lisa | Lisa | 3 | | Jenny | Jenny | 2 | | Lisa | | | | Lisa | | | | Joe | | | | Jenny | | | 回答1: Try: =ArrayFormula(QUERY(A:A&{"",""};"select Col1, count(Col2) where Col1 !=

Convert an Array Formula's Text Results into a Usable Format

烈酒焚心 提交于 2019-11-26 18:34:01
问题 When the results of an Array Formula are numbers, I find it generally easy to find an appropriate method to collapse the array into a single result. However when the results of an Array Formula are text, I find it difficult to manipulate the formula in a way which provides a single desired result. In short, is there a method of manipulating an Array of text results which I have overlooked? See the bottom of this question for the final desired formula which doesn't work, and request for

Count Unique values with a condition

随声附和 提交于 2019-11-26 16:47:15
In column A I have list of different names. In column B, I have values either 0 or 1. I want to get a count of all the unique names from column A which have 1 in column B. Using below array formula I am able count unique names but not able to apply condition on column B. =SUM(1/COUNTIF(A:A,A:A)) Assuming no more than 100 rows try this "array formula" to count the different names in A2:A100 where there is a 1 in the same row in B2:B100: =SUM(IF(FREQUENCY(IF(B2:B100=1,IF(A2:A100<>"",MATCH(A2:A100,A2:A100,0))),ROW(A2:A100)-ROW(A2)+1),1)) confirmed with CTRL+SHIFT+ENTER Note that I say different

Count Unique values with a condition

℡╲_俬逩灬. 提交于 2019-11-26 04:56:01
问题 In column A I have list of different names. In column B, I have values either 0 or 1. I want to get a count of all the unique names from column A which have 1 in column B. Using below array formula I am able count unique names but not able to apply condition on column B. =SUM(1/COUNTIF(A:A,A:A)) 回答1: Assuming no more than 100 rows try this "array formula" to count the different names in A2:A100 where there is a 1 in the same row in B2:B100: =SUM(IF(FREQUENCY(IF(B2:B100=1,IF(A2:A100<>"",MATCH