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
- Customer Resources
- 65.3K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 150 Just for fun
- 72 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 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!