+ Reply to Thread
Results 1 to 4 of 4

Finding the category with the highest/lowest score

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Alabama
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Finding the category with the highest/lowest score

    I had a few people take a personality quiz and then recorded their scores. I want to be able to use a formula that tells you what category they scored the highest, lowest, second highest, and second lowest. Any ideas?
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Finding the category with the highest/lowest score

    B24: =LARGE(B$8:B$23,ROW($A1)) and copy down one cell. Drag across.

    B26: =SMALL(B$8:B$23,2) drag across
    B27: =SMALL(B$8:B$23,1) drag across

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Finding the category with the highest/lowest score

    Quote Originally Posted by TMShucks View Post
    B24: =LARGE(B$8:B$23,ROW($A1)) and copy down one cell. Drag across.

    B26: =SMALL(B$8:B$23,2) drag across
    B27: =SMALL(B$8:B$23,1) drag across

    Regards, TMS
    That would return the highest 4 scores, not the cetegories.

    NB: these formula must be array confirmed. Enter the formula into the cell, then hold down Shift and Ctrl, then press enter. If done correctly the formula will appear in the formula bar wrapped in curly braces {} do not try to enter these manually.

    In B24, copy down to B25, then right to K25

    =INDEX($A$8:$A$23,MATCH(LARGE(B$8:B$23+(ROW($A$8:$A$23)/10000),--LEFT($A24)),B$8:B$23+(ROW($A$8:$A$23)/10000),0))

    In B26, copy down to B27, then right to K27

    =INDEX($A$8:$A$23,MATCH(SMALL(B$8:B$23+(ROW($A$8:$A$23)/10000),--LEFT($A24)),B$8:B$23+(ROW($A$8:$A$23)/10000),0))

    Note that in the event of ties for 2nd highest / lowest, the result returned will be the category closest to the bottom of the table.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Finding the category with the highest/lowest score

    No, it would return the two highest and the two lowest scores. But you are right that it is returning scores not matching categories. Oops, didn't read the question properly. Not much space for categories though ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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