Automatically add a check to a checkbox cell if a cell is Not blank

Hi all. I've been trying to figure this one out by myself but I just cant seem to get it.

I have a column "Date Closed" and I want to have a checkbox in that row be automatically checked once a value (date) is added to the "Date Closed" cell. (and the checkbox empty if there is no Date Closed value).

I thought this would be simple. I have been playing with this simple formula. can anyone help?

=IF(ISBLANK([Date Closed]:[Date Closed]), 0, 1)

I also thought it would be easier to not deal with the NOT statement, so I just switched the condition at the end. am I on the right track?

Best Answers

  • David Tutwiler
    David Tutwiler Overachievers Alumni
    Answer ✓

    Until you can get it to work, I would delete the second automation just to make sure they aren't accidentally interfering.

    I can see that if you create a new row with the Date already filled in this automation won't work. It is only being triggered when the sheet is changed.

    The other thing I can think of is that this automation requires that you save the sheet and then wait a few seconds for it to update. If you are making changes and waiting for the automation to run without saving the sheet, this won't work. I would suggest updating the date on a row, clicking Save, then waiting up to 1 minute (it should take just a few seconds) for the sheet to update.

    If that doesn't work, will you let us know?

  • steves
    steves ✭✭
    Answer ✓

    David! thanks you were totally right. The automation is not immediate for some reason, it takes <minute for it to run and for the box to check itself. i was being impatient.

    This works great! thanks so much.

Answers

  • David Tutwiler
    David Tutwiler Overachievers Alumni

    You can do it with a formula, but you can also do it with automation. If you go into automation and select the Trigger as the Date Closed getting any value, then you can trigger and action to check a box in the correct column. Below is a screenshot of an example Automation to do the same thing.


  • steves
    steves ✭✭

    Hi David! i tried your suggestion but it does not seem to be working. Here are my automations. Is there any reason you can think of that the cell won't automatically "Check" itself? i tried creating new rows, changing existing rows.

    The second automation is for the cell to uncheck itself if the content in "date closed" is deleted


  • David Tutwiler
    David Tutwiler Overachievers Alumni
    Answer ✓

    Until you can get it to work, I would delete the second automation just to make sure they aren't accidentally interfering.

    I can see that if you create a new row with the Date already filled in this automation won't work. It is only being triggered when the sheet is changed.

    The other thing I can think of is that this automation requires that you save the sheet and then wait a few seconds for it to update. If you are making changes and waiting for the automation to run without saving the sheet, this won't work. I would suggest updating the date on a row, clicking Save, then waiting up to 1 minute (it should take just a few seconds) for the sheet to update.

    If that doesn't work, will you let us know?

  • steves
    steves ✭✭
    Answer ✓

    David! thanks you were totally right. The automation is not immediate for some reason, it takes <minute for it to run and for the box to check itself. i was being impatient.

    This works great! thanks so much.

  • David Tutwiler
    David Tutwiler Overachievers Alumni

    No problem, glad you got it going.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!