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

Excelの列で重複する値をカウントする方法は?

ワークシートに一意の値と重複する値を含むデータのリストがあり、重複する値の頻度をカウントするだけでなく、重複する値の発生順序も知りたい場合。 Excelでは、COUNTIF関数を使用すると、重複する値をカウントできます。


Excelで重複の頻度を数える

Excelでは、COUNTIF関数を使用して重複をカウントできます。

リストの最初のデータに隣接する空白のセルを選択し、この数式を入力します = COUNTIF($ A $ 2:$ A $ 9、A2) (範囲 $ A $ 2:$ A $ 9 データのリストを示し、 A2 頻度を数えたいセルを表します。必要に応じて変更できます)、を押します。 入力します、および塗りつぶしハンドルをドラッグして、必要な列を塗りつぶします。 スクリーンショットを参照してください:

先端:列全体の重複をカウントする場合は、次の式を使用します = COUNTIF(A:A、A2)列A データの列を示し、 A2 頻度を数えたいセルを表します。必要に応じて変更できます)。

Excelの列からすべての重複/一意の値をすばやく選択してカウントします

一般に、リストから重複を簡単に削除できます。 且つ > 重複を削除する Excelで。 しかし、重複/一意の値を選択する方法、または列からそれらを数える方法はありますか? そして、最初の重複したものを除いて重複/一意を選択またはカウントした場合はどうなりますか? Excel用のKutoolsをお試しください 重複セルと一意セルを選択します ユーティリティ!


広告選択カウントの重複

Kutools for Excel - 300 以上の必須ツールで Excel を強化します。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 今すぐ入手

Excelで重複が発生した順序を数えます

ただし、重複の発生順序をカウントする場合は、次の式を使用できます。

リストの最初のデータに隣接する空白のセルを選択し、この数式を入力します = COUNTIF($ A $ 2:$ A2、A2) (範囲 $ A $ 2:$ A2 データのリストを示し、 A2 注文をカウントするセルを表します。必要に応じて変更できます)、を押します。 入力します、および塗りつぶしハンドルをドラッグして、必要な列を塗りつぶします。 スクリーンショットを参照してください:


Kutools for Excelを使用して、列内のすべての重複をカウントして選択します

指定した列のすべての重複をカウントして選択したい場合があります。 Kutools forExcelを使用すると簡単に実行できます 重複セルと一意のセルを選択します ユーティリティ。

Kutools for Excel - Excel に必要な 300 以上のツールが詰め込まれています。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 ダウンロード中!

