Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/23.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计数_Excel_Dynamic_Countif - Fatal编程技术网

动态Excel计数

动态Excel计数,excel,dynamic,countif,Excel,Dynamic,Countif,我有一个带有值列表的电子表格,我正试图确定高于某个阈值的计数。使用countif,我可以在13.5%的阈值内硬编码 threshold: 13.50% count above: 5 # Score 1 13.06% 2 15.20% 3 16.39% 4 17.61% 5 18.11% 6 16.49% 7 13.43% 8 11.60% 9 10.69% 10 9.04% =countif(

我有一个带有值列表的电子表格,我正试图确定高于某个阈值的计数。使用countif,我可以在13.5%的阈值内硬编码

threshold:  13.50%
count above:    5


#   Score   
 1  13.06%  
 2  15.20%  
 3  16.39%  
 4  17.61%  
 5  18.11%  
 6  16.49%  
 7  13.43%  
 8  11.60%  
 9  10.69%  
 10  9.04%  

=countif(B6:B15,">13.5%")
生成所需的6的输出


如何将单元格C1作为阈值而不是硬编码在>“13.5%”中?

您只需移动引号并添加一个与符号即可。比如:

=COUNTIF(B6:B15,">" & C1)

应该有用

将字符串与
&
“>”&C1连接起来