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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!