COUNTIFS
I know this should be easy but I just can't get it right. Trying to count instances of 2 different values in the same column. There are 6 options within the dropdown in the column but I only want to capture the amount of 2 specific values, "Seller Rep" and "Fee"
Tried every variation I can imagine of this: =COUNTIFS([Listing Type]31:[Listing Type]145, "Seller Rep", or "Fee"])
With quotes, without, but always get #UNPARSEABLE. Maybe wrong formula type?
Anyone able to help? It's slaying me!
Thanks
Best Answer
-
Try this.
=COUNTIFS([Listing Type]31:[Listing Type]145, OR(@cell = "Seller Rep", @cell ="Fee"))
When using the or formula you have to encase the different parameters inside of parenthesis after OR and separate them with a comma. You also have to use the @cell parameter to indicate that as it checks each cell in the range either of those parameters are looked at.
Answers
-
Try this.
=COUNTIFS([Listing Type]31:[Listing Type]145, OR(@cell = "Seller Rep", @cell ="Fee"))
When using the or formula you have to encase the different parameters inside of parenthesis after OR and separate them with a comma. You also have to use the @cell parameter to indicate that as it checks each cell in the range either of those parameters are looked at.
-
Awesome! Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!