index,match - how to avoid same lookup when duplicates present
My formulae is:
=INDEX(A2:A290,MATCH(LARGE(Q2:Q290,1),Q2:Q290,0))
this will lookup the largest value in column Q then return the matching
value from A (say CHESTER), Great... unfortunately if there is another value
equal in size in the Q column...
=INDEX(A2:A290,MATCH(LARGE(Q2:Q290,2),Q2:Q290,0))
will also return (CHESTER), problem is that I want to return the next one,
not the same one as the last time....
Hope you are not as confused as I must be but an answer to this one is would
be so much appreciated.
Thanks very much
Nick
"Domenic" wrote:
In article ,
Nick wrote:
Thanks very much for that...
You're very welcome!
In reality, the value 12 is unkown, it is found from an
INDEX/MATCH...
Replace the number 12 with a reference to the cell containing the
INDEX/MATCH formula. So, for example, if D2 contains the INDEX/MATCH
formula, replace...
=12
with
=D2
also the row A2 would be unknown when constructing the function.
Can you elaborate?
|