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
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!