Countif referencing a sheet
I'm trying to reference a column in a sheet if it is less than today's date and is marked as completed. How would i do that? I keep getting error messages. Here's what I have:
=COUNTIF({Findings List Range 1}, >TODAY(), {Findings List Range 2='not completed'})
Best Answer
-
Hi @Pete Cardenas ,
Because you have multiple criteria you need to use the COUNTIFS function. The syntax is: COUNTIFS( range1, criterion1, [ range2,criterion2,... ])
Your formula would be:
=COUNTIFS({Findings List Range 1}, <TODAY(), {Findings List Range 2}, "not completed")
You say it is marked as "not completed". If the cell has that text in it then the formula above is correct. If the cell is a checkbox the the last piece of the formula is {Findings List Range 2}, =0). Checkboxes = 1 when checked and 0 when unchecked.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @Pete Cardenas ,
Because you have multiple criteria you need to use the COUNTIFS function. The syntax is: COUNTIFS( range1, criterion1, [ range2,criterion2,... ])
Your formula would be:
=COUNTIFS({Findings List Range 1}, <TODAY(), {Findings List Range 2}, "not completed")
You say it is marked as "not completed". If the cell has that text in it then the formula above is correct. If the cell is a checkbox the the last piece of the formula is {Findings List Range 2}, =0). Checkboxes = 1 when checked and 0 when unchecked.
Work?
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
- 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!