Originally Posted by
Pete_UK
Your RANK formulae (e.g. this in B2: =RANK(Sheet2!B2,Sheet2!B2:B8,1) ) are using ranges which will adjust when copied down. Is this what you want? It would be more usual to use this:
=RANK(Sheet2!B2,Sheet2!B$2:B$8,1)
so that when you copy it down the range remains the same.
As your CF condition is looking for the Top 1, then you can use the MAX function to determine if the value should be displayed, e.g. in C21:
=IF(VLOOKUP(INDIRECT($C$19),$A$2:$D$8,COLUMNS($A:B),0)=MAX(B$2:B$8),B$1,"")
and in C22:
=IF(VLOOKUP(INDIRECT($C$19),$A$2:$D$8,COLUMNS($A:B),0)=MAX(B$2:B$8),VLOOKUP(INDIRECT($C$19),$A$2:$D$8,COLUMNS($A:B),0),"")
Copy these across to the next two columns.
Hope this helps.
Pete
Bookmarks