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

Excelで複数のセルが等しいかどうかを比較するにはどうすればよいですか?

ご存知のとおり、1つのセルが等しいかどうかを比較するには、数式A1 = BXNUMXを使用できます。 ただし、複数のセルの値が同じかどうかを確認する場合、この数式は機能しません。 今日は、Excelで複数のセルが等しいかどうかを比較するためのいくつかの数式について説明します。

複数のセルが数式と等しいかどうかを比較します


矢印青い右バブル 複数のセルが数式と等しいかどうかを比較します

次のデータ範囲があるとすると、A1:D1の値が等しいかどうかを知る必要があります。このタスクを解決するには、次の式が役立ちます。

doc-check-if-equal-cells-1

1。 データ以外の空白のセルに、次の数式を入力してください。 = AND(EXACT(A1:D1、A1))(以下、A1:D1 比較するセルを示し、 A1 データ範囲の最初の値です)スクリーンショットを参照してください:

doc-check-if-equal-cells-2

2。 次に、 Ctrl + Shift + Enter 一緒にキーを押して結果を取得します。セルの値が等しい場合は、次のように表示されます。 TRUE、それ以外の場合は、 間違った情報、スクリーンショットを参照してください:

doc-check-if-equal-cells-3

3。 セルを選択し、塗りつぶしハンドルをこの数式を適用する範囲にドラッグすると、次のような結果が得られます。

doc-check-if-equal-cells-4

注意:

1.上記の式では大文字と小文字が区別されます。

2.大文字と小文字を区別せずに値を比較する必要がある場合は、次の式を適用できます。 = COUNTIF(A1:D1、A1)= 4(以下、A1:D1 比較するセルを示します。 A1 はデータ範囲の最初の値であり、数値は 4 確認したいセルの数を指します)、を押します 入力します キーを押すと、次の結果が得られます。

doc-check-if-equal-cells-5


XNUMXつの範囲を比較して、セルが等しいかどうかを確認します

Kutools for Excelさん セルを比較する ユーティリティを使用すると、XNUMXつのセル間で同じ値または異なる値をすばやく見つけることができます。 クリックしてKutoolsfor Excelをダウンロードしてください!

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


関連記事:

Excelで数値が整数かどうかを確認するにはどうすればよいですか?

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

🤖 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 (40)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hi ... i have a five letter word ... the five letters are in five cells in a row ... i want to put the letters of the word ... into alphabetical order ... into 26 columns ... A to Z
This comment was minimized by the moderator on the site
Hi.. I have a range of cells (say - a1:h1). this range can contain empty cells as well as numbers (at start, middle or end of range). These numbers can be similar or different, at any situation. I need a formula to see if all the 7 cells (a1:h1) have similar value then the similar value should be displayed in cell i1 or an error. Can someone help please.
This comment was minimized by the moderator on the site
I want to compare 3 cells and filter out the rows which doesn’t fulfil the criteria, for example Like 3 columns A,B,C have different values and from these columns if anyone cell doesn’t cross   Like for example 100 that entire row must be deleted 
This comment was minimized by the moderator on the site
Hi,Kishan,Do you mean to delete the rows that the cells are not equal?If so, please apply the formula in this article to test if the cells are equal or not, and then filter based on the formula cells to display all FALSE rows, and last, select and delete the filtered rows as you need.Please try, hope it can help you!
This comment was minimized by the moderator on the site
I am trying to compare the same cell in multiple tabs to see whether the contents are identical.  If so, then return that identical value; and if not, then return "NO".  How am I able to accomplish this?  It appears that the AND(EXACT function doesn't work across multiple sheets.
This comment was minimized by the moderator on the site
hello sir, i have 6 columns of 2 tables in different sheets, but i want to match 2nd tables data with 1st tables data.
This comment was minimized by the moderator on the site
I have two cols with numbers and want to find the matches but the same/ different number are not in the same row. How do i
This comment was minimized by the moderator on the site
Hello, Joanne,Can you give more details of your problem, or you can insert an image of your problem here?Thank you!
This comment was minimized by the moderator on the site
I have a scenario like this I have same values in col A, Col B and Col C ( AA,AA,AA) and I want to return the Same value AA if all 3 in SYNC in col D.Can anyone assist in this ?
This comment was minimized by the moderator on the site
Hello, Prabakar,To solve your problem, please apply the below array formula:=IF(AND(EXACT(A2:C2,A2)),A2,"")
After entering this formula, please remember to press Ctrl + Shift + Enter keys together to get the correct result.Please try it.
This comment was minimized by the moderator on the site
I HAVE 3 CELLS THAT CAN HAVE VALUE OF EITHER "W"OR"L" IE. W/L/W OR L/W/L OR W/L/L

MEANING WIN OR LOSS

HOW DO I COUNT 2 WINS OR 2 LOSSES? TO PUT ANSWER IN SINGLE CELL!
This comment was minimized by the moderator on the site
Lets asume you have results in Columns A,B and C) starting in second row, For example you can add a helper Colum (all wins/loses) and add =if(Or(And(a2="W",b2="w",C2="W"),(a2="L",b2="L",C2="L"),0,1)And then just perform a sum at the end - the above will assign a 0 value to 3 wins or 3 losses, and a 1 value to other results
This comment was minimized by the moderator on the site
sO GRAET HELPFUL
This comment was minimized by the moderator on the site
=COUNTIF(A1:D1,A1)=4 ---> mind = blown
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