Formula for total number of hours used in the last 28 days
I am struggling with coming up the formula for a metric sheet that I will use on my teams dashboard. I am looking to find out how many hours were used for a project in the last 28 days using the "Date worked", and "Total Hours worked" columns of my sheet. I have been trying to use the =SUMIF but can't seem to get it right.
Attached is a screenshot of the sheet I am trying to pull the info from.
Answers
-
The attachment didn't load, but you should be able to use SUMIF for this. It would look something like:
=SUMIF([Date worked]:[Date worked], >= TODAY(-28), [Total Hours worked]:[Total Hours worked])
Where the first range is the range being evaluated, the second parameter is checking to see if each cell meets that criteria, and the third parameter is the range you want to sum.
-
That worked perfectly. Thank you for the assistance.
-
No problem. Glad it worked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!