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
- 62.9K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!