Add a number to a time and continue sequentially

schmadly

Board Regular
Joined
Mar 29, 2006
Messages
79
How do I add a number to a time?

Scenario: I have one column that lists the length of a given course (Number format). The second column shows the time that it starts. What I need is for the next row to take the length of a given course and add it to the time of the previous row.

Example: If I type in 1.5 (length) and 8:00 AM (start time), the next row underneath the 8:00 AM should automatically populate with 9:30 AM.

What I've tried: =F6+TIME(E6,0,0)
This takes the start time (F6) and uses the Time function to pull the hour and add it - however, I can only get this to work for whole numbers. If I type in 1.5 (meaning 1 1/2 hours) it doesn't add properly. I tried =F6+TIME(E6,(E6*60),0), but that just adds another hour. Any ideas?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
The problem is that Excel Reads time as a fraction of 1.

1 = 24 hours
.5 = 12 hours (or half of 1 day)

so to excel, 1.5 = 24 hours, + 12 hours

Try

=F6+(E6/24)
 
Upvote 0
Thanks,
I couldn't get the equation to go as you gave it. I tried incorporating it into the following equation. Not sure what to do.
=IF(B7="","",D7+TIME(B7,(C8/24),0))
 
Upvote 0

Forum statistics

Threads
1,214,921
Messages
6,122,280
Members
449,075
Latest member
staticfluids

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