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
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!