Hi!
Try this:
=INDEX(A1:A7,MATCH(MAX(B1:B7),B1:B7,0))
Where A1:A7 are the headers, B1:B7 ae the numeric values.
NB: if there are multiple instances of the max value the formula will return
the corresponding header of the first instance.
Biff
> Hi,
>
[quoted text clipped - 16 lines]
>
> swjtx
Biff - 18 Dec 2005 07:57 GMT
Ooops!
> =INDEX(A1:A7,MATCH(MAX(B1:B7),B1:B7,0))
Should be:
=INDEX(A1:G1,MATCH(MAX(A2:G2),A2:G2,0))
Where A1:G1 are the headers, A2:G2 ae the numeric values.
Biff
> Hi!
>
[quoted text clipped - 29 lines]
>>
>> swjtx
swjtx - 18 Dec 2005 16:48 GMT
Hi and Thanks! It worked like a charm.
I inserted the $ so I could drag the formula down without changing the
range (a tip from a different person on this site) like this:
=INDEX(A1:G1,MATCH(MAX($A$2:$G$2),$A$2:$G$2,0))
swjtx

Signature
swjtx
Neil M - 19 Dec 2005 00:45 GMT
Biff to the rescue, again!!! :)
Neil M