If checked subtract using a date, if unchecked subtract using another date
Good afternoon,
I am trying to create a day counter that will be counting until another date is filled. I thought nesting if formula's would work, but so far I am not successfully creating the correct formula. A screenshot below will hopefully help and here is the formula I wrote that is giving me the "Incorrect Argument Set" error message.
=TODAY() - IF(Done@row, false, Created@row, IF(Done@row, true, [Done Date]@row))
Best Answer
-
What about this rendition? Does this work? It checks to see if done is checked and counts accordingly.
=IF(Done@row = 1, [Done Date]@row - Created@row, TODAY() - Created@row)
Answers
-
What about this rendition? Does this work? It checks to see if done is checked and counts accordingly.
=IF(Done@row = 1, [Done Date]@row - Created@row, TODAY() - Created@row)
-
That seems to be working great. Thank you so much!
-
Awesome, glad I could be of help. Please accept my answer to your question! :D
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 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!