+ Reply to Thread
Results 1 to 2 of 2

Dynamic sorting using multiple columns

  1. #1
    Registered User
    Join Date
    04-28-2009
    Location
    Constanta, Romania
    MS-Off Ver
    Excel 2003
    Posts
    19

    Dynamic sorting using multiple columns

    I have three columns which i would like to sort dynamic. I managed to sort using one criteria using the RANK function, but i am really stuck on making it to sort the data using another column as the second criteria.

    In the attached document the data from columns F:I is sorted by CAT 2. As in the example, in case of a tie, e.g. T4=T5, i would like to have T4 and T5 sorted by CAT 1 column with the biggest value being the first, here, T5 would be above T4 in column G.

    Thanks in advance for your help!
    Attached Files Attached Files
    Last edited by Frekazoid; 01-28-2014 at 12:34 PM.

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Dynamic sorting using multiple columns

    You can create a helper column to the left of your TITLE column. Extract the rightmost digit in TITLE by using something like =RIGHT(H2,1). Now use a custom sort in your table, first by CAT2, then by your helper column, descending. Hide it if you wish.
    Peter

+ 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. Need help sorting multiple columns
    By collbull in forum Excel General
    Replies: 9
    Last Post: 01-23-2014, 03:03 PM
  2. Dynamic sorting of 3 columns
    By tomicolo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-09-2013, 09:42 PM
  3. Sorting Multiple Columns
    By obrien979 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-21-2013, 07:45 PM
  4. Dynamic Sorting on Columns containing Occasional Values
    By ChrisArthur in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-31-2012, 10:57 AM
  5. Dynamic Range with Multiple Columns
    By Jonathan78 in forum Excel General
    Replies: 7
    Last Post: 08-27-2011, 03:49 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