A列部門為“采購(gòu)部”的數(shù)量
=COUNTIF(A:A,“采購(gòu)部”)
02
A列非空單元格的個(gè)數(shù)
=COUNTIF(A1:A10,“<>”)
03
A列單元格包含“采購(gòu)部”的數(shù)量
=COUNTIF(A:A,“*采購(gòu)部*”)
04
A列單元格中5個(gè)字符的數(shù)量
=COUNTIF(A:A,"?????")
05
包含文本內(nèi)容的單元格數(shù)量
=COUNTIF(A:A,"*")
06
按分隔符拆分值
例:A1=1:2:3
=TRIM(MID(SUBSTITUTE(A1,":",REPT(" ",100)),1,100)) 值為1
=TRIM(MID(SUBSTITUTE(A1,":",REPT(" ",100)),100,100)) 值為2
=TRIM(MID(SUBSTITUTE(A1,":",REPT(" ",100)),200,100)) 值為3
07
從單元格引用工作表名稱
INDIRECT(A2&"!A:B")
08
調(diào)起打印機(jī)
ActiveSheet.PageSetup.PrintArea = "$A$1:$M$" & j
ActiveWindow.SelectedSheets.PrintOut Copies:=1
聯(lián)系客服