COUNTIFS based on two columns without duplicating

Hi all,
I have two Contact List columns where we track who is responsible for tasks.
I need to count for each row how many times a Contact is entered into EITHER of these columns. I don't want to count it TWICE if either of the columns have one of the values I'm looking for. These are the values I'm looking for in this example: AMT, CopyeditAMT, PadletAMT, LayoutAMT.
So, the results I'm looking for at each row shown below would be: 1, 1, 1, 1, 0. Again, I don't want it to count it twice if EITHER the Task Owner or Additional Resources has one of the conditions met.
Hope that makes sense.
Appreciate any formula advice I can get!
Thanks,
Jeana
Answers
-
Hi @Jeana
The way I would personally do this is to set up a helper column in this current source sheet. The helper column would flag if each row meets your criteria or not, say with a checkbox. Then your COUNT formula would look at this helper column and count the checkboxes. Does that make sense?
The helper checkbox formula would be a nested IF statement using OR, to check both cells for each of your criteria. Let me know if you'd like an example of this formula or sheet set up and I'm happy to help further!
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!