資源描述:
《幾個(gè)常用excel函數(shù)用法》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫。
1、1=IF(ISNA(VLOOKUP(A3,錄入請用字段!$A$2:$C$9,2,0)),"",VLOOKUP(A3,錄入請用字段!$A$2:$C$9,2,0))2=IF(ISNA(VLOOKUP(A3,錄入請用字段!$A$3:$C$9,3,0)),"",VLOOKUP(A3,錄入請用字段!$A$3:$C$9,3,0))3=IF(A3="","",J3+D3+30)4=IF(A3="","",F3-M3)5=IF(K3="","",(TODAY()-K3))6=IF(J3="","",IF((K3>=TODAY()),"未
2、到期","到期"))7=IF(O3>=0,N3,"")8=IF(O3<0,N3,0)9=IF(AND(O3>0,O3<=30),N3,0)10=IF(AND(O3>30,O3<=60),N3,0)11=IF(AND(O3>30,O3<=60),N3,0)12=IF(O3>90,N3,0)=A1&"明細(xì)表"=IF(ROW(錄入表!1:1)>COUNTIF(錄入表!$A:$A,$A$1),"",INDEX(錄入表!A:A,SMALL(IF(錄入表!$A$3:$A$1000=$A$1,ROW(錄入表!$A$3:$A$1000)
3、),ROW(錄入表!1:1))))=A1&"明細(xì)表"=IF(ROW(錄入表!1:1)>COUNTIF(錄入表!$C:$C,$A$1),"",INDEX(錄入表!A:A,SMALL(IF(錄入表!$C$3:$C$200=$A$1,ROW(錄入表!$C$3:$C$200)),ROW(錄入表!1:1))))6 一、求各種類型單元格的個(gè)數(shù) (1)求真空單元格個(gè)數(shù):=COUNTIF(數(shù)據(jù)區(qū),"=") (2)非真空單元格個(gè)數(shù):=COUNTIF(數(shù)據(jù)區(qū),"<>")相當(dāng)于counta()函數(shù) (3)文本型單元格個(gè)數(shù):=COUNTI
4、F(數(shù)據(jù)區(qū),"*")假空單元格也是文本型單元格 (4)區(qū)域內(nèi)所有單元格個(gè)數(shù):=COUNTIF(數(shù)據(jù)區(qū),"<>""") (5)邏輯值為TRUE的單元格數(shù)量=COUNTIF(數(shù)據(jù)區(qū),TRUE) 小說明: EXCEL單元格內(nèi)數(shù)據(jù)主要有以下幾類:數(shù)值型,文本型,邏輯型,錯(cuò)誤值型。其中時(shí)間類型也是一種特殊的數(shù)值。文本類型的數(shù)字是文本型?! 】諉卧瘢褐甘裁磧?nèi)容也沒有的單元格,姑且稱之為真空。 假空單元格:指0字符的空文本,一般是由網(wǎng)上下載來的或公式得來的,姑且稱之為假空。 date指單元格區(qū)域,該參數(shù)不能是數(shù)組 二、
5、求><=某個(gè)值的單元格個(gè)數(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$5) (7)等于E5單元格的值=COUNTIF(數(shù)據(jù)區(qū),$E$5) (8)小于E5單元格的值=COUNTIF(數(shù)據(jù)區(qū),"<"&$E$5)
6、 (9)大于或等于E5單元格的值=COUNTIF(數(shù)據(jù)區(qū),">="&$E$5) (10)小于或等于E5單元格的值=COUNTIF(數(shù)據(jù)區(qū),"<="&$E$5) 三、等于或包含某N個(gè)特定字符的單元格個(gè)數(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單元格的
7、內(nèi)容=COUNTIF(數(shù)據(jù)區(qū),"*"&D3&"*") (7)第2字是D3單元格的內(nèi)容=COUNTIF(數(shù)據(jù)區(qū),"?"&D3&"*") 注:countif()函數(shù)對英文字母不區(qū)分大小寫,通配符只對文本有效6 四、兩個(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"
8、})*{1,-1}) (4)>10并且<15=SUM(COUNTIF(數(shù)據(jù)區(qū),{">10",">=15"})*{1,-1}) 注:一般多條件計(jì)數(shù)使用SUMPRODUCT函數(shù),以上方法較少使用,僅供參考?! ⊙a(bǔ)充:三個(gè)區(qū)域計(jì)數(shù):三個(gè)區(qū)域中>=60=SUM(COUNTIF(INDIRECT({"a46:a48","b