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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!