CONCATENATE in ArrayFormula's IF statement in Google Sheets not - google-sheets

Make Google Spreadsheet Formula Repeat Infinitely helped me to expand my formula indefinitely and other StackExchange results helped me get to here:
=ARRAYFORMULA(IF((AF2:AF="")," ","L"&ROW(F2:F)&":AD"&ROW(F2:F)))
However, when I tell "L"&ROW(F2:F)&":AD"&ROW(F2:F) to CONCATENATE, every row gives a results as if it was CONCATENATE(L2:AD2).
I tried =ARRAYFORMULA(IF((AF2:AF="")," ",CONCATENATE("L"&ROW(F2:F)&":AD"&ROW(F2:F)))) and =ARRAYFORMULA(IF((AF2:AF="")," ",CONCATENATE(INDIRECT("L"&ROW(F2:F)&":AD"&ROW(F2:F))))) but neither are working.
I am trying to get each row to CONCATENATE(L2:AD2) then CONCATENATE(L3:AD3) then L4:AD4 and so on.
Any help is most appreciated.

To make more easy to explain and understand by using an example, assume that the source values are in the range A2:C3
Instead of using
ARRAYFORMULA(CONCATENATE(A2:C3))
use
ARRAYFORMULA({A2:A3&B2:B3&C2:C3})

Related

Google Sheet SUMIF returning an error! statement

pretty new to google sheets, my question could seems awkward but i'm struggling with a sumif in google sheets.
I'm using a sumif to sum up some values with a simple condition and i struggle to find the right way to do it. Assuming the documentation i do it well but i must be missing something because the result is always : ERROR!
See the example below
The example is simple, applying exactly what the documentation says but still not working.
I tried to make the cell format number for the condition, still not working.
I tried to make the condition a string by typing "=1", still not work. I tried to use a cell value in the condition B5 for example, still not working.. I'm desperate, i don't understand why this simple example is still not working.
If someone could help it will save my time.
Chances are that your spreadsheet is using a locale that expects formula arguments to be separated with semicolons instead of commas, like this:
=sumif(B5:B10; 1; C5:C10)
You can set the locale in File > Settings > Locale.

Google Sheets: Is it possible to simplify this formula? Preferably, I'd like it to calculate all the cells in the row

Can the following formula be simplified as described in the paragraph below it?
=(ABS(D$3-D5)+ABS(E$3-E5)+ABS(F$3-F5)+ABS(G$3-G5)+ABS(H$3-H5)+ABS(I$3-I5)+ABS(J$3-J5)+ABS(K$3-K5))/-1
The problem is that I don't know how many columns I'm going to end up with, and I certainly don't want to continue manually writing each column into the formula. Is there I way to simplify this formula so that every column in a row is calculated?
I've been trying various formulas to no avail, and I can't get usable results via Google searches. I suppose I don't know how to effectively word the question without writing a paragraph.
Thanks, in advance!
Try this one:
=-SUM(ARRAYFORMULA(ABS(D$3:$3 - D5:5)))
GOT IT:
=ArrayFormula(SUM(ABS(D$3:$3-D5:5))/-1)

LOOKUP Function won't output correct value

I'm trying to create an Activity tracker for a game. However, I'm trying to use the LOOKUP function to track activity throughout 3 different sheets. However, the LOOKUP function does not seem to be outputting the correct value. LINK: https://docs.google.com/spreadsheets/d/1tdq6oeEFjgxJg6FXvSH2ZmkgRlHaFiD5aycjvezfNvc/edit?usp=sharing
If you look at Activity sheet, E2:E52, you should understand that it's outputting the wrong value(At least based on what I'm reading on the google docs).
I've tried converting this over to one sheet to see if that was the problem, however, it didn't work there either, I tried being more inclusive of the exact letter and number combination and that didn't help either.
I expect it to output the Attacks column for the username based on the Activity1 sheet.
Any help would be greatly appreciated.
PS: I tagged excel as it does the same exact thing on excel, however it gives slightly different values. I'm very confused.
use VLOOKUP instead:
=ARRAYFORMULA(IFERROR(VLOOKUP(D2:D,
{Activity1!C:D; Activity2!C:D; Activity3!C:D}, 2, 0)))

sheets giving importrange internal error but loads data on formula refresh

we have several sheets that rely on importrange to get data from other google sheets, beginning this week we have had trouble getting some of them to load, we just get #ref import range internal error.
I have tried a wide variety of solutions but all of them seem to only work temporarily whereupon refreshing the query it will sometimes manage to get the data, the size of the range is not the problem since the problem happens in large imports as well as imports that only get 1 cell.
so far the best solution I have is deleting the = from the formula and then adding it back to force the data to load again however this only lasts for around 30 min before the importrange goes back to giving the same error.
the formulas aren't anything fancy
=IMPORTRANGE("sheet url","Update_Guide!b2:n2")
I have tried variations of capital letters for the ranges, as well as adding if error to try and load a variation of the formula
=iferror(IMPORTRANGE("sheet url","Update_Guide!b2:n2"),
IMPORTRANGE("sheet url","Update_Guide!B2:N2"))
but nothing seems to work, or when it works the solution doesn't seem to stick.
any help or insight into what may be causing this problem would be greatly appreciated.
IMPORTRANGE has a limitation of 50 formulas per spreadsheet if you are using the old version of Google Sheets. if that's not the case you may have broken spreadsheet (it happens). in either case, try to create a fresh new spreadsheet and add your formulas there...
https://docs.google.com/spreadsheets/create
The suggestion by player0 to delete the = sign and type it back in is a good suggestion. Though it did not work for me, it gave me the idea to delete "range" from "importrange" - hit enter - delete what was added and retype "range" into "importrange" Work perfectly. All my cells in the chart returned.
Thanks for the tip.

Conditional Formatting based on sum of the 6 cells below

I was Hoping to be fever along before i had to ask for help but.
using Google sheets i am trying to have a range of cells(a row specificity) change there background colour based on the Sum of the 6 cells directly below it in the
I know I am happy using the basic conditional forming and i have a formula witch will return true if the Sum = what i am looking for
=IF(SUM(D6:D11)=6,true,FALSE())
and this works if i copy and past it along but if i try to put it in the Custom formula is box i get told
There was a problem while
Cannot save the rule with invalid formula.
so i take it that i am not using the box right
any help would be greatly appreciated
Conditional formatting is ... conditional. There is not normally any need for IF(). Your formula should work as:
=Sum(D6:D11)=6
but over what range and what cells to format (other then D5) I can't help you, if required, without further details.
Please though do read the [google-spreadsheet] tag wiki.

Resources