Need to calculate start date

Novice86

New Member
Joined
Jul 18, 2015
Messages
13
I have a table to track machine hours needed and the date and hour an order is due. I'd like excel to return required start date and time in a cell. My workweek starts at 12am on Sunday and ends at 8pm on Friday. Due date is in column E, runtime hours in column f, I need required start date in column H. Example would be (column e) order due 3/21/16 7am, (column f) runtime 52 hours.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
if you format column F so the data is entered in hh:mm:ss then all you need is a sum in column H

so (as per your example)

column e is 38/21/2016 7:00
column f is 52:00:00

then

column H is =E3+F3

and it returns 03/23/2016 11:00
 
Upvote 0
I need to subtract working day hours only. This sum function would include Saturday, Sunday, and hours we are not working on Friday night?
 
Upvote 0
I need to subtract working day hours only. This sum function would include Saturday, Sunday, and hours we are not working on Friday night?

try this out

Code:
=IF(OR(WEEKDAY(E2-SUM(F2/24),2)=7,WEEKDAY(E2-SUM(F2/24),2)=6),E2-
SUM(SUM(SUM(F2-HOUR(E2))+52)/24),
SUM(E2-SUM(F2/24)))
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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