Lead Time calculation
Hi
I am trying to create a lead time calculation to see when a request for work was submitted vs what the due date is. Purpose to report on lead time to promote better planning.
I had this working when I had a request date in my form. However I subsequently changed that field to a "created date" system field to auto populate and am unable to get the formula working again.
I tried to change the formatting of the "created date" column to match my other date formats but unable to do so.
Any idea how I can calculate the lead time on a job?
Best Answer
-
Check to make sure Due Date is a Date field. Then use =[Due Date]@row - [Created Date]@row to get number of days. If you want it to be dynamic from today's date, use =[Due Date]@row - TODAY()
Answers
-
If you want to extract just the date from the system generated column you can use the DATEONLY function. Either put this around the column name when using it in your original formula (DATEONLY([Created Date]@row)) or make a new column to hold the date only (in date format) and use that in your formula.
Be aware - if you are not in GMT the date returned by the DATEONLY might not be accurate. It will change to a new date at midnight GMT even if the Created Date column shows the local time. For example, in PST the Created Date might show 09/01/2024 5:00 PM but the DATEONLY would be 09/02/2024 as 5pm PST is 1am GMT. If this is a problem for you, there is a work around but it is more complicated. Let us know if you need it.
-
Check to make sure Due Date is a Date field. Then use =[Due Date]@row - [Created Date]@row to get number of days. If you want it to be dynamic from today's date, use =[Due Date]@row - TODAY()
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!