How to automatically check a checkbox ?
Hi !
I'm looking for the formula to automatically check a checkbox (Column named Urgent) when the due date has passed (Column name Deadline). The column Urgent is a checkbox column and the column Deadline is a date column.
I would like that, when the date in the Deadline is passed, I want the Urgent box to be ticked automatically.
Can someone help?
Thanks in advance.
J.
Best Answer
-
The formulas that have been provided work for me. Double check the column properties and see if changing the 1 and 0 to true and false does anything. If not, provide a screenshot similar to the one below.
=IF(Deadline@row < TODAY(0), true, false)
Answers
-
You can use a formula such as the one below in the Checkbox column:
=IF(NETDAYS([Deadline]@row, TODAY()) > 0, 1, 0)
Setting the value to 1, checks the box. Note - you may get a notification on the UI about using a formula in the checkbox column, but you can safely ignore.
-
In the checkbox column, create a column formula:
=IF(Deadline@row < TODAY(0), 1, 0)
Checkbox cells actually are a value, 1 for checked, 0 for unchecked.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
-
Jinx! 😂
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Hello all !
I've tried all the proposed formula and I'm getting an #unparseable response in the field in question.
Any other ideas?
Thanks everyone.
J.
-
Hi @Christina Lam !
I tried your proposed formula and I'm getting an #unparseable statement in the box. Am I missing something? Do the spaces in the formula matter? If I'm using the French version of SmartSheet, would the formula change at all?
Any other troubleshooting tips?
Thanks!
J.
-
The formulas that have been provided work for me. Double check the column properties and see if changing the 1 and 0 to true and false does anything. If not, provide a screenshot similar to the one below.
=IF(Deadline@row < TODAY(0), true, false)
-
Thanks @Devin Lee !
I figured out the issue. I had to replace the " , " by " ; ".
Minute detail but makes a major difference.
Thanks everyone for your help!
J.
-
I knew there was a syntax difference with the European version, but for the life of me I couldn't remember what it was!
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
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!