View Single Post
  #4   Report Post  
Jim May
 
Posts: n/a
Default

How is it that we test using the row argument only (getting the maximum) and
Excel returns the column letter; and we give the column argument 0
(zero)..??? programming,, go figure...



"Domenic" wrote in message
...
Try...

E2, copied down:

=INDEX($A$1:$D$1,MATCH(MAX(A2:D2),A2:D2,0))

Hope this helps!

In article ,
"EK" wrote:

A B C D Result
1 2 3 4 D
1 2 4 3 C
3 1 2 4 D
4 3 2 1 A

I would like to know the formula to get Result.