referencing another sheet using indirect formula [duplicate] - google-sheets

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")

Related

Difference in value of two same time google Sheets [duplicate]

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:

Cell references are not working, they appear to be strings and not references, how to fix? [duplicate]

This question already has answers here:
I get Formula parse error with all formulas
(1 answer)
Google Sheet: How to use arrayformula to copy data from one sheet to another?
(4 answers)
Why do certain formulas in google sheets not work when a google form is linked in the same document?
(1 answer)
Closed 4 months ago.
Usually, if you have a formula that references a sheet, like Sheet2!B2:B and you decided to change the name of that Sheet to "Sales", the formula updates the Sheetname to Sales!B2:B.
I have a formula where my references don't seem to be working, I keep getting the #ERROR. I am referencing a Sheet, it looks like it is correct, I change the name of the Sheet to something else, and the formula doesn't update the reference. That makes me think that it isn't actually reading this as a cell reference but as a string instead.
I have this sample, which has the working formula: https://docs.google.com/spreadsheets/d/1iLMCLIuXSjX1v4VvpdVI6omWXe3p0_s_eCpjsQ3GsbE/edit#gid=1544764194
In my actual sheet with real data, the same formula, with the correct sheet names, returns #ERROR as described above. I don't understand why the references are not working.
How to make sure the reference is an actual reference and not some string?
Update: So the issue seemed to have been, that in the german version, formulas use the semicolon to separate arguments and not commas... Instead I now get a different Error message now:
Error
Unable to parse query string for Function QUERY parameter 2: NO_COLUMN: Col2
Formula:
=ARRAYFORMULA(QUERY(
{
'anzahl-schulen'!A:A;
IFERROR(VLOOKUP('anzahl-schulen'!A:A;hochschulen!A:B;2;0);-1)
};
"select Col1,COUNT(Col1),Col2,COUNT(Col1)/Col2 where Col1<>'' group by Col1,Col2 label COUNT(Col1)'amount',Col2'total amount',COUNT(Col1)/Col2'percentage'"
))
Edit: I was told that someone else will take over this task. I will keep the question up, if someone wants to answer and help future people that stumble upon this issue.
I took your sample sheet and changed the Sheet! name to anzahl-schulen and the back to see what would happen.
So far everything seems ok to me.
I would try and re-type the formulas just to make sure they are referencing the right cells (I also wouldn't type the cell reference it self, I prefer to select them and let Google Sheets deal with the typing).

How to Query a column where numbers are mixed with text (GOOGLE SHEET) [duplicate]

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}<>"")

How to create a runing total formula that expands automatically when new rows are added to my spreadsheet [duplicate]

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),)))

Gather values from a range to a single column? [duplicate]

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}

Resources