+ Reply to Thread
Results 1 to 6 of 6

Thread: Need help changing date to a sortable date format

  1. #1
    Registered User
    Join Date
    03-05-2004
    Posts
    17

    Need help changing date to a sortable date format

    http://img840.imageshack.us/img840/4...2011171115.png

    Uploaded with ImageShack.us

    Please look at the attachment guys. Any inputs would be greatly appreciated

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    MS Office Excel 2007
    Posts
    841

    Re: Need help changing date to a sortable date format

    You should have posted your Excel file rather than a screenshot, it doesn't tell us much.
    That column, is it text or numbers?
    If only you'd posted that as an Excel file I wouldnt need to ask that question.

    Try this.
    Assuming it's text use Data/Text to Columns with a delimiter of space and comma.
    You should now have three columns
    Month, Date, Year

    Now you can filter on those three columns
    Regards
    Special-K

    I rarely return to a problem once I've answered it so make sure you clearly define what the trouble is.

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,800

    Re: Need help changing date to a sortable date format

    select column,select data tab ,select text to columns click next click next again select mdy from the options click finish that will change them all to real dates
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Valued Forum Contributor dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 1997, 2000, XP, 2003, 2007, 2010
    Posts
    2,403

    Re: Need help changing date to a sortable date format

    Hi Raj,

    Right click that column and format the cells as "MMM-YY" and now apply the filter and select data by month - year wise.

    Regards,
    DILIPandey

    < click on below 'star' if this helps >
    DILIPandey
    +919810929744
    dilipandey@gmail.com

  5. #5
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,800

    Re: Need help changing date to a sortable date format

    how will that work,?those are text dates otherwise it would have filtered correctly any way
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Valued Forum Contributor dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 1997, 2000, XP, 2003, 2007, 2010
    Posts
    2,403

    Re: Need help changing date to a sortable date format

    Hi,

    I think you are right.
    Not sure where I had seen dates in mm/dd/yyyy or dd/mm/yyyy format and thought to share the idea of changing their format to be mmm-yy as user wants to filter basis month and year. Anyways, thanks for the catch.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey
    +919810929744
    dilipandey@gmail.com

+ 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.2.0