How do I create a COUNTIF formula that counts a status as "closed", but only if within 90 days?
Appreciate any help you can provide. Thanks!
Answers
-
You'd need to look at both columns to make this determination, and use a COUNTIFS formula. Something like:
=COUNTIFS(status@row, "closed, date@row, >(TODAY() - 90))
-
Unfortunately we don't have a column that tracks the date the status changed to CLOSED. We just have the status column itself.
-
You have to have the data point for the formula to evaluate in the first place, otherwise there's no way for the formula to function the way you're trying to.
If no further edits would be made after the status changes to closed, you can add a system column of last updated. If however there will be future edits, you'll need to manually add a date.
Kelly Drake (she/her/hers)
STARBUCKS COFFEE COMPANY| business optimization product manager
-
I'm not sure how you'd verify if it's closed within 90 days if you don't have some type of date field to check against. You would need either the close date or some type of System date of when the row was entered. Otherwise, there is nothing for the formula to check against to filter out newer/older counts.
-
To add to David's and Kelly's excellent answers.
Please have a look at my post below with a method I developed that you could use to get the date to check against.
More info:
Would that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!