Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Excel formula 查找包含特定值的单元格范围_Excel Formula_Excel 2010 - Fatal编程技术网

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键,使其成为带花括号的数组公式