COUNTIFS formula with OR and FIND formulas
Hello all!
I have a trouble with one formula. The idea is, that I need to find an engineer name in AT LEAST (that's why I am using OR) one of the columns. The problem is, that the second range is a contact list so I need to use a FIND formula. So the mix looks like this:
=COUNTIFS({WTE}, $[Task Name]@row, OR({Assigned}, FIND($[Task Name]@row, @cell)>0),
I know its incorrect, it writes to me that it's unparsable.
Answers
-
Because of how COUNTIFS are read through, your OR function is being looked at as a range, with FIND being the criteria to search in that range.
Your best bet may be to sum 2 COUNTIF functions together so that you can account for both instances.
=COUNTIF({WTE}, $[Task Name]@row) + COUNTIF({Assigned}, FIND($[Task Name]@row,@cell)>0)
-
Thank you! But in that case it will count in both ranges and it will sum up. But I need the $[Task Name]@row counted only once (If its found in the first column, don't count it if its also in the second column). Thats why I was trying to use OR on the ranges.
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
- 143 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!