SUMIF (Collect( yyyy; with control button
Hi,
could you please look up following formula which is "unparseable"
=SUMIF(COLLECT([VS FF&E]:[VS FF&E];Archiv:Archiv; = active))
"active" is for the control button I use in the column. It is either active or not.
I will only sum the value of all rows that are not active.
Hope you can help
Best Answer
-
I'm not sure what you mean by control button, but if you're checking whether something is on or not (checked or unchecked) then you can typically substitute 1 for on and 0 for off. You could try to replace active with the number 1 (no quotes).
Answers
-
SUMIF requires a minimum of 2 parameters. The first is the Range and the second is the Criterion. Your collect statement is currently occupying just the Range field.
-
Hi David,
thanks for answering. Nevertheless if I change from Sumif to sum
the formula doesn´t work.
How should I set the formula in order to reach the result
I guess the important factor is the name of the "active" or "not active" field - true?
-
Right, so you're looking for:
=SUMIF(Archiv:Archiv, "active", [VS FF&E]:[VS FF&E])
Where the first parameter is the range you're checking the parameter against, the second parameter is what the condition is, the third parameter is the range to get the data from to sum. So it reads:
"If the Archive column on this row is "active" then get the data from the VS FF&E column and add it to the sum"
-
Good morning David,
I changed "comma" into "semicolon". Unfortunately, the result is "0" - it should be more than 1
Any further idea? Is "active" really the wright word?
-
I'm not sure what you mean by control button, but if you're checking whether something is on or not (checked or unchecked) then you can typically substitute 1 for on and 0 for off. You could try to replace active with the number 1 (no quotes).
-
Hi David,
now it works. Thank you.
Kind regards Joerg
-
Awesome. Great to hear.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!