+ Reply to Thread
Results 1 to 4 of 4

How to sort rows based on their date?

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2011
    Posts
    32

    Question How to sort rows based on their date?

    Column A is dates. Column B is a number value. The dates (format: 31-Jan-2013) are out of order but I want them in order. I have tried to make a list then organise acending /decending order. It sorts them buy them by the day ex: 1-may-1982, 3-dec-2010, 8-dec-1975, 9-may-2012.

    Hopefully you can understand what I'm asking. I would like them to appear in cronological order. Any suggestions?

    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How to sort rows based on their date?

    IF your dates are actually dates, they should sort fine, so that leads me to believe that they are actually text that just looks like dates? test with =isnumber(cell_ref) FALSE means they are text

    To correct this, select the entire range of "dates", go into text-to-columns (under data) select "delimited", enter until you get to the window with "column data format", select date
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-08-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2011
    Posts
    32

    Re: How to sort rows based on their date?

    Wow you're good. It worked. Thanks

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How to sort rows based on their date?

    Happy to help and thanks for the feedback

+ 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