日记首页
|
列表
|
添加日记
|
管理登陆
标题:countif函数,统计有数据的单元格
<div><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;">countif函数的含义</span><br style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;"><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;">在指定区域中按指定条件对单元格进行计数(单条件计数)</span><br style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;"><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;">countif函数的语法格式</span><br style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;"><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;">=countif(range,criteria)</span><br style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;"><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;">参数range 表示条件区域——对单元格进行计数的区域。</span><br style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;"><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;">参数criteria 表示条件——条件的形式可以是数字、表达式或文本,甚至可以使用通配符。</span><br style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;"><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, arial, sans-serif; font-size: 16px; text-align: justify;">Countif(条件区域,条件)</span></div><font face="Arial"><span style="font-size: 14px;"><div><font face="Arial"><span style="font-size: 14px;"><br></span></font></div><div><font face="Arial"><span style="font-size: 14px;"><br></span></font></div><div>在一对一excel表格,课时里:</div>1.</span></font>统计E到AI有数据的单元格<div><font face="Arial">=COUNTIF(E31:AI31,"><""")</font></div><div><font face="Arial"><br></font></div><div><font face="Arial"><span style="font-size: 14px;">2.</span></font>统计E到AI有数据的单元格,把“请假”的单元格不统计</div><div><div><font face="Arial">=COUNTA(E6:AI6)-SUM(COUNTIF(E6:AI6,{"*请假*"}))</font></div></div><div><font face="Arial"><br></font></div>