formula to exclude items
I need to make a Sum of a column "Estimated Annual Revenue" but filtering by different options that I have in a column "Provide Client Sector", for example Commercial items and excluding from other column called "Status" items with "Cancelled", "Declined" and "Implementation complete"
I have this formula now working but still is missing the part of the exclusion on the column Status
=SUMIF({Client Sector}, [Client Sector]@row, {ROM Estimated})
Thanks
Best Answer
-
@Raul Cabrera Sorry about that I forgot to move the range to the front...
=SUMIFS({ROM Estimated}, {Client Sector}, [Client Sector]@row, {Status}, AND(NOT(CONTAINS(@cell, "Cancelled")), NOT(CONTAINS(@cell, "Declined")), NOT(CONTAINS(@cell, "Implementation complete"))))
Answers
-
Hello @Raul Cabrera,
You're on the right track!
You'll want to use the SUMIFS() function for multiple criteria.
An example formula would be something like this:
=SUMIFS([ROM Estimated}, {Status}, <>"Cancelled", {Status}, <>"Declined", {Status}, <>"Implementation complete", {Client Sector}, [Client Sector]@row)
Hope this helps!
-
There may be a simpler way to do this, but if I'm understanding correctly this should work. SUMIFS allows you to have multiple criteria filtered on. For the multiple statuses you can use an AND.
=SUMIFS({Client Sector}, [Client Sector]@row, {Status}, AND(NOT(CONTAINS(@cell, "Cancelled")), NOT(CONTAINS(@cell, "Declined")), NOT(CONTAINS(@cell, "Implementation complete"))), {ROM Estimated})
Hope that helps!
-
@sharkasits the formula send Incorrect Argument Set error
-
@Raul Cabrera Sorry about that I forgot to move the range to the front...
=SUMIFS({ROM Estimated}, {Client Sector}, [Client Sector]@row, {Status}, AND(NOT(CONTAINS(@cell, "Cancelled")), NOT(CONTAINS(@cell, "Declined")), NOT(CONTAINS(@cell, "Implementation complete"))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 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!