+ Reply to Thread
Results 1 to 5 of 5

Combining separate Date and Time Fields

  1. #1
    Registered User
    Join Date
    10-31-2006
    Posts
    1

    Combining separate Date and Time Fields

    I have two different columns (for example)...

    "Start Date" and "Start Time"
    12/8/06 12:00 AM


    I found out that i need to combine them into one column with the result being = "12/8/06 12:00 AM"

    I am having trouble doing this with any of the help from excel.

    Anyone know if this is possible?

    Please help.

    Thanks

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Thumbs up

    Quote Originally Posted by thegreenape
    I have two different columns (for example)...

    "Start Date" and "Start Time"
    12/8/06 12:00 AM


    I found out that i need to combine them into one column with the result being = "12/8/06 12:00 AM"

    I am having trouble doing this with any of the help from excel.

    Anyone know if this is possible?

    Please help.

    Thanks
    Hi thegreenape,

    Try this, if data in A1 & B1, then in C1

    =A1+B1 , then custom format to dd/mm/yy hh:mm AM/PM

    oldchippy

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Or

    =DATEVALUE(TEXT(A2,"dd/mm/yy"))+TIMEVALUE(TEXT(B2,"hh:mm"))

    VBA Noob

  4. #4
    Registered User
    Join Date
    11-04-2006
    Posts
    6

    Combining fields

    I bought an excel add in which allowed me to do this.

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Good for you

    VBA Noob

+ 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