How to add a value from any row that has column = May
This sheet (displayed to users as cards) moves projects to different months for capacity planning. We then have a header task for each month which we display the total job value currently assigned to the month.
This value is currently manually calculated.
How/can we have a formula in the header task that sums all the $ fields from rows that have the matching month value?
This way when we move the cards around the totals will update
Best Answers
-
You are going to want to use something along the lines of...
=SUMIFS([$ Column]:[$ Column], [Date Column]:[Date Column], IFERROR(MONTH(@cell), 0) = 5)
-
@Paul Newcome thanks we worked it out starting from your formula, ended up with
=SUMIFS([Sale Price]:[Sale Price], [Month Name]:[Month Name], "May")
as didn't want to use the actual date just the name of the month
Thanks again!
Answers
-
You are going to want to use something along the lines of...
=SUMIFS([$ Column]:[$ Column], [Date Column]:[Date Column], IFERROR(MONTH(@cell), 0) = 5)
-
Hi Paul, thanks that works with the date column but I can't seem to get it to work by checking the Month column (May, June, July etc). Does this formula have to refer to a date field?
-
@Navroz Kajani Make sure that the Miro date column is set as a date type column and make sure the data in that cell is an actual date value.
-
@Paul Newcome thanks we worked it out starting from your formula, ended up with
=SUMIFS([Sale Price]:[Sale Price], [Month Name]:[Month Name], "May")
as didn't want to use the actual date just the name of the month
Thanks again!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 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!