SUMIFS criteria
Hi All,
I'm trying to do a SUMIFS, and whilst I can return a result individually using SUMIF, when I try and combine I get #INVALID OPERATION.
The formula I am trying to use is
=SUMIFS({SERVICE DETAIL}, LEFT(@cell, 3) = "Col", {FEB 18}, {SERVICE TYPE}, "Transition", {FEB 18})
RESULT = #INVALID OPERATION
If I separate it out as below I get a result
=SUMIF({SERVICE DETAIL}, LEFT(@cell, 3) = "Col", {FEB 18})
RESULT = $12,858.53
=SUMIF({SERVICE TYPE}, "Transition", {FEB 18})
RESULT = $45,856.12
I'm surely doing something stupid. Any help would be appreciated.
Regards
Colin
Comments
-
Hi Colin,
SUMIFS has a different syntax from SUMIF. With SUMIFS, you put the sum range first, then the criterion range, then criterion. More info on SUMIFS here: https://help.smartsheet.com/function/sumifs
I think what you're looking for is something like this:
=SUMIFS({FEB 18}, {SERVICE DETAIL}, LEFT(@cell, 3) = "Col", {SERVICE TYPE}, "Transition")
-
Thanks Shaine. That solved my problem.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!