Excel formula 查找包含特定值的单元格范围
我尝试在类似以下表格上使用百分位数方法:Excel formula 查找包含特定值的单元格范围,excel-formula,excel-2010,Excel Formula,Excel 2010,我尝试在类似以下表格上使用百分位数方法: +--------+-------------+-------+ | Grade | StudentName | Score | +--------+-------------+-------+ | Grade1 | StudentA | 55 | | Grade1 | StudentB | 65 | | Grade1 | StudentC | 46 | | Grade2 | StudentA | 77
+--------+-------------+-------+
| Grade | StudentName | Score |
+--------+-------------+-------+
| Grade1 | StudentA | 55 |
| Grade1 | StudentB | 65 |
| Grade1 | StudentC | 46 |
| Grade2 | StudentA | 77 |
| Grade2 | StudentB | 55 |
| Grade2 | StudentC | 62 |
| ... | ... | ... |
+--------+-------------+-------+
我正在尝试在下面的矩阵中计算每个等级的四分位数
+---------+-----------------+-----------------+-----+
| | 25th Percentile | 50th Percentile | ... |
+---------+-----------------+-----------------+-----+
| Grade 1 | | | |
| Grade 2 | | | |
| Grade 3 | | | |
| ... | | | |
+---------+-----------------+-----------------+-----+
问题是百分比公式需要一个单元格数组。如何动态查找包含Grade1的单元格数组/单元格范围?F2的公式:
=QUARTILE(IF($A$2:$A$7=$E2,$C$2:$C$7,""),F$1)
然后按住CTRL+SHIFT+ENTER键,使其成为带花括号的数组公式