修改此控制項目會使頁面自動更新
公式與函數輔助説明
- 歡迎使用
- 公式與函數簡介
-
- ACCRINT
- ACCRINTM
- BONDDURATION
- BONDMDURATION
- COUPDAYBS
- COUPDAYS
- COUPDAYSNC
- COUPNUM
- CUMIPMT
- CUMPRINC
- CURRENCY
- CURRENCYCODE
- CURRENCYCONVERT
- CURRENCYH
- DB
- DDB
- DISC
- EFFECT
- FV
- INTRATE
- IPMT
- IRR
- ISPMT
- MIRR
- NOMINAL
- NPER
- NPV
- PMT
- PPMT
- PRICE
- PRICEDISC
- PRICEMAT
- PV
- RATE
- RECEIVED
- SLN
- STOCK
- STOCKH
- SYD
- VDB
- XIRR
- XNPV
- YIELD
- YIELDDISC
- YIELDMAT
-
- AVEDEV
- AVERAGE
- AVERAGEA
- AVERAGEIF
- AVERAGEIFS
- BETADIST
- BETAINV
- BINOMDIST
- CHIDIST
- CHIINV
- CHITEST
- CONFIDENCE
- CORREL
- COUNT
- COUNTA
- COUNTBLANK
- COUNTIF
- COUNTIFS
- COVAR
- CRITBINOM
- DEVSQ
- EXPONDIST
- FDIST
- FINV
- FORECAST
- FREQUENCY
- GAMMADIST
- GAMMAINV
- GAMMALN
- GEOMEAN
- HARMEAN
- INTERCEPT
- LARGE
- LINEST
- LOGINV
- LOGNORMDIST
- MAX
- MAXA
- MAXIFS
- MEDIAN
- MIN
- MINA
- MINIFS
- MODE
- NEGBINOMDIST
- NORMDIST
- NORMINV
- NORMSDIST
- NORMSINV
- PERCENTILE
- PERCENTRANK
- PERMUT
- POISSON
- PROB
- QUARTILE
- RANK
- SLOPE
- SMALL
- STANDARDIZE
- STDEV
- STDEVA
- STDEVP
- STDEVPA
- TDIST
- TINV
- TTEST
- VAR
- VARA
- VARP
- VARPA
- WEIBULL
- ZTEST
COUNTMATCHES
COUNTMATCHES 函數會傳回代表在原始字串值中指定子字串顯示次數的數字值。
備註
COUNTMATCHES 會以獨立次數形式計算重疊符合項目(=COUNTMATCHES("asasa", "asa") 會傳回 2)。
搜尋字串中允許 REGEX 以進行更複雜的搜尋。
依照預設,該搜尋不會區分大小寫。如要在搜尋中區分大小寫,請將 REGEX 函數用於搜尋字串。
範例 |
---|
=COUNTMATCHES("Please, could you, if you don’t mind, count the number of commas?", ",") 會傳回 3。 =COUNTMATCHES("To count all words, use regex.", REGEX("\w+")) 會傳回 6。 =COUNTMATCHES(A1, REGEX("\w+")) 會傳回 A1 中的字數。 |
也請參閲REGEX
感謝您提供意見。