+ Reply to Thread
Results 1 to 2 of 2

Sort columns A and B based on High to Low values in column B

  1. #1
    Registered User
    Join Date
    02-24-2017
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    65

    Sort columns A and B based on High to Low values in column B

    Hey all,

    I have a list of values in Column A that goes like:


    A
    B
    C
    D
    ... etc

    and a list in column B that goes something like:


    0.1
    0.2
    0.01
    0.04
    ....etc

    I would like to arrange it so that the values in column B are listed from high to low, and the values in column A go with it


    So the final for this example would be

    B 0.2
    A 0.1
    D 0.04
    C 0.01

    How can I accomplish this?

    All help appreciated, thanks!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    39,184

    Re: Sort columns A and B based on High to Low values in column B

    Select both columns - Data ribbon - click Sort icon.

    Select the second column as the sort column and set the sort order.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sort columns B,C,D based on column B then loop to next 3 columns and repeat till last colu
    By Andy15 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-09-2017, 05:35 PM
  2. [SOLVED] sort columns based on another column
    By kuntalnr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2015, 06:41 PM
  3. [SOLVED] Sort the order of columns based on values of header?
    By Granite-Granny in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-14-2014, 08:05 PM
  4. Sort pivot tables based on values columns
    By Big_Kev in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-22-2013, 11:10 AM
  5. [SOLVED] Group/sort rows based on values in multiple columns?
    By teitoku in forum Excel General
    Replies: 5
    Last Post: 08-07-2012, 02:20 PM
  6. How do I sort based upon values in another column?
    By Huuuze in forum Excel General
    Replies: 5
    Last Post: 10-27-2010, 10:54 AM
  7. Sort Values in Bar Chart from High to Low
    By jpgoeth in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 05-22-2007, 03:05 AM

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