+ Reply to Thread
Results 1 to 6 of 6

merge date/time value , concatenate ?

  1. #1
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156

    merge date/time value , concatenate ?

    Hi ,

    how can i merge Date 1 and Time 1 into a cell ?
    And give me mm/dd/yyyy hh:mm format?

    And then a subtraction on 9/3/2008 0:00:40 - 9/2/2008 23:31:25, which give me a hh:mm:ss result?


    Thanks!
    Attached Images Attached Images
    Last edited by oldchippy; 11-09-2008 at 11:46 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Quote Originally Posted by okl View Post
    Date 1 Time 1 Date 2 Time 2
    9/2/2008 22:51:16 9/2/2008 23:31:25
    9/3/2008 0:00:40 9/3/2008 0:37:58


    Hi ,

    how can i merge Date 1 and Time 1 into a cell ?
    And give me mm/dd/yyyy hh:mm format?

    And then a subtraction on 9/3/2008 0:00:40 - 9/2/2008 23:31:25, which give me a hh:mm:ss result?


    Thanks!
    Hi
    just add Date1 and Time1 and format as needed ( right click the result cell, select Format Celle and select the needed format)
    To substract, substract as usual and format the same way
    Cheers

    ( and why add an image if you need a spreadsheet? :-))

  3. #3
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156
    Quote Originally Posted by arthurbr View Post
    Hi
    just add Date1 and Time1 and format as needed ( right click the result cell, select Format Celle and select the needed format)
    To substract, substract as usual and format the same way
    Cheers

    ( and why add an image if you need a spreadsheet? :-))
    Hi,

    There are many rows, how can i convert all with mouse drag.
    Instead copy 1 by 1?

    Ok i tried to do =D1&E1 in the result cell, but resulted value is "396940.182766203703704"
    instead of the m/d/yyyy hh:mm:ss format
    Last edited by okl; 09-03-2008 at 07:09 AM.

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Supposing Dates are in col A and times in col B in CI enter
    =a1+b1
    Enter
    select C1
    Double-click the handle at the lower right corner
    Done

  5. #5
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by okl View Post
    Hi ,

    how can i merge Date 1 and Time 1 into a cell ?
    And give me mm/dd/yyyy hh:mm format?

    And then a subtraction on 9/3/2008 0:00:40 - 9/2/2008 23:31:25, which give me a hh:mm:ss result?


    Thanks!
    Try this

    =(C1+D1)-(A1+B1) format cell to TIME
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  6. #6
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156
    Thanks, Solved!

    Sometimes have to think in a simpler way to solve problem not really have to be complicated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mail Merge launched from Excel
    By smiffy in forum Excel General
    Replies: 0
    Last Post: 05-14-2008, 02:37 PM
  2. Concatenate and Vlookup
    By AaronH in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-18-2008, 07:01 PM
  3. Mail Merge Query - Format of Merge Fields in Word
    By carlosbourn in forum Excel General
    Replies: 2
    Last Post: 11-10-2007, 07:11 AM
  4. CONCATENATE Formula (Merge Text)
    By lolla70 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2007, 10:42 AM
  5. Forward and Reverse Merge
    By Joe_ in forum Excel General
    Replies: 1
    Last Post: 04-30-2007, 08:06 PM

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