Duration Formula
Hello,
I work for an animal rescue and would like to track how many days a dog has been in rescue, and have the counting stop once they get adopted.
The formula I'm using now is =IF(ISDATE([Adoption Date]@row), "", TODAY() - [Transport Helper]@row).
The formula works when then dog has yet to be adopted, but once the adoption date is entered, there is no result. For example, there should be a "3" for Finn in the Days in Rescue cell.
The adoption date is part of an automation when Contract Received and Payment Received have been checked.
What do I need to add to my formula in order for both scenarios to work?
Thanks!
Best Answer
-
Hi Elena G.,
Just modify your formula as below
=IF(ISDATE([Adoption Date]@row), [Adoption Date]@row - [Transport Helper]@row, TODAY() - [Transport Helper]@row)
Hope it works
Gia Thinh Technology - Smartsheet Solution Partner.
Answers
-
Hi Elena G.,
Just modify your formula as below
=IF(ISDATE([Adoption Date]@row), [Adoption Date]@row - [Transport Helper]@row, TODAY() - [Transport Helper]@row)
Hope it works
Gia Thinh Technology - Smartsheet Solution Partner.
-
Excellent, thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!