+ Reply to Thread
Results 1 to 2 of 2

Convert text to date time format

  1. #1
    Registered User
    Join Date
    09-02-2011
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Convert text to date time format

    Please can you assist me with converting the following text to date time format (yyyy/mm/dd hh:mm)

    20110701 09:46

    Thanks
    Neil

  2. #2
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Convert text to date time format

    if the above text in cell # A1, in B1 try

    =--(MID(A1,5,2)&"/"&MID(A1,7,2)&"/"&LEFT(A1,4)&" "&RIGHT(A1,5))

    and apply the date & time format mm/dd/yyyy h:mm
    Azam
    If you want to say Thank you to a member, click the reputation icon (Star) in the left bottom of the post.
    For prompt answer, be descriptive, concise, short, direct, and to-the-point.

+ 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