+ Reply to Thread
Results 1 to 5 of 5

Convert from a specific date format

  1. #1
    Registered User
    Join Date
    01-07-2009
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    27

    Convert from a specific date format

    If A1 is 81209, how can I use functions in B1 to convert it into DEC/09/2008? Thanks.
    Last edited by codepin; 01-08-2009 at 11:15 AM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Try this

    =DATE(LEFT("0"&A1,2)+2000,MID("0"&A1,3,2),RIGHT("0"&A1,2)) Custom format cell to mmm/dd/yyyy
    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

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    Another way again based on the assumption that you're using yearMMDD -- ie Jan 1 = 0101 and NOT 11

    Enter 20,000,000 in a blank cell.

    Copy it --> Highlight your date values -> Edit -> Paste Special -> Operation = Add

    Now highlight your revised values and use Text to Columns --> jump to step 3 and choose Date -> YMD -> Click Finish.

  4. #4
    Registered User
    Join Date
    01-07-2009
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    27
    To: Oldchippy & Donkeyote,

    Both are helpful, many thanks.

  5. #5
    Registered User
    Join Date
    01-07-2009
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    27
    Done, thanks for helping.

+ 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