Sum IF - Adding data after conditions are met
Hello,
In the attached image, I want to only SUM up rows with "DONE" in the Status Column. I want to sum up by month so I want to add the values in Story Points column by month.
Example - Add up all rows with "DONE" status and total the points in January, February etc...
Thank you!
Amy
Answers
-
=sumifs([story points selection]:[story points selection],status:status,"Done",resolved:resolved,iferror(month(@cell),13) = 1
The above will count all values in the story points selection (i think thats the column name, youve cut the end of it off in your picture) when the status is done and the resolved column is in the month of january. Change the one at the end to reflect which month you want, and it will change the value to reflect the appropriate number.
-
I'm getting un UNPARSEABLE error when I have to reference another sheet for this formula. The column names in brackets [ ] reference another sheet. Can you tell me what I'm doing wrong here?
=sumifs([{Story Points}]:[{Story Points}],[{Status}]:[{Status}],"Done",[{Resolved Date}]:[{Resolved Date}],iferror(month(@cell),13) = 1
Thank you for the quick response!
Amy
-
Does it matter that my Date column is in MM/DD/YY format when using the "Month" reference?
-
=sumifs({Story Points},{Status},"Done",{Resolved Date},iferror(month(@cell),13) = 1
No hard brackets for other sheet references. Did you use the create other sheet reference functionality or did you type that in?
-
I used the reference link, but was trying to follow your original formula. Thank you for clarifying! This worked! Yay!
Appreciate your quick response.
-
np glad it worked for you.
-
I did a manual count and the numbers are a bit off for January. Then I used your original formula on the same sheet as the data:
=SUMIFS([Story Points Selection]:[Story Points Selection], Status:Status, "Done", Resolved:Resolved, IFERROR(MONTH(@cell), 13) = 1)
I received "#DATE EXPECTED" error.
Can you tell me if my date format is not working with this formula?
Amy
-
This needs to go in a text/number column, a date column expects formulas to return text or dates.
Are there multiple years in the data? that could potentially mess this formula up, and it is something we can correct for.
-
I figured out the issue. I have dates from 2019 mixed in and I only want to count for this year. I can fix my data source.
Thanks!
Amy
-
=SUMIFS([Story Points Selection]:[Story Points Selection], Status:Status, "Done", Resolved:Resolved, and(year(@cell) = year(today()),IFERROR(MONTH(@cell), 13) = 1)
this one will always correct to current year
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!