using formulas for time

orsm6

Active Member
Joined
Oct 3, 2012
Messages
496
Office Version
  1. 365
Platform
  1. Windows
Hi all - I get lost with trying to use formulas and time. at work we have a production schedule and other things interrogate the time columns. I'll try and explain it: we always enter the production line start time in cell J6 and then cell I7 has how long that step takes and then J7 adds the time from I7 to J6 which then the "end time" for that step so on and so on. the formula works really well BUT.... it is assuming that the date is 0/01/1900

how can I set this up so that the date in J7 is current... in this example J7 should be 17/08/2020 5:00

I know it would work if we manually type into J6 14/08/2020 3:30.... but is there a way to get the right date by formula?
if it helps, the start of week date is available in cell E1

hope that made some sense.... thanks in advance.



Copy of 200831.xlsm
IJ
5HrsST
6 3:30
71:305:00
82:007:00
90:157:15
1016:4023:55
11 23:55
12 23:55
Week 2 Schedule
Cell Formulas
RangeFormula
I6:I12I6=IF(D6="","",F6/VLOOKUP(D6,'Product Data'!$A$4:$N$156,14,FALSE)/24)
J7:J12J7=IF(D7="",(J6),(J6+I7))
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Dates and times are nothing more than numbers, meaning that you can add and subtract as normal, for example

=E1+"03:30:00"
 
Upvote 0
Solution

Forum statistics

Threads
1,215,692
Messages
6,126,230
Members
449,303
Latest member
grantrob

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