+ Reply to Thread
Results 1 to 2 of 2

Adding Date and Time to Yield Date

  1. #1
    Registered User
    Join Date
    06-03-2008
    Posts
    32

    Adding Date and Time to Yield Date

    I have a sample below.

    Date Time 1 Time + Day
    1/1/2008 11:56:49 PM 1/1/2008 23:56

    So basically in the Time+Day column I use the & function to just combine them.

    Now I have another column with

    Time 2 Date + Time
    12:01:03 AM 1/2/2008 '12:01:03 AM

    So basically I want to add the Time 2 to the original date, but since it past 12 AM the day is 1 day ahead, how can I do that in a formula?

    Thank You

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    if you do =A1+B1 it should add the time to the original date (assuming time in B1 and date in A1).

    If you are copying the formula down and always want to reference original date.... then make A1 absolute, i.e. =$A$1+B1 copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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