+ Reply to Thread
Results 1 to 8 of 8

Convert date format to (dd/mm/yyyy)

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Convert date format to (dd/mm/yyyy)

    Dear all, i need to convert the date format form 20042008 to 20/04/2008

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Convert date format to (dd/mm/yyyy)

    Try highlighting the column of numbers
    Data - Text To Columns
    Deliminated - Next
    UNcheck ALL options - Next
    Date - YDM
    Finish

  3. #3
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Convert date format to (dd/mm/yyyy)

    Hi Jonmo, it works , but i need to solved by formula. as it having in the multiple cell..thanks..

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Convert date format to (dd/mm/yyyy)

    I don't understand....
    Text To Columns CAN do multiple cells...An entire column if needed.

    Anyway, in a formula you could use

    =DATE(LEFT(A1,4),RIGHT(A1,2),MID(A1,5,2))

  5. #5
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Convert date format to (dd/mm/yyyy)

    Hi Jonmo, it goes to results as 8/20/2004 except 20/04/2008

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Convert date format to (dd/mm/yyyy)

    I think you need the following:

    =DATE(right(A1,4),mid(A1,3,2),left(A1,2))

    Hope this helps.

    Pete

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Convert date format to (dd/mm/yyyy)

    Oh crap, I was reading 20042008 as Aug 20 2004...LOL

    Pete's got it right..


    Also, in my original post using text to columns..

    This
    Date - YDM
    should be
    Date - DMY

  8. #8
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Convert date format to (dd/mm/yyyy)

    Hi Pete , thanks it works perfectly..

    @ Jonmo .. thanks...

+ 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