I want to calculate the number of days using two date fields, and if blank use today.
I want to calculate the Days to Build field by counting the number of days from the Ready for Customer QA minus the Build Start Date. And if there is no date in Ready for Customer QA I want to know how many days from today - Build Start Date
Best Answer
-
Hey @Danielle Maroon
Try this. The formula first checks to see if [Ready for Customer QA] is a date. If yes, the two column dates are subtracted. If no, TODAY() is used as one variable.
=IF(ISDATE([Ready for Customer QA]@row, [Ready for Customer QA]@row-[Build Start Date]@row, TODAY()-[Build Start Date]@row)
Will this work for you?
Kelly
Answers
-
Hey @Danielle Maroon
Try this. The formula first checks to see if [Ready for Customer QA] is a date. If yes, the two column dates are subtracted. If no, TODAY() is used as one variable.
=IF(ISDATE([Ready for Customer QA]@row, [Ready for Customer QA]@row-[Build Start Date]@row, TODAY()-[Build Start Date]@row)
Will this work for you?
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!