COUNTIF matching two criteria
I'm trying to count if, a row matches two criteria:
- The row status is not "completed" (in another column)
- If the current date is greater than the value in another column: "Due date".
So example:
Clean Bathrooms Not Completed 12/1/2020
The above row would be counted on the formula because it's not completed and past the due date.
Best Answers
-
Hi @Pete Cardenas ,
Sounds like you just need a COUNTIFS formula.
The syntax is:
=COUNTIFS( range1, criterion1, [ range2criterion2... ],...)
From your request I would expect your formula to be close to:
=COUNTIFS(Status:Status, <>"Complete" , [due date]:[due date], <Today())
Help?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Hi Pete, Perfect. Please mark my answer as accepted. Happy to help.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @Pete Cardenas ,
Sounds like you just need a COUNTIFS formula.
The syntax is:
=COUNTIFS( range1, criterion1, [ range2criterion2... ],...)
From your request I would expect your formula to be close to:
=COUNTIFS(Status:Status, <>"Complete" , [due date]:[due date], <Today())
Help?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Yup this does!
I didn't know if you could keep putting multiple criteria in the parenthesis.
Thank you!
-
Hi Pete, Perfect. Please mark my answer as accepted. Happy to help.
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
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 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!