+ Reply to Thread
Results 1 to 10 of 10

Getting Excel to recognize a "mm/yy" entry

Hybrid View

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    WA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Getting Excel to recognize a "mm/yy" entry

    I used the clickable link so that you would be able to open it.

    Anyway, here is my file. excel sample 1.xlsx

    I used the first empty cell (which was E8) to put the formula in.

    Thanks for your help

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

    Re: Getting Excel to recognize a "mm/yy" entry

    Insert a new column F, by clicking on the F to highlight the complete column and then clicking on <Insert>. This is just a temporary measure, as you will delete column E at the end to restore the structure of your data.

    Then put this formula in the new F2:

    Formula: copy to clipboard
    =IF(E2="","",DATE(2000+RIGHT(E2,2),LEFT(E2,FIND("/",E2)-1),1))


    Format that cell how you would like it to appear (eg using a Custom Format of m/yy to make it look like the same as E2).

    Then copy that formula all the way down to the bottom of your data.

    Then highlight column F again, click on <copy>, then right-click and choose Paste Special, then click against Values, then click OK, then press the <Esc> key. This will now have fixed those values, and so you can highlight column E and click on <Delete>.

    Then you should be able to sort your data in a meaningful way.

    Hope this helps.

    Pete

+ 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