=WORKDAY time calculation

Stanz838

New Member
Joined
Aug 17, 2021
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
I am working on a worksheet to schedule machine time. I want to calculate the date and time a job will be completed based on a specific start date and time, then add job time, hours and minutes.
I am using the workday function, but it is rounding answer to nearest date. The formula is dropping the hours and minutes.

Cell V10 has the WORKDAY formula.

1718376474011.png
 

Attachments

  • 1718376389166.png
    1718376389166.png
    20.3 KB · Views: 6

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try something like this in your worksheet:
Book1
ABCD
1StartEndDaysTime
22024-06-10 15:002024-06-14 07:00416:00:00
32024-06-10 07:002024-06-14 15:00508:00:00
Sheet2
Cell Formulas
RangeFormula
C2:C3C2=NETWORKDAYS.INTL(A2,B2,1)-((MOD(A2,1)>MOD(B2,1)))
D2:D3D2=MOD(B2-A2,1)
 
Upvote 0
Thanks for the response. I don't think it will work for the application. I am using WORKDAY to calculate the end date, based on start date and number of hours and minutes to complete a job.

Thank you
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top