Dear Frineds,

I need to implement if Function on a table as
c d e
5 m n p
6 0 6 10

if I m using if formula to find out the largest then m,n,p will be displayed

IF(C6>D6,C5,IF(AND(C6>E6),C5,IF(AND(D6>E6),D5,IF(AND(D6>C6),D5,IF(AND(E6>C6),E5,C6)))))

When i am using the above formulae, I m not getting 10 the largest, please correct me where i m wrong.