How to find the first and second maximum number?

后端 未结 2 1038
时光说笑
时光说笑 2020-12-24 08:22

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 th

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-24 08:34

    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)

提交回复
热议问题