count number of rows with dates that fall between start and finish date which have box unchecked
I have a sheet which is referencing another sheet. We would like to count the number or rows which have a date (on the referencing sheet) that falls between the start & finish date but the checkbox (on the referencing sheet) is unchecked. I have the countifs formula for counting the number of rows between the date. But not sure how to include the next part of the equation.
=COUNTIFS({Referencing Sheet Range 1}, >=[Start Date]@row, {Referencing Sheet Range 1}, <=[Finish Date]@row)
Best Answer
-
Hi @B Young,
You would just need to add another portion to the formula to check the column being unchecked:
=COUNTIFS({Referencing Sheet Range 1}, >=[Start Date]@row, {Referencing Sheet Range 1}, <=[Finish Date]@row, {Referencing Sheet Range 2}, 0)
Where {Referencing Sheet Range 2} is the checkbox column.
If you wanted it for checked, change the final 0 to 1.
Hope this helps; if you've any questions then just ask! 😊
Answers
-
Hi @B Young,
You would just need to add another portion to the formula to check the column being unchecked:
=COUNTIFS({Referencing Sheet Range 1}, >=[Start Date]@row, {Referencing Sheet Range 1}, <=[Finish Date]@row, {Referencing Sheet Range 2}, 0)
Where {Referencing Sheet Range 2} is the checkbox column.
If you wanted it for checked, change the final 0 to 1.
Hope this helps; if you've any questions then just ask! 😊
-
Thank you this does help - appreciate it!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!