COUNTIFS with multiple designations
Good afternoon,
I'm trying to use a single column to determine all "Active" sites in a given county, which would include several designations in my "Tower Status" range, including "Pre-Planning", "Construction", etc. I have the following formula, to find the count of any one designation, but how would I add "Construction" and other designations?
=COUNTIFS({County}, County1, {Tower Status}, "Pre-Planning")
Best Answer
-
Hi Jennifer,
What's not working? This formula should work for you. You'll enter the formula in your metric sheet. The formula refers to you external range {county} which needs to be your County column in the screenshot you sent and {tower status} which is the Tower Status column in the screenshot.
The formula needs to be in a row that has a column [County] because the formula is using that value to count results. You'll need to add your other "active" status categories to the formula. Based on the screenshot I added Sales.
=COUNTIFS({County}, County@row, {Tower Status}, OR(@cell= "Pre-Planning", @cell="Construction", @cell="Sales"))
Work for you?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi Jennifer,
Try:
=COUNTIFS({County}, County@row, {Tower Status}, OR(@cell= "Pre-Planning", @cell="Construction"))
You can add additional criteria to the OR. Insert a comma and the criteria.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks Mark! That didn't seem to capture it, unfortunately. In my spreadsheet, there are several sites in the same county, with different statuses. I've included a screenshot hoping this will help. Any other suggestions would be greatly appreciated!
-
Hi Jennifer,
What's not working? This formula should work for you. You'll enter the formula in your metric sheet. The formula refers to you external range {county} which needs to be your County column in the screenshot you sent and {tower status} which is the Tower Status column in the screenshot.
The formula needs to be in a row that has a column [County] because the formula is using that value to count results. You'll need to add your other "active" status categories to the formula. Based on the screenshot I added Sales.
=COUNTIFS({County}, County@row, {Tower Status}, OR(@cell= "Pre-Planning", @cell="Construction", @cell="Sales"))
Work for you?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thank you!!! This worked perfectly. User error. :)
-
Perfect. Glad you found a solution. Thank you for contributing to the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 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!