0

Excelのセル範囲内の特定のテキスト文字列の出現回数をカウントしたいと思います。一部のセルには1つの単語しか含まれていませんが、他のセルには複数の単語が含まれています。

4

2 に答える 2

1

countif関数を使用する-------------->=COUNTIF(range,criteria)

テキスト文字列を基準として渡し、引用符で囲みます。

于 2012-11-08T22:25:02.473 に答える
0

A1:A3: Cells with text strings
C1: Word searched

We can use an array formula (Ctrl-Shift-Enter from formula window, curled brackets are inserted by Excel itself):

   ={(SUM(LEN(A1:A3))-SUM(LEN(SUBSTITUTE(A1:A3,$C$1,""))))/LEN($C$1)}

The searched word is deleted from the initial set of strings, which shortens by n*length.

于 2012-11-08T22:29:13.833 に答える