+ Reply to Thread
Results 1 to 3 of 3

Sort a table with its values accordingly to another column

  1. #1
    Registered User
    Join Date
    12-24-2018
    Location
    Haifa
    MS-Off Ver
    365
    Posts
    1

    Sort a table with its values accordingly to another column

    Hello, I have a table which have 2 columns:
    Name & Grade.

    I have another column which have the names that are sorted in some way(not alphabetically - just non logical sort).
    I want to sort the 1st table which contains the columns & its grades accordingly to the additional column .

    Here is an example attached
    excel.JPG

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Sort a table with its values accordingly to another column

    If you don't mind using a helper column you could use MATCH to return the position of the names in the list and then sort the table on that column to give the desired result.

    See attached.
    This formula in H2 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then just a case of sorting the table on column H.

    Another way would be to lookup the values from the table into the list and use that as it's already in the correct order.
    This in L2 and copied down would do that:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB
    Attached Files Attached Files

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,748

    Re: Sort a table with its values accordingly to another column

    does this help

    https://support.office.com/en-us/art...4-a02205834d72
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. Pivot table - sort two column values using 2 different sort values
    By Jacks18928 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2018, 07:38 AM
  2. [SOLVED] VBA Auto Sort Table When Change Made to Column A by values in Column T
    By peterambart in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2018, 12:17 PM
  3. Replies: 0
    Last Post: 08-18-2017, 03:03 PM
  4. Sort a column but sort VALUES only (not formatting)
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2014, 05:25 AM
  5. [SOLVED] Look at column in table, remove duplicates and sort to another table
    By pdx-adm-trm01 in forum Excel General
    Replies: 1
    Last Post: 03-19-2014, 06:56 PM
  6. [SOLVED] Need a formula to sort a table into table (for a Table Plan) and name in column 2
    By jbpianoman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2012, 09:21 AM
  7. Replies: 0
    Last Post: 11-11-2011, 04:10 PM

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