Count of cells in the last 60 days with a specific status
Hi. I've been at this for hours and can't get it. I'm trying to write a formula that will pull a total count of items with a specific status for the last 60 days. Both of the formulas below work separately, but when I try to link them with an AND, it breaks. How do I link these two statements?
=COUNTIFS([Enablement Date]:[Enablement Date], >=TODAY(-60), [Enablement Date]:[Enablement Date], <=TODAY(0))
=COUNTIFS(Status:Status, "enabled and monitoring")
Best Answer
-
With the COUNTIFS function, you can concatenate any number of ranges and conditions.
COUNTIFS( range1, criterion1, range2, criterion2, range3, criterion3, range4, criterion4 ... ])
=COUNTIFS([Enablement Date]:[Enablement Date], >=TODAY(-60), [Enablement Date]:[Enablement Date], <=TODAY(0), Status:Status, "enabled and monitoring")
Answers
-
With the COUNTIFS function, you can concatenate any number of ranges and conditions.
COUNTIFS( range1, criterion1, range2, criterion2, range3, criterion3, range4, criterion4 ... ])
=COUNTIFS([Enablement Date]:[Enablement Date], >=TODAY(-60), [Enablement Date]:[Enablement Date], <=TODAY(0), Status:Status, "enabled and monitoring")
-
I could kiss you. Thank you.
-
Happy😚 to help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!