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

Thanks Domenic, your comments clarify the Help "verbage".


"Domenic" wrote in message
...
As per Excel's help file...

"If array contains only one row or column, the corresponding row_num or
column_num argument is optional."

So, in this case, since we only have one row, the row_num argument is
omitted and MATCH(MAX(...)) is used for the column_num argument.

Hope this helps!

In article <5VLDe.80813$Fv.9465@lakeread01, "Jim May"
wrote:

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.