|
当今互联网时代,什么都跟数据有关,excel是我们工作的好伴侣,里面的函数尤为重要,用法也多样。今天就来讲讲count函数的用法吧!

工具/原料
WPS或MS excel电脑一台方法/步骤
准备好样本数据,了解目的:求缺考人数;

在左上角空格输入“=”,点相应的左上角那个数据,添上“>100”,因为这里的数都没有超过100。因此,可以用这方法去判断哪个是FALSE;

回车一下,就得到了FALSE;

然后用单元格交汇处右下角的黑十字向右向下去同类运算复制,结果有的是TRUE,是因为那是计算机编码内把汉字设为比100大的代码,所以显示为TRUE。这就是我们解决问题的关键所在;

然后在左上角那个单元格作一下“0/”的运算,也就是分子为0。回车一下;


然后向右向下进行同类运算复制;

有的单元格显示为0,这个就是有效的数字;

在缺考人数那个单元格下方输入"=count()",括号内容是刚刚做出来的那组数据;

按下ENTER,就得到了我们想要的结果;

这个用法其实就是运用了count只能运算数值这个原理,只有当文字转化为数值我们才可以进行统计;
不过,凡事都不可能只有一种解决方案,我在这里抛砖引玉,希望大家给出更多好的方法。