+ Reply to Thread
Results 1 to 3 of 3

Date Format

Hybrid View

  1. #1
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Date Format

    Is there a way to convert both of these numbers to dates dd/mm/yy or 05/03/12 and 23/02/12

    230212

    50312

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Date Format

    this will do the full task:

    =TEXT(DATE(2000+RIGHT(A1,2),MID(A1,LEN(A1)-3,2),LEFT(A1,LEN(A1)-4)),"DD/MM/YYYY")

    but if you just want to convert to date value so you can work with it and change formating as if it were a typed date, you can use this:

    =DATE(2000+RIGHT(A1,2),MID(A1,LEN(A1)-3,2),LEFT(A1,LEN(A1)-4))
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Date Format

    Thanks mate, thats got me sorted for the afternoon, those two had me a bit stuck for a while

+ 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