CountIFS - Referencing the same Range
Hi - I am trying create a formula that counts if a reference spreadsheet range is assigned to development OR testing with the overall status of in progress given the priority.....I am newer and have been having a hard time transitioning my excel knowledge :( on doing ands and ors
=COUNTIFS({Sprint Spreadsheet Range 1}, 1, {Sprint Spreadsheet Range 2}, "Development", OR({Sprint Spreadsheet Range 2} = "Testing", {Sprint Spreadsheet Range 3}, "In Progress"))
Sprint Spreadsheet Range 1: Reference to identify all items that have priority of 1
Sprint Spreadsheet Range 2: Reference to task category "development" or "Testing"
Sprint Spreadsheet Range 3: Reference to task status of "in progress"
I would like to return the number of items that are a priority 1 in the category of development or testing with the status of in pogress
Best Answer
-
Hi,
This formula should work for what you're looking for. You want to be using the OR function for just the criterion aspect of the formula and not both the range and crtierion.
=COUNTIFS({Sprint Spreadsheet Range 1}, =1, {Sprint Spreadsheet Range 2}, OR(@cell = "Development", @cell = "Testing"), {Sprint Spreadsheet Range 3}, ="In Progress")
Hope this helps! Let me know if you have any questions.
Best,
Mike
Answers
-
Hi,
This formula should work for what you're looking for. You want to be using the OR function for just the criterion aspect of the formula and not both the range and crtierion.
=COUNTIFS({Sprint Spreadsheet Range 1}, =1, {Sprint Spreadsheet Range 2}, OR(@cell = "Development", @cell = "Testing"), {Sprint Spreadsheet Range 3}, ="In Progress")
Hope this helps! Let me know if you have any questions.
Best,
Mike
-
Exactly what I needed THANK YOU!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!