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
- 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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!