+ Reply to Thread
Results 1 to 4 of 4

Space in between date and time stamp

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    18

    Space in between date and time stamp

    Hi, I have tried to get the date and time stamp from another tab but it does not space out in between.
    How should I do it? My cell reads 5/8/2012 9:20:29 PM showing 5/9/2012 21:20.

    My other tab in cell is =IF(ISBLANK('Raw '!S2),"",MONTH('Raw '!S2)&"/"&DAY('Raw '!S2)&"/"&YEAR('Raw '!S2)&"/"&HOUR('Raw '!S2)&":"&MINUTE('Raw '!S2)) and returns 5/9/2012/2:57.
    Please help, I want only the date(m/dd/yyy) and time (hr:min) only. Prefered return value to be 5/9/2012 21:20. Thanks!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Space in between date and time stamp

    Try this to remove the seconds...

    =IF(ISBLANK('Raw '!S2),"",TEXT('Raw '!S2, "m/d/yyyy hh:mm")*1)

    Format the cell with this formula with any date-time format you like.

  3. #3
    Registered User
    Join Date
    02-01-2011
    Location
    California, Sacramento
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Space in between date and time stamp

    Halmsteen,

    Remove the / between the quotation marks before &hour and leave a space between them. Should take care of it.

    BigDawg15

  4. #4
    Registered User
    Join Date
    05-17-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Space in between date and time stamp

    Thank you AlphaFrog and BigDawg15. Both answers helps. Cheers!

+ 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