Share via

Excel - Sort by Last Name

Anonymous
2023-08-21T15:28:23+00:00

I want to sort by last name. But I want the rest of the info (first name, address, phone #) to carry along with the proper last name. Now they get all mixed up. Last name gets a different first name, not the correct name. Thank you.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 additional answers

Sort by: Most helpful
  1. triptotokyo-5840 36,681 Reputation points Volunteer Moderator
    2023-08-21T18:07:23+00:00

    I want to sort by last name. But I want the rest of the info (first name, address, phone #) to carry along with the proper last name. Now they get all mixed up. Last name gets a different first name, not the correct name. Thank you.

    1.

    Let’s say your starting point is the same as the first (uppermost) image below.

    2.

    Let’s also say that you want to sort by Last Name.

    Do the following:-

    3.

    Highlight the range:-

    A 1 to D 11

     - then:-

    Data tab

    Sort & Filter group

    Click on:-

    Sort

     - to open the window called:-

    Sort

    4.

    Change the window called:-

    Sort

     - to read:-

    Sort by Last Name

    Sort on Cell Values

    Order Z to A

    My data has headers - make sure that this field has a tick (check mark ) in it

     - then click:-

    OK

    5.

    Now see the lower image below for the results.

    Notice that the results aren’t mixed up.

    Does that help?

    ![](https://learn-attachment.microsoft.com/api/attachments/25248595-465b-4799-9c26-9c0a4bb43340?platform=QnA"https://learn-attachment.microsoft.com/api/attachments/5634588e-e516-465b-9c62-49012f16e763?platform=QnA" title="filestore.community.support.microsoft.com" rel="ugc nofollow">![](https://learn-attachment.microsoft.com/api/attachments/5634588e-e516-465b-9c62-49012f16e763?platform=QnA

  2. Kevin Jones 7,265 Reputation points Volunteer Moderator
    2023-08-21T18:01:44+00:00

    We'll need to see you data. Take a screenshot of the list and post it here.

    Kevin

    0 comments No comments
  3. Anonymous
    2023-08-21T17:54:06+00:00

    This doesn't work.

    0 comments No comments