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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!