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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!