+ Reply to Thread
Results 1 to 6 of 6

Sort data and date together

  1. #1
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Question Sort data and date together

    Hi Gurus,

    I've a sample data as per attached, filename: SAMPLE02.xls.

    I've been having some issues to perform sorting based on column A (server name) first then column B (start time).

    The result is not as expected due to the weird date format in column B.

    Is there a better way to do this sorting?

    Any help would be appreciated.

    Thanks.


    - Peter
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-04-2012
    Location
    Stamford,Connecticut,USA
    MS-Off Ver
    Excel 2003
    Posts
    105

    Re: Sort data and date together

    Please be more specific on what issue you are trying to solve. I did the sorting and it looks fine to me.

  3. #3
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Sort data and date together

    Hi RaulRodriguez,

    Thanks for your response.

    What I'm trying to do are the following:
    1) Sort column A (server name) first to get all the same server name group together.
    2) Sort column B (start time) based on the earlier date and time sorted first and the latest last.

    I've tried again and had attached the updated sample, filename: SAMPLE02_2.xls

    I've also highlighted in red for some of those dates not being sorted.

    Could you help to take a look?

    Thanks a lot.


    - Peter
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Sort data and date together

    Hello, I have done in the following way:
    Column B: Data menu -> select text in the column fixed width forward, then forward again and choose destination = $ I $ 2. end.
    Then I selected the whole range A1: N158, menu Data -> Sort settler level 1 "K"
    Level 2 column "L" level 3 servers.
    If you want to change the server first then the next day and now you go ahead.




    SAMPLE02(2).zip

  5. #5
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Sort data and date together

    Hi Berna11,

    Thanks for your response.

    I've checked your output.

    It's nicely sorted by date, but not the server name.

    Anyway to get this output in order as stated above for point 1 and 2?

    Thanks.


    - Peter.
    Last edited by Blu3St@r; 06-14-2012 at 12:18 PM.

  6. #6
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Sort data and date together

    see if it's okay.
    I did sort
    1 column K
    2 column A
    3 column L


    SAMPLE02(3).zip

+ 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