How to calculate number of cells with dates within the last 15 days?
I'm trying to calculate how many rows on my project sheet have a "completed" status in the "project / task health" column and also have a date in the "completed date" column within the last 15 days.
This is the formula I am trying to use:
=COUNTIFS([Project / Task Health]:[Project / Task Health], "completed", [Completed date]:[Completed date], <=TODAY(), [Completed date]:[Completed date], >=TODAY(-15))
Thank you!
Answers
-
Your function works for me. Are you getting errors? Make sure your Completed date column is a date column type.
-
Yes, the completed date column is a date column type.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!