How do I create a SUM based off of specific criteria?
I created a smartsheet to track an assistance program. I created a column with color-coded dots (RYG Balls) to represent the status of each application. These dots are changed manually as the application status changes. Red dot (declined), Yellow (Pending), Green (Accepted), and Blue (Completed). A different column has the amount of assistance we are providing for each application.
I wanted to create a sum to represent all of the assistance (in dollars $) that have been allocated for the applications coded as blue and green - is this possible?
It would be great if this could update on its own as we receive applications and manually choose their status because at this point I have to create a filter and manually change the total each time and it's becoming cumbersome.
Thank you!
-Courtney
Answers
-
Yes, you can do that.
Your "Declined" formula would be:
=SUMIFS(Assistance:Assistance, Status:Status, "Red")
Pending:
=SUMIFS(Assistance:Assistance, Status:Status, "Yellow")
Accepted:
=SUMIFS(Assistance:Assistance, Status:Status, "Green")
Completed:
=SUMIFS(Assistance:Assistance, Status:Status, "Blue")
These will update as your status and assistance $ change.
-
Thank you so much!!!
-
So I just tried this and it didn't work - When I entered the formula it says "#UNPARSEABLE".
I am a newbie to smartsheets and creating formulas. The column that includes the RYG Balls is titled "Status". The Smartsheet is titled "Rental Assistance".
Could you give me a quick explanation of how you created this formula? This might help me troubleshoot the issue.
-
If you want to Sum when it's either blue or green try this:
=SUMIFS(Assistance:Assistance, Status:Status, OR(@cell="Blue",@cell="Green"))
Watchout for ";" and "," and check out that values like blue or green are spelled like it is supposed to be (you can check on clicking on any status cell. As far as I know, this is case sensitive.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!