COUNTIFS on 2 check box columns, 1 checked, 1 unchecked
I am trying to write a formula for a sheet summary where an "Over Due" check box is checked (driven by a due date column), and a "Done" check box is not checked...
=COUNTIFS([Over Due]:[Over Due], 1, Done:Done, 0)
#Invalid Operation...
I originally tried to run a countifs based on Done = 0, and Due Date < TODAY, but learned you can't run a countifs using a date field, apparently.
what am I doing wrong?
Comments
-
Hi Jon,
You can run COUNTIFS with dates. Your other formula looks correct. Make sure the column types are correct.
Try something like this.
=COUNTIFS(Done:Done; 0; [Due Date]:[Due Date]; @cell < TODAY())
The same version but with the below changes for your and others convenience.
=COUNTIFS(Done:Done, 0, [Due Date]:[Due Date], @cell < TODAY())
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
I hope that helps!
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I agree with Andree on both counts. Your posted formula looks right, and you can use dates in a COUNTIFS (his example would have been my example).
If you still are not able to get it to work, feel free to post some screenshots of the formulas themselves actually being used in the sheet. Sensitive/confidential data can be hidden, removed, or replaced with "dummy data".
-
Thank you both! You're right, the first formula you provided worked.
Many thanks for the prompt solution!
-
Happy to help!
Looks like you are in a region that requires semi-colons as a separator instead of commas between sections. That is definitely something to keep in mind for future formulas.
-
Excellent!
Happy to help!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 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!