countifs + find formula with multiple criteria
Hello,
I'm fairly new to smartsheets and trying to solve a roadblock.
I'm trying to count the amount of times a specific string is in a cell with two types of status: closed and submitted.
I'm using the FIND because some cells contain more than one ticket # (i.e. "Ticket-432, Ticket 12435")
=COUNTIFS({Database Range 1}, FIND("Ticket-12345", @cell) > 0) + =COUNTIFS({Database Range 2}, "Closed") + =COUNTIFS({Database Range 2}, "Submitted")
Much help is appreciated!
Comments
-
=COUNTIFS({Database Range 1}, contains("Ticket-12345", @cell)) + COUNTIFS({Database Range 2}, "Closed") + COUNTIFS({Database Range 2}, "Submitted")
you don't need to start every function with an equals. only at the beginning. Contains is a much more friendly formula than find for text parsing
-
I appreciate the response!
I tried this out and the formula is valid, but it ends up counting the total of the ticket # + the # of Closed + # of submitted..resulting in a double/triple count than what the database actually reflects. Thoughts?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!