This question already has answers here:
Stacking multiple columns on to one?
(8 answers)
Closed 7 years ago.
Does anyone know how to gather values from a range to a single column?
for exempele...
i have information in cells A1:C5
and I want those cell to be copied to Column H (H1, H2 and so on....)
I believe your question is pretty much answered here: Stacking multiple columns on to one?
=TRANSPOSE(SPLIT(JOIN(";",A:A,B:B,C:C),";"))
Note that you could equally well just do from row 1 through 5 like this:
=UNIQUE(TRANSPOSE(SPLIT(JOIN(";",A1:A5,B1:B5,C1:C5),";")))
As mentionned by Adam, this will work with the new Google Docs, and is more simple:
={A1:A5;B1:B5;C1:C5}
From the same question Jonathan linked to, I think this answer is now the better one (it is supported in the newest version of Sheets, which wasn't around when that question was first asked).
={A1:A5;B1:B5;C1:C5}
Related
This question already has an answer here:
Google Sheet yields infinitesimal number as remainder of an integer/whole number
(1 answer)
Closed 3 months ago.
Why the values of two identical times are different from each other, unable to use vlookup due to this
Note: Times are taken from two different sources, one is generated as CSV from a website and the other was manually entered.
Example:
Time Values
10:00 AM 0.416666666666666
10:00 AM 0.416666666666667
FALSE
How to Solve this ? Thanks in advance.
this happens due to a "rounding error" more on that here: https://stackoverflow.com/a/72230592/5632629
in your case, you just need to trim/round it 12-digit decimal:
This question already has answers here:
Query is ignoring string (non numeric) value
(2 answers)
Closed 5 months ago.
I'm using a query to pull data from a multi-sheets in Google Spreadsheet that is populated by a Google Form. If the form has only numbers, there is no problem. However, if there's a mixed of text and number then it did not work.
=QUERY({Sheet1!A:S;Sheet2!A:S},"SELECT* WHERE Col4<>''",0)
EDIT: Added the second one here:
=QUERY(Sheet2!A:S,"SELECT A,C,D,E,F,G,H,I,J,K,L,R WHERE G IS NOT NULL ORDER BY G LABEL R 'FRUIT'",TRUE)
Regards,
Yes, this is how QUERY works. It only pulls the most frequent data type per column. To pull mixed data types, you can use FILTER:
=FILTER({Sheet1!A:S;Sheet2!A:S},{Sheet1!D:D;Sheet2!D:D}<>"")
This question already has an answer here:
Dynamically referencing different sheets by changing sheet range argument depending on another cell's value
(1 answer)
Closed 5 months ago.
I am trying to referencing another sheet using this indirect formula
=indirect("'"&L2&"'!"&B74)
it works with simple name sheet like: m
but doesn't work with the name I want:
animated ad units 10rd of Feb
I have been desperately trying for the whole day but got no success.
Please help me
all you need is:
=INDIRECT(L2&"!B74")
This question already has answers here:
Fill down - Google Apps Script for Spreadsheets
(4 answers)
Closed 4 years ago.
Hello right now I have a simple deposit / expense spreadsheet where I have a sum formula that does down column C adding(or subtracting) from what is put into column B. Formula is =SUM($B$1:B1) This works great for the rows that are created however when I add a new row. I have to drag down the forumula in C to cover the new row before it will calculate the new total. I would like this to be done automatically. IE I add a new row and it calculates C from what I entered in B and the history in C. Can't seem to find how to do this. Am using Google Spreadsheets so unsure if this is even possible.
This other question seems to be very complex coding for something else. My question was answered however by user JPV below. Thanks to him for his time.
Remove contents of column C and then try in C1 this formula
=ArrayFormula((IF(LEN(B1:B), SUMIF(ROW(B1:B),"<="&ROW(B1:B),B1:B),)))
This question already has answers here:
How to do Vlookup using two search columns to compare with two result columns?
(2 answers)
Closed 1 year ago.
See my following spreadsheet: https://docs.google.com/spreadsheets/d/1SO3Z-liX1T61W47gKv5ugWFiQKsHa0-XBQsi1A7dTE0/edit?usp=sharing
I'm trying to create a formula that I can put into column C (the missing emails) based off of the names and emails in columns E-G.
In other words, I'm only missing the emails for folks to the left. The columns on the right has the data I need. I just need a formula that will auto-fill the missing emails based on matching the names in columns A/B and E/F.
I hope that makes sense. This is just an example spreadsheet. The real sheet I need to work with has hundreds of missing emails.
=ARRAYFORMULA(VLOOKUP(A2:A8&B2:B8,{E2:E14&F2:F14,G2:G14},2,0))