+ Reply to Thread
Results 1 to 13 of 13

Pull top 3 highest values

  1. #1
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212

    Pull top 3 highest values

    Hi there, I have a column of numbers that I would love it if Excel could pull out the top 3 or 4 highest values from the column. Is that possible?

    Kindest regards,
    Martin.

  2. #2
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,
    if all the numbers are in column a then put thisin column b

    =LARGE(A1:A20,1)&", "&LARGE(A1:A20,2)&", "&LARGE(A1:A20,3)
    i have just gone to a20 alter to suit you range

    steve

  3. #3
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212
    It worked like a charm, but I am sorry I forgot to mention this:
    colA ColB ColC
    11, 12, 5
    12, 13, 8
    13, 14, 6
    14, 15, 2
    15, 16, 9
    16, 17, 11

    So the formula would put into 3 different cells:
    16, 17, 11
    15, 16, 9
    12, 13, 8

    Sorry about this, I should have thought it through. Is the above possible?

    Kindest regards,
    Martin.

  4. #4
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,

    did you want the highest from the 3 columns seperatly or the hightest of the 3 columns

    =LARGE(A1:C30,1)&", "&LARGE(A1:C30,2)&", "&LARGE(A1:C30,3)
    this will do the highest of the 3 columns


    or just change the first formular for each column change the "a" to "b " and so on
    steve
    Last edited by stevekirk; 01-28-2008 at 08:39 PM.

  5. #5
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212
    Hey thanks alot...I think it best to post a file. Thanks again.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,

    hopefully as you need it

    steve
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212
    I have uploaded hopefully a clearer explanation. Thanks for the work though I appreciate the effort.

    Kindest regards,
    Martin
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    martin,

    i have had to change it a bit as this is the only way i know how to do it.

    steve
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212

    Thumbs up

    Ahhhh I see what you did. That is great. Good job. This will work nicely. Thanks a million.

  10. #10
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212
    Actually I have just discovered a problem with it. If there are two highest values the same or three for that matter, the formula won't differentiate between them. It just repeats the same range. Can this be fixed or not? If not, no problem

    Thanks anyway,
    Martin.

  11. #11
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    martin,

    can they be sorted in decending order if so you can just link the top e columns . if not i wil have to look at it later.

    having said that other members will be able to solve it no problem



    steve
    Last edited by stevekirk; 01-29-2008 at 01:31 AM.

  12. #12
    Registered User
    Join Date
    03-27-2009
    Location
    Tegucigalpa
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Pull top 3 highest values

    Hi, I have a similar qustion. I have a dataset as follows:

    SchoolName Municipality Score
    School1 Muni1 10
    School2 Muni2 30
    School3 Muni3 65
    School4 Muni4 80
    School5 Muni5 66
    School6 Muni6 77
    . . .
    . . .
    . . .
    SchoolN MuniN N

    I need to pull the top 3 schools, along with their municipality, based on their score. I've done it manually by ordering and filtering, and using copy+paste, but now I have 100+ datasets.

    Can anybody help me out with this? Thanks.

  13. #13
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Pull top 3 highest values

    Hi db1,

    You would be better served if you posted your question in a separate thread, that way you won't be hijacking Martindelica's thread.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ 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