在Excel中具有第二大价值的条件 [英] Second Largest Value with criteria in excel
本文介绍了在Excel中具有第二大价值的条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在excel中查找给定条件的第二大值.所以我尝试使用的公式是
I'm trying to find the second largest value of a given criteria in excel. So the formula I was trying to use was
=LARGE(IF($B$1:$B$216=1,$F$1:$F$216,""),2)
.
问题在于它返回的是第二大的总值,但是我想要B列为1的第二大值.
The problem is that it is returning the second largest overall value, but I want the second largest value where column B is 1. Better Answers would be helpful.
推荐答案
您正在使用数组(CSE)公式,但没有输入数组格式的组合键.再次编辑单元格,然后单击Ctrl+Shift+Enter
.
You are using an array (CSE) formula and you did not enter it the key combination for array formuas. Edit the cell again and click Ctrl+Shift+Enter
.
或者如果您想要一个普通的(非CSE)公式,请使用以下命令:
Or if you want a normal (non CSE) formula, use this:
=AGGREGATE(14,6,$F$1:$F$216/($B$1:$B$216=1),2)
这篇关于在Excel中具有第二大价值的条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文