Adding time in hours to get new date

TheDarkLord

New Member
Joined
Mar 13, 2009
Messages
23
Hi, i need help with the following:

i have date and time in one cell, and i have the number of hours for an activity in another cell. I want to add the hours in a third cell, with changing date.

for example, in cell A1, i have 09/14/2010 1:30 P.M.

cell A2 = 25 hours [ this is the hours for the activity ]

i cannot get the date to change over, when adding the hours in the third cell, A3

i want it to work for x hours, which could be greater than 48. hence i need a flexible working program.

Kinda Advise.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
If A2 just has a number, 25, then try this formula in A3

=A1+A2/24

If you format A3 to show date and time you should get 09/15/2010 2:30 P.M
 
Upvote 0
thank you for your reply

i've tried it, the number 25 has been formatted as general, and the two cells for date and time, have been formatted as mm/dd/yy h/mm am/pm

but it's not working

kindly advise.
 
Upvote 0
thank you for your reply

i've tried it, the number 25 has been formatted as general, and the two cells for date and time, have been formatted as mm/dd/yy h/mm am/pm

but it's not working

kindly advise.

A1 should house:

9/14/2010 1:30:00 PM

which is a number, not:

09/14/2010 1:30 P.M.
 
Upvote 0

Forum statistics

Threads
1,217,256
Messages
6,135,499
Members
449,943
Latest member
thsix

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