+ Reply to Thread
Results 1 to 5 of 5

highest number formula

  1. #1
    Registered User
    Join Date
    08-27-2007
    MS-Off Ver
    microsoft office professional plus 2019
    Posts
    39

    Thumbs down highest number formula

    right i have a little spreadsheet. row A has 9 names from a2 to a10
    in column b this has some various scores taken from another part of the spreadsheet......so b2=10 b3 = 15 etc

    what i would like my spreadsheet to do is to check through the numbers to see which is the highest number which would make the name corresponding to that number be in 1st place on another part of the sheet........

    i can get the first 8 numbers to work with names but as soon as i add a 9th if function then i get an error.....

    can someone tell me where i am going wrong or could they suggest a better funtion than IF

    C SHIFT PUNDITS
    bob 13
    bob1 14
    bob 8
    bob2 17
    bob 15
    bob3 18
    bob 12
    bob4 9
    bob 9


    bob 5 1ST FALSE
    bob1 4 2ND
    bob 9 3rd
    bob2 2 4th
    bob 3 5th
    bob3 1 6th
    bob 6 7th
    bob4 7 8th
    bob 7 9th

    =IF(B13=1,A13,IF(B14=1,A14)) and so on but when i get to if (b21=1,a21) i get the error and i cant get past it

    thanks

    rod

  2. #2
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi rod,

    Try this formula.

    Please Login or Register  to view this content.
    I've use the rank function combined with vlookup function.

    I've attached an example file. Let me know if this is what you need.

    Hope that helps.
    Attached Files Attached Files
    Corine

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    need help with a formula

    First, you can only nest up to 7 IF functions (through Excel 2003), so you've struck a limit.

    Second, using only the RANK function, duplicate values receive the same rank. Consequently, some rank values are skipped.

    Example using your data in A2:B10
    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi Guyz!

    I've refined my formula: combined vlookup, rank and countif function.

    Please Login or Register  to view this content.

    Hope that helps.

  5. #5
    Registered User
    Join Date
    08-27-2007
    MS-Off Ver
    microsoft office professional plus 2019
    Posts
    39
    thanks for that


    works like a charm

+ 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