How to find the first and second maximum number?

user2957394 picture user2957394 · Nov 15, 2013 · Viewed 140.1k times · Source

I am trying to find first highest number and second highest number in excel. What shall i do for that. I did not find the right formula.

Note: I have already used the large and max formula.

=LARGE(E4:E9;1) 

edit: guys I know if i write 2 instead of 1 i will get the result but i have to click the mouse to see all result.

Answer

barry houdini picture barry houdini · Nov 15, 2013

If you want the second highest number you can use

=LARGE(E4:E9;2)

although that doesn't account for duplicates so you could get the same result as the Max

If you want the largest number that is smaller than the maximum number you can use this version

=LARGE(E4:E9;COUNTIF(E4:E9;MAX(E4:E9))+1)