View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Rick Rothstein \(MVP - VB\)[_318_] Rick Rothstein \(MVP - VB\)[_318_] is offline
external usenet poster
 
Posts: 1
Default Top 5 values...corresponding cell text

Put this in O2...

=INDEX(K$2:K$32,MATCH(P2,B$2:B$32,0))

and copy down to O6.

Rick


"Jambruins" wrote in message
...
In cells B2:B32 I have percentages. I have a formula in cells P2:P6 that
gives me the top 5 percentages in column B. I would like a formula in
cells
O2:O6 that give me the text in column K that matches the percentage in
column
P. My top 3 percentages are the same though so I need a formula to lookup
all three cases so I can't just use vlookup.

For example, I have 78% in cell P2. I would like O2 to have a formula
that
looks for 78% in column B and gives me the corresponding text in column K.

Thanks.