View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Norman[_3_] Norman[_3_] is offline
external usenet poster
 
Posts: 9
Default choose the highest value in a row and return column number

jlburke4,

I have placed yur data in cells b2-g8 in a spreadsheet, and placed
headers called Cat1, Cat 2 etc. in b1-g1.
The formula below should give you what you ask for in your message for
row 2

=INDEX($B$1:$G$1;1;MATCH(MAX(B2:G2);B2:G2;0))

If you replace the 2 index with 3, 4 etc in the cells below you will
have your answers.

R Normann