Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default adding days and times

Just add the two together. If A1 contains the true Excel date/time 4/5/2009
3:35 PM and you want to add 48 hours 10 minutes:

A1 = 4/5/2009 3:35 PM
B1 = 48:10

=A1+B1

Returns 4/7/2009 3:45 PM

The largest amount of time *that can be manually entered* in a cell is
9999:99:99. If you need times greater than that then you'd have to enter it
as numeric integers and then convert the hours to days + the minutes.

For example, to add 10000 hours 10 minutes:

A1 = 4/5/2009 3:35 PM
B1 = 10000
C1 = 10

=A1+B1/24+TIME(0,C1,0)

Returns 5/27/2010 7:45 AM

If you want the weekday displayed use the custom format of:

dddd m/d/yyyy h:mm AM/PM

--
Biff
Microsoft Excel MVP


"excelguy" wrote in message
...
I want to add an amount of hours to a particular day and time during that
day. For example, I want Excel to compute what time and day it would be if
I
add 6 hours to 6PM on Sunday (the first day of the week). In general, I
want
to make a formula so I can figure out what time and day it would be for
any
amount of hours I add so that I'd be able to figure out for example what
time
and day it would be a million hours and 43 minutes from Sunday at 3:35pm.
Any
Ideas?? thanks so much



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Categorize certain times of day as other days ecd211 Excel Discussion (Misc queries) 1 August 28th 08 08:08 PM
calculate # of days from two different times Fia New Users to Excel 5 June 25th 08 08:19 AM
Difference between dates/times in Days & Hours Steve Vincent Excel Discussion (Misc queries) 2 December 13th 07 08:40 AM
Difference in two times over days SouthAfricanStan Excel Worksheet Functions 1 May 5th 06 07:08 AM
Need to calulate a sum for once a month X #days X #times used per. pattyh Excel Worksheet Functions 0 September 28th 05 05:07 PM


All times are GMT +1. The time now is 12:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"