+ Reply to Thread
Results 1 to 2 of 2

Sort Largest to Smallest For Column Pairs

  1. #1
    Registered User
    Join Date
    02-25-2012
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    2

    Sort Largest to Smallest For Column Pairs

    Hello

    I have a worksheet with a very long range of columns. I am trying to sort column pairs. Here are the details:

    COL A COL B COL C COL D ... COL GY COL GZ
    ROW1 1 23 1 34 ... 1 7
    ROW2 2 19 2 38 ... 2 2
    ROW3 3 45 3 67 ... 3 68
    ... ... ... ... ... ... ... ...
    ROW40 39 25 39 43 ... 39 9

    I am trying to sort as follows:

    Sort COL B highest to lowest for column pairs COL A & COL B then Sort COL D highest to lowest for column pairs COL C & COL D... and so on and so on....

    NOTE - The worksheet has alot of columns thus I do not want to have to manually select each column pair to sort. Please advise and Thank You!

    BlueStar Cloud

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sort Largest to Smallest For Column Pairs

    This should do it:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-25-2012
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Sort Largest to Smallest For Column Pairs

    Thank You! It looks like it works... I'll give it some test runs and confirm how accurate (there's quite a bit of data I'm processing)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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