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

Excelでグループごとにデータをカウントする方法は?

Excelでは、ほとんどのユーザーにとって範囲内のデータを数えるのは簡単かもしれませんが、各グループのデータを数えるのはどうですか? グループごとにデータをカウントする直接的な方法や数式はありませんが、Excelでグループごとにデータをすばやくカウントするための良い方法を説明できます。

ピボットテーブルを使用してグループごとにデータをカウントする


矢印青い右バブル ピボットテーブルを使用してグループごとにデータをカウントする

以下に示すデータをグループ別にカウントする場合は、ピボットテーブルを挿入する必要があります。

グループごとのドキュメント数-1

1.データ範囲を選択し、をクリックします インセット > ピボットテーブル > ピボットテーブル。 スクリーンショットを参照してください:

グループごとのドキュメント数-2

2.そしてで ピボットテーブルを作成する ダイアログで、新しいワークシートまたは既存のワークシートに作成するように指定できます。 そして、あなたがチェックすれば 既存のワークシート、ピボットテーブルを配置するセルを選択する必要があります。 スクリーンショットを参照してください:

グループごとのドキュメント数-3

3。 クリック OK。 とで ピボットテーブルファイルリスト ペインで、列のヘッダーをにドラッグします 行ラベル & 価値観 セクション。 スクリーンショットを参照してください:

グループごとのドキュメント数-4

これで、各グループのカウントがピボットテーブルに表示されます。

グループごとのドキュメント数-5


関連記事:

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

🤖 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 (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, Han, I did not find a formula can directly count several specific words in a cell, but I have a formula that can count one word such as colorful in a cell, then you can count other words one by one, then use SUM function to get the total number.
=(LEN($B$2)-LEN(SUBSTITUTE($B$2,C1,"")))/LEN(C1)
https://cdn.extendoffice.com/images/stories/comments/sun-comment/doc-count-specific-words.png
This comment was minimized by the moderator on the site
How to count specific words in a pharagraph ?
There are tens of pages explain word counting for only "1" specific word. But there is NO any answer about my question. So;

Lets say;

*In A1 to A6 (A1, A2, A3,A4,A5,A6) there are some specific words. ( colorful, single, double, triple, positive)

*And there is B1 cell which has a pharagraph. >>> Hello. I am a person thinking positive. My life is colorful.How about your life ?

*In C1 cell, I want to see how many of the words from A1 to A6 cells, in B1 cell (the pharagraph) has been used ?

Is there someone who can create a formula for this ? I could not find any answers to this question.
This comment was minimized by the moderator on the site
Thanks Sir!
Very helpful
This comment was minimized by the moderator on the site
Works brilliantly! Thanks
This comment was minimized by the moderator on the site
This is excellently clear and I commend you for posting this. But it does not work. I wonder if you simply cut and pasted the content from somewhere and actually know how to do this. You just wasted a lot of my time. I am apparently not the first one. You should take this down.
This comment was minimized by the moderator on the site
Doesn't work.
This comment was minimized by the moderator on the site
Thank you very much!
This comment was minimized by the moderator on the site
does not work does not work does not work does not work does not work does not work does not work does not work
This comment was minimized by the moderator on the site
if there is multiple sheet in excel when what will do ?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations