不卡AV在线|网页在线观看无码高清|亚洲国产亚洲国产|国产伦精品一区二区三区免费视频

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 工具軟件 > 辦公軟件學(xué)習(xí) > Excel教程 > Excel函數(shù) > excel中count if函數(shù)的使用方法

excel中count if函數(shù)的使用方法

時(shí)間: 曉生931 分享

excel中count if函數(shù)的使用方法

  Excel IF函數(shù)即count if 函數(shù),運(yùn)用它可以對(duì)一系列繁雜的數(shù)據(jù)進(jìn)行篩選,得到自己想要的數(shù)據(jù)結(jié)果。今天,學(xué)習(xí)啦小編就教大家在Excel中count if 函數(shù)的使用方法。

  Excel中COUNTIF函數(shù)使用方法一

  (1) 求真空單元格個(gè)數(shù):=COUNTIF(數(shù)據(jù)區(qū),"=")

  (2) 非真空單元格個(gè)數(shù): =COUNTIF(數(shù)據(jù)區(qū),"<>") 相當(dāng)于counta()函數(shù)

  (3) 文本型單元格個(gè)數(shù): =COUNTIF(數(shù)據(jù)區(qū),"*") 假空單元格也是文本型單元格

  (4) 區(qū)域內(nèi)所有單元格個(gè)數(shù): =COUNTIF(數(shù)據(jù)區(qū),"<>"""),如果數(shù)據(jù)區(qū)內(nèi)有",該公式不成立.

  (5) 邏輯值為T(mén)RUE的單元格數(shù)量 =COUNTIF(數(shù)據(jù)區(qū),TRUE)

  Excel中COUNTIF函數(shù)使用方法二

  (1) 大于50=COUNTIF(數(shù)據(jù)區(qū),">50")

  (2) 等于50=COUNTIF(數(shù)據(jù)區(qū),50)

  (3) 小于50 =COUNTIF(數(shù)據(jù)區(qū),"<50")

  (4) 大于或等于50 =COUNTIF(數(shù)據(jù)區(qū),">=50")

  (5) 小于或等于50 =COUNTIF(數(shù)據(jù)區(qū),"<=50")

  (6) 大于E5單元格的值 =COUNTIF(數(shù)據(jù)區(qū),">"&$E)

  (7) 等于E5單元格的值 =COUNTIF(數(shù)據(jù)區(qū),$E)

  (8) 小于E5單元格的值 =COUNTIF(數(shù)據(jù)區(qū),"<"&$E)

  (9) 大于或等于E5單元格的值 =COUNTIF(數(shù)據(jù)區(qū),">="&$E)

  (10) 小于或等于E5單元格的值 =COUNTIF(數(shù)據(jù)區(qū),"<="&$E)

  Excel中COUNTIF函數(shù)使用方法三

  (1) 兩個(gè)字符 =COUNTIF(數(shù)據(jù)區(qū),"??")

  (2) 兩個(gè)字符并且第2個(gè)是B=COUNTIF(數(shù)據(jù)區(qū),"?B")

  (3) 包含B =COUNTIF(數(shù)據(jù)區(qū),"*B*")

  (4) 第2個(gè)字符是B =COUNTIF(數(shù)據(jù)區(qū),"?B*")

  (5) 等于“你好”=COUNTIF(數(shù)據(jù)區(qū),"你好")

  (6) 包含D3單元格的內(nèi)容 =COUNTIF(數(shù)據(jù)區(qū),"*"&D3&"*")

  (7) 第2字是D3單元格的內(nèi)容 =COUNTIF(數(shù)據(jù)區(qū),"?"&D3&"*")

  注:countif()函數(shù)對(duì)英文字母不區(qū)分大小寫(xiě),通配符只對(duì)文本有效

  Excel中COUNTIF函數(shù)使用方法四:兩個(gè)條件求個(gè)數(shù)

  (1)>10并且<=15 =SUM(COUNTIF(數(shù)據(jù)區(qū),">"&{10,15})*{1,-1})

  (2)>=10并且<15 =SUM(COUNTIF(數(shù)據(jù)區(qū),">="&{10,15})*{1,-1})

  (3)>=10并且<=15 =SUM(COUNTIF(數(shù)據(jù)區(qū),{">=10",">15"})*{1,-1})

  (4)>10并且<15 =SUM(COUNTIF(數(shù)據(jù)區(qū),{">10",">=15"})*{1,-1})或者=SUM(COUNTIF(數(shù)據(jù)區(qū),{">10",">=15"})-樣本數(shù)

  注:一般多條件計(jì)數(shù)使用SUMPRODUCT函數(shù),以上方法較少使用,僅供參考。

  補(bǔ)充:

  三個(gè)區(qū)域計(jì)數(shù): 三個(gè)區(qū)域中>=60 =SUM(COUNTIF(INDIRECT({"a46:a48","b48:b50","c47:c48"}),">=60"))

  補(bǔ)充:(集合運(yùn)算法)

  統(tǒng)計(jì)范圍,比如5<= x <=7

  可以分解為(x>=5)-(x>7)

  寫(xiě)為函數(shù):

  =countif(range,">=5")-countif(range,">7")


猜你喜歡:

1.excel中count if 函數(shù)的使用方法

2.excel常用公式if函數(shù)的使用教程

3.excel中count函數(shù)使用教程

4.excel表中if函數(shù)的使用方法

5.excel if函數(shù)多個(gè)條件怎么用教程

6.excel如何使用IF函數(shù) excel2016怎么使用IF函數(shù)

2000268