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.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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!