SUMIFS formula for multiple values
A formula I thought I had locked down is no longer working and I'm out of ideas to resolve. Results are coming up as "0" when I use the following formula:
=SUMIFS([Requested Amount]:[Requested Amount], [Region]:[Region], "Region A", [Region]:[Region], "Region B", [Region]:[Region], "Region C")
Column #1 "Requested Amount" includes the $ amount being requested
Column #2 "Region" includes a drop down menu of 14 regions
I'm looking for a SUMIFS formula that pulls that total amount requested from the "Requested Amount" for 'Region A', 'Region B', and/or 'Region C' under the "Region" column.
Best Answer
-
The COUNTIFS and SUMIFS formulas have an implied "AND" in the criteria. They will only count rows where all criteria are true, unless you give it more options for what could be true by using the OR function.
=SUMIFS([Requested Amount]:[Requested Amount], [Region]:[Region], OR(@cell = "Region A", @cell = "Region B", @cell = "Region C"))
English: Add up the Requested Amount values where Region equals Region A, or Region B, or Region C.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
The COUNTIFS and SUMIFS formulas have an implied "AND" in the criteria. They will only count rows where all criteria are true, unless you give it more options for what could be true by using the OR function.
=SUMIFS([Requested Amount]:[Requested Amount], [Region]:[Region], OR(@cell = "Region A", @cell = "Region B", @cell = "Region C"))
English: Add up the Requested Amount values where Region equals Region A, or Region B, or Region C.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Thanks @Jeff Reisman !
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!