メインコンテンツへスキップ

Excelでテキストまたは数値を含むセルの数を数える方法は?

たとえば、テキストと数字を組み合わせたワークシートがあり、テキストと数字の合計セル数を個別にカウントしたい場合は、どうしますか? Excelでは、数式を使用してこれを実現できます。 詳細については、このチュートリアルを参照してください。

数式でテキストを含むセルの数を数える

数式で数を使ってセルの数を数える


Excelの範囲内の特定のテキストまたは数値を持つセルをカウントして選択します。

Kutools for Excel's 特定のセルを選択 ユーティリティは、範囲内の特定のテキストまたは数値を含む特定のセルをすばやくカウントして選択できます。今すぐKutoolsfor Excelの全機能を60日間無料でダウンロードしてください!

Kutools for Excel:200以上の便利なExcelアドインがあり、60日以内に制限なしで無料で試すことができます。 今すぐ無料トライアルをダウンロードしてください!


数式でテキストを含むセルの数を数える

Excelでテキスト付きのセルの数を数えるには、次のようにしてください。

1.カウント結果を表示する空白のセルを選択します。

2.数式をコピーして貼り付けます = COUNTA(A1:D15)-COUNT(A1:D15) 数式バーに移動し、Enterキーを押します。 次に、選択したセルに表示されている合計セル数を確認できます。

Note:数式を貼り付けた後、必要に応じてセル範囲を変更する必要があります。


数式で数を使ってセルの数を数える

テキストで細胞数を数えた後、このセクションでは、数で細胞数を数える式を示します。

1.カウント結果を入力するための空白のセルを選択します。

2.数式をコピーして貼り付けます = COUNT(A1:D15) 数式バーに移動し、Enterキーを押します。 スクリーンショットを参照してください:

次に、選択したセルにカウント結果が表示されます。

Note:コピーして貼り付けた後、ワークシートに基づいて数式のセル範囲を変更します。


Office Tab -Excelでのワークブックのタブブラウジング、編集、および管理:

Office Tab Google Chrome、Internet Explorerの新しいバージョン、FirefoxなどのWebブラウザで見られるタブ付きインターフェイスをMicrosoftExcelにもたらします。 それは時間節約のツールであり、あなたの仕事においてかけがえのないものになるでしょう。 以下のデモを参照してください。

Officeタブの無料トライアルをクリックしてください!

ExcelのOfficeタブ


関連記事:

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How can I count the cells in excel that contains only letters as a text and not numbers?
eg this is a cell with text in excel "john1980" and also "john". I want to count only cells that contains eg "john" and not "john1980"

Thank you
This comment was minimized by the moderator on the site
Hi John,

Try this formula: =COUNTIF(A1:D11, "john")
This comment was minimized by the moderator on the site
Hi,
The "john1980" and also "john" is an example. The cells has random text and text with mumbers. Not a specific word.
This comment was minimized by the moderator on the site
Hi, how can we count the added numbers in a cell , for eg - =1+7+3  , which is 3 numbers . 
This comment was minimized by the moderator on the site
I am stumped trying to work this out. In column “E” I enter a number a few times a day.
I would like in column “F” to equal what the number of entries are from the proceeding rows in column E. I also want the number of entries to subtotal and I want that subtotals divided by the number of entries. Below is an example of what I need.
i.e.
At 10:00 am, I enter 102 in E4, I need F4 to show the auto sum value of E column divided by the number of entries in E column from a starting point of my entries (E4), down to the current row being worked, “4 is current”.
At 10:07 am, I enter 115 in E5, I need F5 to show the auto sum value of E column divided by the number of entries in E column from a starting point of my entries (E4), down to the current row being worked, “5 is current”.
At 10:12 am, I enter 96 in E6, I need F6 to show the auto sum value of E column divided by the number of entries in E column from a starting point of my entries (E4), down to the current row being worked, “6 is current”.
The number of my entries in column E vary from day to day with some rows not having an entry in the E column. I would like the formula to skip rows with no entry in the E column. I thank you so very much in advance for your help


1A B C D E F
2 Days #s
3 Date Time Pressure Temperature Rolling Average
4 2/28/1998 10:00am 40 102 102
5 2/28/1998 10:07am 40 115 =E4+E5/2 or 108.5
6 2/28/1998 10:12am 36 96 =E4+E5+E6/3 or 104.3
7 2/28/1998 10:30am 47 130 =E4+E5+E6+E7/4 or 110.7
8 2/28/1998 1:15pm 41 105 =E4+E5+E6+E7+E8/5 or 109.6
9 3/2/1998 9:15am 43 SKIP. No entry was made in E9
10 3/2/1998 9:45am 40 108 =E4+E5+E6+E7+E8+E10/6 or 109.3
11 3/2/1998 10:30am 39 99 =E4+E5+E6+E7+E8+E10+E11/7 or 107.8
This comment was minimized by the moderator on the site
Hi
can you tell me how i can count the number is written in cell


|123456789| show me is 9 word in this cell
This comment was minimized by the moderator on the site
Hi Bilal,
This formula can help you =LEN(A1)-LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,0,""),1,""),2,""),3,""),4,""),5,""),6,""),7,""),8,""),9,"")).
Thanks for your comment.
This comment was minimized by the moderator on the site
Hi,

How to know the number of the number of an entry that we are making in excel? Please help me regarding this,
This comment was minimized by the moderator on the site
Hi,
Would you please provide a screenshot of your spreadsheet showing what you are exactly trying to do?
This comment was minimized by the moderator on the site
Thank you a lot as well. It resolved my excel problems
This comment was minimized by the moderator on the site
Thank you so much.It really helped me a lot.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations