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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!