The excel has two columns NO. & QTY. I would like to retrieve the NO. with maximum quantity. There is a repetition of numbers too. Please suggest a formula.
Why the formula? Pivot is far more efficient at this sort of analysis.
To Find No. Corresponding to Max Quantity
=INDEX($B$3:$B$12824,MATCH(E3&"_"&MAX(IF($A$3:$A$12824=E3,$C$3:$C$12824)),$A$3:$A$12824&"_"&$C$3:$C$12824,0))
Max Quantity
=MAX(IF($A$3:$A$12824=E3,$C$3:$C$12824))