+ Reply to Thread
Results 1 to 4 of 4

Sorting from Right to Left

  1. #1
    Registered User
    Join Date
    02-04-2009
    Location
    minneapolis
    MS-Off Ver
    Excel 2003
    Posts
    2

    Sorting from Right to Left

    Question--how do you sort an excel column from the right to the left of the cells. For instance I want to sort all the items ending in zzzz, and I want to sort all the cells from right to left (either in an ascending or descending order)

    aabeasmuno
    aafitzgeraldzzzz
    aanya
    aaronaonblackman
    aarondickinson@zzzz
    Last edited by NBVC; 02-04-2009 at 12:57 PM. Reason: Adjusted title for more searching functionality

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help A sales guy Pleease..sort RT to LT

    Hi, I don't understand. Can you clarify please? What do you mean by sorting 'right to left of the cells'?

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-04-2009
    Location
    minneapolis
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Help A sales guy Pleease..sort RT to LT

    Instead of the normal sort of a column where it would start with the first letter of the cell, I want to start with the last letter of the cell and sort BACK from there


    NORMAL ASCENDING SORT
    aabeasmuno
    aafitzgeraldzzzz
    aanya
    aaronaonblackman
    aarondickinsonzzzz



    SORT FROM LAST LETTER OF THE CELL [LAST LETTER OF THE FIRST WORD IS “A”, SECOND WORDS LAT LETTER IS “N”}
    aanya
    aaronaonblackman
    aabeasmuno
    aafitzgeraldzzzz
    aarondickinsonzzzz

    Does that help?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help A sales guy Pleease..sort RT to LT

    Hi,

    Assuming your list starts in A1, first run the following macro and then sort columns A&B with B as the sort key.

    Please Login or Register  to view this content.

+ 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