+ Reply to Thread
Results 1 to 4 of 4

Unable to combine Date and Time

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    98

    Unable to combine Date and Time

    In Cell B2 Ive entered a date. In Cell B3 Start time and in B4 End time. I want to be able to combine the date and time as displayed in Cells E2 and E3.

    Also is there a way of being able to do the above, autoformatted, in order to get yesterdays date and time together.
    Attached Files Attached Files

  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: Unable to combine Date and Time

    In B2 you've entered a date and time. If you just want the date, change the function from NOW() to TODAY().
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Unable to combine Date and Time

    try in E2 and copy to E3

    =INT($B$2)+B3
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  4. #4
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: Unable to combine Date and Time

    try this...

    =TEXT(B2,"m/dd/y" )&" " &TEXT(B3, "h:m:s")

+ 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