+ Reply to Thread
Results 1 to 8 of 8

Filter highest diploma

  1. #1
    Registered User
    Join Date
    10-28-2015
    Location
    lebanon
    MS-Off Ver
    office 2013
    Posts
    12

    Filter highest diploma

    hello guys ,

    i have an excel that contains 1000 rows ... Capture.PNG
    as you can see in the example ... i have IDs for the same person i need to get the row with the highest degree ... for example if ID 1 has bachelor as highest degree i need that row to show up
    and if ID2 has bachelor and masters degree i need the masters degree to show up only ... im trying to create a new excel sheet with the highest degree for the people but it is really time consuming going over each ID one by one

    how can i do that

    thank you

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Filter highest diploma

    This can be done easily if you have a lookup table that ranks the types of qualification. You could use PowerQuery, if you have it, to produce the extracted data.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Filter highest diploma

    In your example, does John have 4 different Masters degrees and two Batchelors, or are they duplicates?

    You could have a table of Qualifications arranged in order from lowest to highest, and then use the MATCH function to convert them into an equivalent number. From that you can use the MAX function to define the highest qualification, and extract that to another sheet.

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Don't try to use the Paperclip icon, as it doesn't work on this forum.

    Hope this helps.

    Pete

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Filter highest diploma

    Hi All

    an helper column (degrees are in descending order).

    In column A IDs, in column E degrees, in F2 and down

    =IF(E2=IF(COUNTIFS(A:A,A2,E:E,"Master"),"Master",IF(COUNTIFS(A:A,A2,E:E,"Bachelor"),"Bachelor","High School")),"Show me up","")

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  5. #5
    Registered User
    Join Date
    10-28-2015
    Location
    lebanon
    MS-Off Ver
    office 2013
    Posts
    12

    Re: Filter highest diploma

    John has different masters and different bachelor's... Thank you guys... I will try your suggestions and get back to you

  6. #6
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Filter highest diploma

    I try this way:

    into F2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    accept with Ctrl+Shift+Enter and drag it down as needed.

    IMHO works correctly.
    Capture.JPG
    Check attached file.
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  7. #7
    Registered User
    Join Date
    10-28-2015
    Location
    lebanon
    MS-Off Ver
    office 2013
    Posts
    12

    Re: Filter highest diploma

    thank you KOKOSEK i tried your method and it worked fine .

  8. #8
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Filter highest diploma

    You welcome.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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] Filter Highest and lowest value of the Grade
    By dilipsny in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-09-2018, 08:03 AM
  2. Filter highest values of columns
    By neil40 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-26-2018, 05:15 PM
  3. Replies: 3
    Last Post: 06-09-2016, 12:51 PM
  4. [SOLVED] Max formula to return total of highest, second highest and third highest value
    By JonWilf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2016, 08:20 AM
  5. Unselecting highest - lowest filter
    By Elainefish in forum Excel General
    Replies: 2
    Last Post: 05-13-2014, 01:51 PM
  6. VBA code to find highest and 2nd highest number based in criteria
    By Michael007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-25-2011, 08:38 AM
  7. Replies: 3
    Last Post: 08-10-2006, 11:40 PM

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