Countifs with Or Function
I'm trying to count people from another sheet where the goal year equals the one reference on the current row and the Status could be a few other options, so I thought the easiest would be the OR function with counting everything including blank, but not "Agent Not in Count".
The formula below gives me an #Unparseable error.
=COUNTIFS({Goal Year}, Year@row, {Status}, OR(@cell <>"Agent Not in Count", @cell ""))
Best Answer
-
It looks like you're just missing the = sign for when you're looking for ""!
Try this:
=COUNTIFS({Goal Year}, Year@row, {Status}, OR(@cell <>"Agent Not in Count", @cell = ""))
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Answers
-
@Paul Newcome or @Genevieve P., do you know the answer? The problem is that the Status column can have 1 of 5 options or it can be blank. I need to count blanks and every status except Agent Not in Count.
I appreciate your help!
-
It looks like you're just missing the = sign for when you're looking for ""!
Try this:
=COUNTIFS({Goal Year}, Year@row, {Status}, OR(@cell <>"Agent Not in Count", @cell = ""))
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
-
Hello @Genevieve P.,
You are SO amazing! That worked perfectly! This is so helpful for many uses, I really appreciate your help.
Thank you very much!!
-
No problem at all! I'm glad it was an easy fix 🙂
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.3K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!