Counting cells with certain criteria and within the last year
I have to count how many cells contain a certain value, and have occurred in the last year.
Example: Count of all closed projects within the last year
Project 1 Closed 1/2/23
Project 2 Closed 1/2/21
Project 2 Open 1/2/24
What is the right formula? In excel you can use and count if ( >=date() - 365) or something like that.
Thanks!
Tags:
Answers
-
You could use something along the lines of:
=COUNTIFS(Status:Status, @cell = "Closed", Date:Date, AND(@cell<=TODAY(), @cell>= TODAY(-365)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 513 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 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!