Sumif with dates - how to show ending hours by month in a summary field
Is there a way for me to change up this formula so I don't have to come in each month and change the dates in the cells to pull the right data? This is a summary field with the formula calculating hours being worked that would end this month. Right now im going in each month and updating the dates but hoping to find a way for it to automatically do it so I never have to touch the formula again if at all possible.
=SUMIFS([Hours / Week]:[Hours / Week], [Product]:[Product], HAS(@cell, "XXX"), [End Date]:[End Date], >=DATE(2024, 2, 1), [End Date]:[End Date], <=DATE(2024, 2, 29), PM:PM, "person")
Answers
-
Give this a try:
=SUMIFS([Hours / Week]:[Hours / Week], [Product]:[Product], HAS(@cell, "XXX"), [End Date]:[End Date], YEAR(@cell) = YEAR(TODAY()), [End Date]:[End Date], MONTH(@cell) = MONTH(TODAY()), PM:PM, "person")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 135 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 443 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!