+ Reply to Thread
Results 1 to 17 of 17

Pull highest value

  1. #1
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Pull highest value

    Is there a formula to pull the highest, second highest, third highest etc value from a range of cells
    for instance, if I wanted the highest value between A1 and A100 to show up in A102

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Pull highest value

    try the large function
    large(range,1) change to 2,3,4 etc.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    Thank you vlady

    Question

    what if there is a name adjacent to the value in the range and I want the name next to the highest value?

    for instance, the highest value will show up in A20

    A10 is the highest value in the range

    B10 had the name of the value

    what formula can pull B10 into B20?

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Pull highest value

    you can use vlookup,lookup,index/match

    something like

    =vlookup(large(range,1),A:B,2)
    index(B:B,match(large(range,1),.A:A,0))

  5. #5
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    Pulling the highest value automaticallyPicture 1.png

    I dont always explain myself well so I put a picture

    what equation would I put in B7 to get 21
    what equation would I put in A7 to get cows

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Pull highest value

    try..

    B7=large(B1:B5,1)
    A7=index(A1:A5,match(B7,B1:B5,0))

    btw..maybe next time you can post the real workbook other members can't open pictures.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Pull highest value

    Hi,

    Find the attached with your example and answers.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  8. #8
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    Will do Vlady, I didn't know other members can't view
    Marvin you are a life saver

    thank you both for you help. I truly appreciate it, now I can go to sleep!

  9. #9
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    So everyone just donates their advice? this site doesn't take donations?

  10. #10
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    MarvinP, if you would be so kind, would you be able to post the equations if I wanted the second highest values in A8 and B8?

  11. #11
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    I used =Large for the values in B but it doesnt seem to pull the name from column A

  12. #12
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Pull highest value

    See Marvin's sheet updated with 2nd and 3rd highest values too....
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  13. #13
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Pull highest value

    Try:
    =LARGE($B$1:$B$4,2)
    in B7 and A7 will work with no changes.

  14. #14
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    Help With Error.xlsx

    Hey Ace and Marvin, I tried to follow this flow with the example and for B8 and B9 I get "#N/A" any ideas on why that's the case?

  15. #15
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Pull highest value

    In A7 use

    =INDEX($A$1:$A$4,MATCH(B7,$B$1:$B$4,0))

    this will return exact matches

  16. #16
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: Pull highest value

    wait never mind, I missed your updates. I believe its all fixed. Thank you!

  17. #17
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Pull highest value

    Hi,

    You're missing your match_type parameter: =INDEX($A$1:$A$4,MATCH(B7,$B$1:$B$4,0))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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