Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
how to sum the column amounts, if the status of each raw is Green and that is before end of may
Comments
-
Hi Zafar-- I think you could accomplish this using a SUMIFS formula. We don't currently support conditional statements within a SUMIF statement, though, so you'd need to use an IF formula in a separate checkbox column on your sheet to first determine if the value in the date column is before the end of May.
Insert a new checkbox column in your sheet and use an IF formula to check the box if the date in your date column is before the last day in May:
=IF(Date1 < DATE(2016, 5, 31), 1)
This formula will check the box when the date in the "Date" column is before May 31st, 2016 (you can hide this column, if you want).
Then, you can use a SUMIF formula to sum the values in the contract column for rows where the status is green and the box is checked (date is before May 31st):
=SUMIFS(Contract:Contract, Checkbox:Checkbox, 1, Status:Status, "Green")
You'll want to modify the "Contract", "Checkbox", and "Status" range values to match your column headers and desired value ranges. Let me know how this works for you.
-
Thanks a lot for clarifications. let me try and revert.
cheers
z
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