1。 すべての重複をカウントする列またはリストを選択し、[ クツール > 選択 > 重複セルと一意のセルを選択します.

2。 [重複セルと一意のセルを選択]ダイアログボックスを開いて、[ 重複(最初のものを除く) オプションまたは すべての重複(最初のものを含む) 必要に応じてオプションをクリックし、 Ok

次に、ダイアログボックスが表示され、選択された重複の数が表示されます。同時に、指定された列で重複が選択されます。

注: 最初のものを含むすべての重複をカウントする場合は、 すべての重複(最初のものを含む) [重複セルと一意のセルを選択]ダイアログボックスのオプション。

3。 クリック OK

Kutools for Excel - 300 以上の必須ツールで Excel を強化します。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 今すぐ入手


Kutools forExcelを使用して列内の各重複の発生をカウントします

Excel用のKutools 高度な結合行 ユーティリティは、Excelユーザーが列(この場合はFruited列)の各アイテムの出現をバッチカウントし、この列(Fruit列)に基づいて重複する行を次のように簡単に削除するのに役立ちます。

Kutools for Excel - Excel に必要な 300 以上のツールが詰め込まれています。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 ダウンロード中!

1。 各重複をカウントする列を含むテーブルを選択し、をクリックします クツール > コンテンツ > 高度な結合行.

2。 Advanced Combine Rowsで、各重複をカウントする列を選択し、[ 主キー、次に、カウント結果を配置する列を選択して、をクリックします 計算 > ワンランク上の、をクリックします。 OK ボタン。 スクリーンショットを参照してください:

そして今、それは指定された列の各重複の発生を数えました。 スクリーンショットを参照してください:

Kutools for Excel - 300 以上の必須ツールで Excel を強化します。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 今すぐ入手


デモ:Kutools forExcelによるExcelの列の重複値のカウント


Kutools for Excel: 300 を超える便利なツールをすぐに利用できます。 機能制限なしの 30 日間の無料トライアルを今すぐ始めてください。 今すぐダウンロード!

関連記事:

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

🤖 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 (58)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Tolong di Bantu, Jika misalkan di Kolom A Misalkan No Part yang sama ada 3 Part, lalu di kolom b ada tiga progress, Bagaimana menegtahui bahwa jika di kolom sudah complete semua maka di kolom c complete, tetapi jika ada salah satu belum complete maka di kolom C On Progress, Sebagai catatan untuk di kolom A variatif , ada yang jumlahnya 3, 4, 2, etc.. Mohon di bantu caranya untuk di excel.

A B C
Part 1 Progress On Progress
Part 1 Complete On Progress
Part 1 Complete On Progress
This comment was minimized by the moderator on the site
Halo, bagaimana jika kita ingin menjumlahkan total dari data duplikat tersebut? Contoh, Banyaknya Apel pada baris satu adalah 734pcs, Apel pada baris 5 100pcs, Apel pada baris 8 20pcs. Bagaimana cara menjumlahkannya dengan otomatis? Terima Kasih untuk jawabannya
This comment was minimized by the moderator on the site
Hi Lia,
You can wrap multiple COUNTIF expressions into one SUM formula, in which the COUNTIF expressions shoule be seperated by comma. Here is an example: =SUM(COUNTIF($B$2:$B$8, B2),COUNTIF($B$2:$B$8, B3),COUNTIF($B$2:$B$8, B4)).The cells B2, B3, B4 stand for the value that you want to count its frequency.
Hope this helps you.
Amanda
This comment was minimized by the moderator on the site
Hi, I'm trying to calculate the duplicate values as a single value in excel. But I can't. Can you help me?. For example, I have entered in rows as 1001,1002,1003,1004 and again 1001,1002,1003,1004" like this. In this case, all are duplicate ones. but it should bring "1001" as a single count, not two counts. Is there any formula for it?
This comment was minimized by the moderator on the site
Hi Manikandan.K,
Supposing the data you will count are placed in the Range A1:A20, you can use below arrow formula to count (a set of duplicates only count once):
=SUM(IF(A1:A20<>"",1/COUNTIF(A1:A20,A1:A20)))
Please note that it’s an array formula, please press Ctrl + Shift + Enter keys to get the counting result.
This comment was minimized by the moderator on the site
Hi can you please let me know in this how to calculate data in multiple conditions include wiht this condition,  if I also chosen columns in location wise and status wise Thank you 
This comment was minimized by the moderator on the site
Hi I'm trying to run the "Advanced Combined Row" feature, but when I run it excel crashes every time.
This comment was minimized by the moderator on the site
I have entered in a row as " 10,10,10,10,10,10,10,8,11,10,10,10,10,10" like this, now I entered 14 number values. How I can count the different number in single row? the result should be "14" in my case.
This comment was minimized by the moderator on the site
Hi Sampath Rangan,
Do you need to count all numbers in the row, or count the duplicates in the row?
Supposing the numbers are in the Range A1:N1, now you can count the numbers as follows:
Count all numbers: =COUNT(A1:N1)
Count duplicates, says 10: =COUNTIF($A$1:$N$1,"10")
This comment was minimized by the moderator on the site
Thanks so much, saved me hours!
This comment was minimized by the moderator on the site
i need this
There are 24 students.how many groups are there to take 10 student in 1 group
example:
1,2,3,4,5 take 1 group in 3 number

ans={1,2,3} {2,3,4} {3,4,5} {4,5,1} {5,1,2,}

how to do this excel will create this file
This comment was minimized by the moderator on the site
Hi patel akshay,
You can use the COMBIN function in Excel directly.
=COMBIN(24,10)
This comment was minimized by the moderator on the site
Thank You very much. It's very useful.
This comment was minimized by the moderator on the site
I must be stupid as the KuTools solution is not working for me. I have copied the example with Fruits column (which I put 3 Apple entries in), made a column next to it which is blank called Count column. KuTools -> Content -> Advanced Combine Rows. Select Fruit column as primary key, Count column as Calculate -> Count. Hit OK. Nothing. No change to the sheet. Help please?
This comment was minimized by the moderator on the site
Hi BillBrewster,
Would you do me a favor and send me a screenshot about the Advanced Combine Rows dialog? Just like the screenshot as below. Thanks in advance!
This comment was minimized by the moderator on the site
Dear, I am working on the attached Screenshot and Excel File. I need to calculate the Values in Column "G" i.e. to Count unique text values based on multiple (Two) criteria, but criteria are in NUMBERS. Further, Its is big sheet, therefore I want to use the cell reference in range and in criteria. I am very confused. I want to count the column C i.e. Degree based on the Criteria E and F. That is,I need to set formula in G2, such that, Look E2 in column A and Look F2 in column B and count the unique text values in Column C. Hope it is clear.

I am very thankful to you please


Details:
I have a data of more than 1000 companies with different year. As in column A, I have companies and B shows the year for which these companies have data. For example, First company have data for year 2011, 2012, 2013 and 2015. For company 2, I have data for year 2014 and 2011 and so on. Since majority of companies have data from 2011 to 2015, therefore I select this range in column F for each company. Now, I want to count the unique Degrees for cell G2, if there is 389841988 (Company ID for First company) in A and there is 2011 in Column B. Now I need to set formula in G2,in a way, If I will drag the formula G2 in cell G3, then It should give me the value by looking such as if there is 389841988 (Company ID for First company) in A and there is 2012 in Column B, the based on these two criteria, it should count the unique text in C2 and so on.
Look on the second sheet named Example, I did the same for INDEX, MATCH function and as well for SUMIFS function; in C2 I have the array formula INDEX($F:$H,MATCH(1,(A2=$F:$F)*(B2=$G:$G),0),3) and in D2 I have SUMIFS(I:I,F:F,A2,G:G,B2). These help me to do what I want with two criteria (To match and also to sum) and also I can drag these for rest of cell. I am looking something like this, or anything that I can drag to count unique degrees. Thank you very much. I am waiting.

Plz help. I am very thankful to for this kindness
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations