How to count 1 incident type with multiple scenarios based on ticket open days?
Hello Smartsheet Community,
I have an IT incident report sheet created (shown in the attached picture) and a separate IT Ticket Metrics created.
In my IT ticket Metrics, I would like to count how many P0 tasks under priority has a ticket status with "Not Started", or "In Progress", or "With Customer", or "Returned" that have been there more than 2 days since the incident submit data.
I am thinking of using the countifs formulas but can not seem to get it to work. I would really appreciate it if anyone could charm in and provide some guidance. Thanks in advance.
Best Answer
-
Hi @Slu069,
You're on the right track with using the COUNTIFS formula. Something like this should do what you're after:
=COUNTIFS([Incident Submit Date]:[Incident Submit Date], <TODAY(-2), Priority:Priority, CONTAINS("P0", @cell), [Ticket Status]:[Ticket Status], OR(CONTAINS("In Progress", @cell), CONTAINS("Not Started", @cell), CONTAINS("With Customer", @cell), CONTAINS("Returned", @cell)))
Hopefully this helps, but if you've any problems/questions then just let us know!
Answers
-
Hi @Slu069,
You're on the right track with using the COUNTIFS formula. Something like this should do what you're after:
=COUNTIFS([Incident Submit Date]:[Incident Submit Date], <TODAY(-2), Priority:Priority, CONTAINS("P0", @cell), [Ticket Status]:[Ticket Status], OR(CONTAINS("In Progress", @cell), CONTAINS("Not Started", @cell), CONTAINS("With Customer", @cell), CONTAINS("Returned", @cell)))
Hopefully this helps, but if you've any problems/questions then just let us know!
-
Hello Nick,
Thank you very much for helping. This worked perfectly. Much appreciated.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!