跳到主要內容

快速比較兩個範圍以在Excel中選擇/隱藏重複值或唯一值

Excel的Kutools

提升 Excel 300+
強大的功能

通常,您可以使用條件格式設置功能來找出Excel中兩個範圍之間的差異。 但是使用起來太複雜了。 Excel的Kutools選擇相同和不同的單元格 實用程序可以幫助您根據Excel中的每一行或單個單元格輕鬆地選擇或隱藏重複值或唯一值。

比較兩個範圍並根據每一行查找相同或不同的記錄

比較兩個範圍並根據單個單元格找到相同或不同的單元格


點擊 庫工具 > 選擇>選擇相同和不同的單元格。 查看截圖:

射門比較範圍001 2 射門比較範圍02

 比較兩個範圍並根據每一行查找相同或不同的記錄

1。 按住 CTRL 鍵選擇兩個要比較的範圍,如下所示(請參見屏幕截圖)。 備註:此實用程序將在範圍A中選擇重複項。您可以在不同的工作表和工作簿中指定範圍A和範圍B。

射門比較範圍03

2。 應用此實用程序,然後在 選擇相同和不同的單元格 對話框中,可以指定以下選項:

(1.)如果未在步驟1中選擇範圍,則可以單擊 按鈕來選擇 在(範圍A)中查找值 根據(範圍B) 您要比較的。

(2.)如果您的數據中包含標題,並且您想忽略它們,請檢查 我的數據有標題 選項。

(3.)選擇 每一行基於 部分。

(4.)指定 相同的價值 or 不同的價值觀 查找部分 搜索兩個範圍之間的重複或唯一行。

(5.)您可以根據需要使用背景顏色或字體顏色填充重複值或唯一值 填充背景色 or 填充字體顏色結果處理 部分。

(6.)如果要在使用範圍內選擇整個行,請檢查 選擇整行 選項。 檢查一下 區分大小寫 選項,如果要區分大小寫的比較。

射門比較範圍04

3。 點擊 OK,並且將選擇相同或不同的記錄,並為其著色,如下所示的屏幕截圖:

射門比較範圍05
射門比較範圍06

筆記:

1. 我的數據有標題 選項將在比較兩個範圍時忽略標題單元格。

2。 “ 在(範圍A)中查找值根據(範圍B) 比較兩個範圍時,列數必須相同。

3.在比較兩個範圍時,此實用程序將選擇範圍A中的重複項或唯一值。 如果要在範圍B中選擇重複項或唯一值,則只需交換兩個範圍。

4.您可以在不同的工作表中指定範圍A和範圍B。


 比較兩個範圍並根據單個單元格找到相同或不同的單元格

此實用程序還可以幫助您比較兩個範圍,並根據單個像元查找相同或不同的像元值。 請執行以下操作:

1。 按住 CTRL 鍵選擇兩個要比較的範圍,如下所示(請參見屏幕截圖)。 備註:此實用程序將在範圍A中選擇重複項。您可以在不同的工作表和工作簿中指定範圍A和範圍B。

射門比較範圍07

2。 在 選擇相同和不同的單元格 對話框中,可以指定以下選項:

(1.)如果未在步驟1中選擇範圍,則可以單擊 按鈕來選擇 在(範圍A)中查找值根據(範圍B) 您要比較的。

(2.)選擇 單細胞基於 部分。

(3.)指定 相同的價值 or 不同的價值觀查找部分 搜索兩個範圍之間的重複或唯一單元格。

(4.)您可以根據需要使用背景顏色或字體顏色填充重複值或唯一值 填充背景色 or 填充字體顏色 結果處理 部分。

(5.)檢查 區分大小寫 選項,如果要區分大小寫的比較

射門比較範圍08

3。 完成設置後,請點擊 Ok,並且在範圍A中選擇了基於單個像元的相同或不同像元,並對它們進行了著色,如下所示:

射門比較範圍09
射門比較範圍10

筆記:

1.在比較兩個範圍時,此實用程序將選擇範圍A中的重複項或唯一值。 如果要在範圍B中選擇重複項或唯一值,則只需交換兩個範圍。

2.您可以在不同的工作表中指定範圍A和範圍B。


生產力工具推薦
以下工具可以極大地節省您的時間和金錢,哪一種適合您?
Office Tab: 在辦公室中使用方便的選項卡,作為Chrome,Firefox和New Internet Explorer的方式。
Excel的Kutools: 超過300種Excel高級功能 2021、2019、2016、2013、2010、2007 和 Office 365。

Excel的Kutools

上述功能只是Kutools for Excel的300個強大功能之一。

專為 Excel(Office) 2021、2019、2016、2013、2010、2007 和 Office 365 設計。免費下載和使用 30 天。

Kutools for Excel的屏幕截圖

btn了解更多      btn下載     btn購買

Comments (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
When comparing two columns where the duplicate values in further down a column it doesn't match.
column A, Column B
3333, 4444
222,333
4444,3222


I need to match the 4444 with the 4444 in the first column. Is there a way to do this? From your example they need to be right next to each other.
This comment was minimized by the moderator on the site
Hi I have a a column with multiple names of a person and another columns with a classification rating i.e. Excellent, Very Good,Good, Fair. Poor I need to count the number of times a particular person has been awarded Excellent in one column and in the next column Good etc. The person appears in the list several times so it needs to allow for more than one entry of the person. Many thanks
This comment was minimized by the moderator on the site
I haven't bought the product yet, want to try it out first. But I found that I can't use the function Compare Range, the rows are "grey" and do not come up with anything. Do I do something wrong or don't I have the correct version for test? Rgds Susanne
This comment was minimized by the moderator on the site
[quote]I haven't bought the product yet, want to try it out first. But I found that I can't use the function Compare Range, the rows are "grey" and do not come up with anything. Do I do something wrong or don't I have the correct version for test? Rgds SusanneBy Susanne[/quote] Please try to contact me with more detailed information of your issue at jaychivo#extendoffice.com, please replace # with @. Or please try to create some sample data in new workbook and try it out. If the problem persists with the sample workbook, please attache it in your email. :-)
This comment was minimized by the moderator on the site
Does Kutools have a feature where duplicates from a column are removed, but also case sensitive? Excel has the remove duplicates feature, but isn't case sensitive. For example, if I have: dog doG dog I want a feature where it only removes "dog", but not the one with the upper case. Does Kutools have such feature? Thanks.
This comment was minimized by the moderator on the site
[quote]Does Kutools have a feature where duplicates from a column are removed, but also case sensitive? Excel has the remove duplicates feature, but isn't case sensitive. For example, if I have: dog doG dog I want a feature where it only removes "dog", but not the one with the upper case. Does Kutools have such feature? Thanks.By Jenna[/quote] Thanks for your feedback. We will try to enhance our feature in upcoming versions. :-)
This comment was minimized by the moderator on the site
Same with me.....the highlights disappeared when I select any cell on the worksheet
This comment was minimized by the moderator on the site
Is it possible to identify and permanently highlight the duplicate cells in 2 columns please?
This comment was minimized by the moderator on the site
Yes, you can. You just need to use this utility to select the duplicates and then please apply colors to highlight them. :)
This comment was minimized by the moderator on the site
[quote]Yes, you can. You just need to use this utility to select the duplicates and then please apply colors to highlight them. :)By adminjay[/quote] Is there some special trick to selecting those cells that are highlighted? 'select cells by format' perhaps? As soon as I selected one of the duplicates, all of the highlights disappeared.
This comment was minimized by the moderator on the site
Thanks Jay - that works great. Much appreciated Deesale
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations