Combining IF and OR
Hello, brain trust! I have a conundrum that seems easy enough but isn't quite working for me.
I'm trying to reference a range in another sheet, and I only want to count cells if they are within a specific date range and have a status of either "Not Started" or "In Progress."
I know that to count one category, the formula would look something like this:
=COUNTIFS({Status Range}, "Not Started", {Date Range}, >=DATE(2021,1,1))
How do I set up a formula so that it searches for Not Started OR In Progress?
I appreciate your guidance!
Amber Eakin, MSLS, M.Ed.
Adult Education Specialist | Process Improvement Enthusiast
Best Answer
-
=COUNTIFS({Status Range}, or(@cell = "Not Started", @cell = "In Progress"), {Date Range}, >=DATE(2021,1,1))
Answers
-
=COUNTIFS({Status Range}, or(@cell = "Not Started", @cell = "In Progress"), {Date Range}, >=DATE(2021,1,1))
-
You are magnificent, @L@123 ! Thank you so much for the quick and perfect response.
Amber Eakin, MSLS, M.Ed.
Adult Education Specialist | Process Improvement Enthusiast
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 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!