COUNTIFS with AND/OR
Hi,
I'm trying to count the number of sites that have PNS and are either Experiencia, Experiencia Plus or Experiencia Plus Unlimited.
This formula is giving me an UNPARSEABLE error.
=COUNTIFS(OR({Experiencia Tier}, "Experiencia",{Experiencia Tier}, "Experiencia Plus",{Experiencia Tier},"Experiencia Plus Unlimited"), {PNS}, 1))
Thank you!
Best Answer
-
@deb_63_hydracor try the following
=COUNTIFS({Experiencia Tier}, OR(@cell = "Experiencia",@cell = "Experiencia Plus",@cell = "Experiencia Plus Unlimited"), {PNS}, 1)
Answers
-
@deb_63_hydracor try the following
=COUNTIFS({Experiencia Tier}, OR(@cell = "Experiencia",@cell = "Experiencia Plus",@cell = "Experiencia Plus Unlimited"), {PNS}, 1)
-
Below is how you would use the OR function:
=COUNTIFS({PNS}, 1,{Experiencia Tier}, OR(@cell="Experiencia",@cell= "Experiencia Plus", @cell=,"Experiencia Plus Unlimited"))
Another option here may be, if the word Experiencia is only found in the 3 options listed you can simplify to:
=COUNTIFS({PNS}, 1,{Experiencia Tier}, CONTAINS("Experiencia",@cell))
-
Thank you both. That worked!
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!