+ Reply to Thread
Results 1 to 5 of 5

Adding hours to time to get new time

  1. #1
    Forum Contributor
    Join Date
    10-29-2004
    Posts
    291

    Adding hours to time to get new time

    I have a started time of say 8am from cell B3. I want to know what time it will be when I add a full number (hours) from another cell. For example A3+B4 where A3 is 8:00 A.M. and B4 is 4.04. I'm looking to get the a result of 12:04 P.M.
    Last edited by djarcadian; 03-30-2009 at 06:49 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Adding hours to time to get new time

    Dates and times in Excel are the same thing; whole numbers are days since 0 Jan 1900, and decimals are time. So you just need to convert the hours to days and then add:

    =A3 + B4/24
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    10-29-2004
    Posts
    291

    Re: Adding hours to time to get new time

    Hmm, I'm kind of confused so bare with me.

    I have the following code =IF(Sheet3!E104>0,SUM(Landscaping!C3)," ")

    The Landscaping!C3 gives me a time like 8:56 AM. I want to add 30 minutes to it so it displays 9:26 AM.

    How would i accomplish this?

  4. #4
    Forum Contributor
    Join Date
    10-29-2004
    Posts
    291

    Re: Adding hours to time to get new time

    Figured it out!

    =IF(Sheet3!E104>0,SUM(Landscaping!C3)+TIME(0,30,0)," ")

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Adding hours to time to get new time

    Good job. Would you please mark the thread as Solved?

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1