As far as I know, this is the right way to use the SUBSTITUTE function, but the formula gives a parse error. What did I do wrong?
use:
=SUBSTITUTE(A33; "1"; )
Related
could you guys help me with a project. I was able to find a solution for my problem and the formula looks like this:
=IFERROR(VLOOKUP(E4;A8:B13;2;FALSE);0)+IFERROR(VLOOKUP(F4;A8:B13;2;FALSE);0)+IFERROR(VLOOKUP(G4;A8:B13;2;FALSE);0)
I have a category (e.g. Fruits) and need to import a sheet with different kind of fruits and non fruits. I use keywords which define what is a fruit and what not. I need to SUM all values which match to a keyword. My formula works but it will be more and more work when i need to add more keywords.
Are there a better way to realise this?
I build this example sheet for better understanding : )
Spreadsheet link
Thank you in advance : )
use:
=SUMPRODUCT(IFNA(VLOOKUP(E4:G4; A8:B13; 2; )))
you can even use E4:4 or E4:G5 or E4:5
row-wise it would be:
=INDEX(BYROW(E4:G5; LAMBDA(x; SUM(IFNA(VLOOKUP(x; A8:B13; 2; ))))))
use this
=ArrayFormula(SUM( IFERROR( VLOOKUP(E4:G4;A9:B;2;0))))
Usign sumif
=ArrayFormula(SUM(SUMIF(A9:A;"="&E4:G4;B9:B)))
Xlookup
=ArrayFormula(SUM(XLOOKUP(E4:G4;A9:A14;B9:B14;"";1)))
Us XLOOUP instead of IFERROR(VLOOKUP()) can shortens the formula.
=SUMPRODUCT(XLOOKUP($E4:4,$A$9:$A,$B$9:$B,0))
I want to add a prefix to the Row() function in my formula
=ArrayFormula(if(R1:R<>"",row(T1:T),""))
Seems like it should be simple, I am trying
=ArrayFormula(if(R1:R<>"",'prfix'&row(T1:T),""))
But I get "formula parse error"
Thanks
It's just your format. Try this one:
=ArrayFormula(if(R1:R<>"";"prfix"&row(T1:T);""))
I wrote this formula in the spreadsheet: =if(match(AR$2,$A5:$E5,0),AR$2,"")
If there is no match, it's supposed to leave the cell blank, instead it gives #N/A. but if there is a match, it gives the value. Can anybody show me how to correct this? thanks.
You could use iferror
try something like:
=iferror(if(match(AR$2,$A5:$E5,0),AR$2),"")
Google Sheets is saying there is a parse error.
=ROUNDUP(B9/B3)&ʺ:ʺ&ROUNDUP(B3/B9)
What's wrong with it?
I think it may just be the wrong type of double inverted commas. Try copy/pasting the following:
=ROUNDUP(B9/B3)&":"&ROUNDUP(B3/B9)
For comparison:
=ROUNDUP(B9/B3)&ʺ:ʺ&ROUNDUP(B3/B9)
Seconded, the commas are the issue here!
I re-typed your exact formula and the cell generated the correct solution:
=roundup(B9/B3)&":"&roundup(B3/B9)
I'm having some trouble using the SPARKLINE function on Google Spreasheets. If I use the "default" formula, like =SPARKLINE(C9:N9), it works nicelly. But, everytime I try to add some extra options, like using columns instead of lines, for example =SPARKLINE(C11:N11;{"charttype", "bar"}), I get a "Error, Formula parse error." message.
Has anyone here had the same problem? Any idea of how can I fix it?
Thanks!
From https://productforums.google.com/forum/#!topic/docs/QzVhyW5bi-A
When you address the option like an object, then you should use a backslash: =SPARKLINE(C11:N11;{"charttype"\"bar"}