I almost have it, but don't know how to allow for the fact that there are two Index results for Bill because Match did not find George's row. Need another term in my formulas.
JimGood golfer.xlsx
I almost have it, but don't know how to allow for the fact that there are two Index results for Bill because Match did not find George's row. Need another term in my formulas.
JimGood golfer.xlsx
See if this does what you want.Array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.Formula:
Please Login or Register to view this content.
Row\Col B C D E F G H I J K L 1 small row index 2Bill 68 75 68 74 285 269 1 2Jim K2 :{=INDEX($B$2:$B$10,SMALL(IF($H2=$G$2:$G$10,ROW($B$2:$B$10)-MIN(ROW($B$2:$B$10))+1),COUNTIF($J$2:$J2,$J2)))} 3Jim 68 62 65 74 269 284 2 7Pete Arrray-entered in K2 and filled down. 4Henry 74 74 69 71 288 285 3 1Bill 5Zeke 75 76 69 73 293 285 4 1George 6Bob 76 66 73 72 287 287 5 5Bob 7Bent 77 68 72 80 297 288 6 3Henry 8Pete 65 69 73 77 284 292 7 9Oscar 9George 69 70 70 76 285 293 8 4Zeke 10Oscar 70 72 71 79 292 297 9 6Bent
Just to clarify...
MATCH/LOOKUP/H/VLOOKUP all will search for the 1st match they find - and then stop looking.
Depending on which function you use, and how you set it up, if it cant find a match, it will either return an error, or give you the next lowest answer
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
I am guessing that you want the golfers ranked from low to high without ties. I added a RANK column (L) with the following formula that breaks ties. This is biased in first encountered first considered.
Formula:
Please Login or Register to view this content.
Cells O2:O21 selected and this formula ARRAY ENTERED (Ctrl + Shift + Enter) This will return the names.
Formula:
Please Login or Register to view this content.
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
Thanks, that works.
Thanks, let me think that one through.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks