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
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!