메인 컨텐츠로 가기

Excel의 범위에서 중복 행을 찾아 강조 표시하는 방법은 무엇입니까?

때때로 워크 시트의 데이터 범위에 중복 레코드가있을 수 있으며, 이제 다음 스크린 샷과 같이 범위에서 중복 행을 찾거나 강조 표시하려고합니다. 물론 행을 확인하여 하나씩 찾을 수 있습니다. 그러나 이것은 수백 개의 행이있는 경우 좋은 선택이 아닙니다. 여기서는이 작업을 처리하는 데 유용한 몇 가지 방법에 대해 설명합니다.

 

수식을 사용하여 여러 열에서 중복 행 찾기

조건부 서식을 사용하여 여러 열에서 중복 행 강조 표시

편리한 기능으로 여러 열에서 중복 행 선택 또는 강조 표시


수식을 사용하여 여러 열에서 중복 행 찾기

다음 공식은 중복 레코드를 찾는 데 도움이 될 수 있습니다. 다음과 같이하십시오.

1. 이 경우 인접한 빈 셀인 D2 셀에 아래 수식을 입력하십시오.

=IF(COUNTIFS($A$2:$A$12,$A2,$B$2:$B$12,$B2,$C$2:$C$12,$C2)>1, "Duplicate row", "")

2. 그런 다음 채우기 핸들을 이 수식을 적용할 셀로 끌어다 놓습니다. 이제 이 사용된 범위에 동일한 행이 있으면 표시됩니다. 중복 행, 스크린 샷 참조 :

  • 배송 시 요청 사항:
  • 1. 공식에서 $ A $ 2 : $ A $ 12, $ B $ 2 : $ B $ 12, $ C $ 2 : $ C $ 12 중복을 찾을 범위 열을 나타냅니다. 원하는대로 변경할 수 있습니다. 과 A2, B2, C2 이 수식을 적용해야하는 데이터의 각 열에있는 첫 번째 셀을 표시하면 변경할 수도 있습니다.
  • 2. 위의 수식은 3개의 열에 있는 데이터를 기반으로 합니다. 데이터 범위에 4개 이상의 열이 있고 첫 번째 행에서 중복된 값을 찾아야 하는 경우 다음 공식과 같이 열 참조를 추가하기만 하면 됩니다. =IF(COUNTIFS($A$2:$A$12,$A2,$B$2:$B$12,$B2,$C$2:$C$12,$C2,$D$2:$D$12,$D2)>1, "Duplicate row", "").

방문 꿀팁: 처음 발생하지 않은 중복 행을 찾으려면 다음 공식을 적용하십시오.

=IF(COUNTIFS($A$2:$A2,$A2,$B$2:$B2,$B2,$C$2:$C2,$C2) >1, "Duplicate row", "")


조건부 서식을 사용하여 여러 열에서 중복 행 강조 표시

수식을 제대로 적용 할 수 없더라도 걱정하지 마세요. 조건부 서식 유틸리티는 또한 중복 행을 강조 표시하는 데 도움이 될 수 있습니다. 다음 단계를 수행하십시오.

1. 사용하는 첫 번째 단계는 사슬 같이 잇다 모든 데이터를 각 행에 대해 하나의 셀로 결합하는 함수입니다. D2 셀에 아래 수식을 입력한 다음 스크린샷을 참조하여 데이터의 마지막 행까지 수식을 복사합니다.

=CONCATENATE(A2,B2,C2)

2. 그런 다음 D 열의 수식을 포함하여 중복 행을 찾으려는 범위를 선택한 다음 탭을 클릭하고 조건부 서식 > 새로운 규칙, 스크린 샷 참조 :

3. 에서 새로운 서식 규칙 대화 상자에서 다음 작업을 수행하십시오.

  • 수식을 사용하여 서식을 지정할 셀 결정 인사말 규칙 유형 선택 리스트 박스;
  • 그런 다음이 공식을 입력하십시오. = COUNTIF ($ D $ 2 : $ D $ 12, $ D2)> 1 (첫 번째 항목이 있는 중복 행 강조 표시) 또는 =COUNTIF($D$2:$D2,$D2)>1 (첫 번째 항목이 없는 중복 행 강조 표시) 로 이 공식이 참인 경우 값 형식 지정 텍스트 상자;
  • 마지막으로 형성 버튼을 클릭합니다.

주의 사항: 위의 공식에서 $ D $ 2 : $ D $ 12 다른 열 값을 결합한 열 D입니다.

4. 튀어 나온 셀 서식 대화 상자에서 작성 탭을 클릭한 다음 중복 항목을 강조 표시하는 데 필요한 색상을 하나 선택합니다.

5. 딸깍 하는 소리 OK > OK 대화 상자를 닫으려면 중복 행이 한 번에 선택한 색상으로 강조 표시됩니다. 스크린 샷을 참조하십시오.

첫 번째 행으로 중복 행 강조 표시 첫 번째 행 없이 중복 행 강조 표시

편리한 기능으로 여러 열에서 중복 행 선택 또는 강조 표시

위의 방법은 다소 번거롭기 때문에 여기에서 쉽고 편리한 도구를 소개 할 수 있습니다.Excel 용 Kutools그와 중복 및 고유 셀 선택 유틸리티를 사용하면 필요에 따라 중복 행 또는 고유 행을 빠르게 선택할 수 있습니다.

참고 :이것을 적용하려면 중복 및 고유 셀 선택, 먼저 Excel 용 Kutools을 클릭 한 다음 기능을 빠르고 쉽게 적용하십시오.

설치 후 Excel 용 Kutools, 다음과 같이하십시오.

1. 딸깍 하는 소리 쿠툴 > 선택 > 중복 및 고유 셀 선택, 스크린 샷 참조 :

2. 에서 중복 및 고유 셀 선택 대화 상자에서 다음 작업을 수행하십시오.

  • button1  사용하려는 범위를 선택하는 버튼;
  • 그런 다음 각 행 인사말 바탕으로 섹션;
  • 그런 다음 확인하십시오. 중복 (첫 번째 제외) or 모든 중복 (첫 번째 포함) 아래의 옵션 통치 필요한 섹션;
  • 마지막으로 아래의 중복 행에 대한 배경색 또는 글꼴 색상을 지정할 수 있습니다. 결과 처리.

3. 그런 다음 OK, 중복 행은 다음 스크린 샷으로 선택됩니다.

첫 번째 행을 포함하여 중복 행 선택 첫 번째 행을 제외한 중복 행 선택
  • 배송 시 요청 사항:
  • 1. 확인하면 전체 행 선택 옵션을 선택하면 전체 중복 또는 고유 행이 선택됩니다.
  • 2. 대소 문자 구분 옵션을 체크하면 대소 문자를 구분하여 비교합니다.

 다운로드 및 무료 평가판 지금 Excel 용 Kutools!


더 많은 관련 기사 :

  • 목록에서 연속적인 중복 셀 강조 표시
  • 연속 중복 값을 포함하는 긴 데이터 목록이 있다고 가정하면 Excel에 표시된 다음 스크린 샷과 같이 연속 중복 셀을 어떻게 강조 표시 할 수 있습니까?
  • 중복 행 결합 및 Excel에서 값 합계
  • Excel에서 다음 스크린 샷과 같이 일부 중복 항목이 포함 된 데이터 범위가 있고 이제 중복 데이터를 결합하고 다른 열의 해당 값을 합산하려는 경우 항상이 문제가 발생할 수 있습니다. 이 문제를 어떻게 해결할 수 있습니까?
  • Excel에서 다른 색상으로 중복 값 강조
  • Excel에서는 조건부 서식을 사용하여 한 색상의 열에서 중복 값을 쉽게 강조 표시 할 수 있지만, 다음 스크린 샷과 같이 중복을 빠르고 쉽게 인식하기 위해 중복 값을 다른 색상으로 강조 표시해야하는 경우도 있습니다. Excel에서이 작업을 어떻게 해결할 수 있습니까?
  • 두 열에서 중복 또는 일치하는 값 정렬
  • 두 개의 이름 목록이 있고이 두 열을 비교하고 둘 다에서 중복 된 항목을 찾은 다음 다음 스크린 샷과 같이 새 열의 첫 번째 열을 기준으로 일치하는 이름을 정렬하거나 표시하려는 경우. 두 열에있는 중복 값을 나열하기 위해이 기사에서는이를 해결하기위한 몇 가지 트릭을 소개 할 수 있습니다.

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (16)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Fórmulas lixo, nenhuma funciona!
This comment was minimized by the moderator on the site
Hello Carlos,
So sorry to hear that. But I did try all of the formulas in the article and they all works fine. Please see the screenshots I upload. And I would love to help you on this matter if only you could provide the details of the errors. Thanks.Sincerely,Mandy
This comment was minimized by the moderator on the site
The formula "Sumproduct" does not work! The values ​​keep appearing non-duplicate, and since there are duplicate values, you must have got something wrong with this formula. Because I did the same and checked several times to find the error, but I was unsuccessful
This comment was minimized by the moderator on the site
Hello, Elienay,
The above Sumproduct formula works well in my worksheet, could you give your problem as an image to insert here?
Thank you!
This comment was minimized by the moderator on the site
I had to invent another formula to check for duplicate values, in fact I created two formulas! But with this "sumproduct" I couldn't fix it. However I already solved my problem, thanks! The formula I created looked like this: =IF(CONTIF($G$53:$G$55;G53)>1;"DUPLI";"NO")
This comment was minimized by the moderator on the site
at the time of data entry can i stop duplicate entries in two columns example :- Table A Table B A 1 B 2 at the time data entry once A & 1 is coming than i don't enter this entry, can any formula & idea for this
This comment was minimized by the moderator on the site
Can i find duplicate entries in two columns at time of data entry, that can i prevent duplicate entries in two columns example, Table A Table B A 1 B 2 at time of data entry next A and 1 i don't enter this entry, plz give any idea
This comment was minimized by the moderator on the site
Hi, suppose i have data of 15 letters (alphanumeric), and i want it to be split in different columns. ex - ASDFGH11WE31005 this is the 15 letters code, i want it to be spilt in different columns like - AS DF GH 11 WE 3 1005 pls suggest any shortcut or any formula to split it
This comment was minimized by the moderator on the site
Good day, I am dealing with a similar problem but one that goes beyond just checking for duplicates and I am hoping you could shed some light in as to how to tackle it. To illustrate I will build up onto the problem you have already illustrated above and adding some more complexities to it. Suppose after checking for and finding duplicates (ie., product, order or quantity and price), you now want to select a shop from which you can now buy your products from (I assume the duplicates tells you what products in what amount you can buy at what prices, and there is that repeat of products, orders and prices). The Shop Name given is for the shop that actually has stock of items required. A B C D E F PRODUCT ORDER PRICE SHOP NAME Distance to Shop (miles) Shop chosen to buy from QQQQ 50 30 Shop A 15 ? PPPP 60 40 Shop A 15 ? XXXX 45 28 Shop B 30 ? QQQQ 50 30 Shop A 15 ? VVVV 65 42 Shop A 15 ? BBBB 48 21 Shop A 15 ? XXXX 45 28 Shop B 30 ? QQQQ 50 30 Shop B 30 ? MMMM 80 35 Shop B 30 ? Suppose you now know you can buy a product at the given quantities (order) and at the given prices, at either Shop A or Shop B or Shop B but now you want to decide on the shop to buy from. One of the factors used in the criteria for shop selection could be how far the shop is from your own location. Obviously for product XXXX the only shop to buy from, where the product is available is Shop B therefore the value to return under column E would always be Shop B. For product QQQQ, you would have the option of buying from either Shop A or Shop B. You now want Excel to have you choose a shop to buy from. You want to select the nearest shop. How would you go about using a formula to solve this one? Regards, Moses
This comment was minimized by the moderator on the site
Suppose you have now ascertained that there are duplicates and the next thing is you want to check is if these duplicates (products, orders, and prices) can be obtained are from different shops. This is tantamount to introducing another column listingshops which actaully sell these products and you want to be able to select a shop to buy from based on another criteria not listed here (knowledge of shop location,distance to the shop, etc) Eg for Product QQQ, you can get same order at same price at both Shop A and Shop B and you wanna return either Shop A or Shop B based on that criteria you know. How would you tell Excel to return as a value either either Shop A or Shop B? PRODUCT ORDER PRICE SHOP NAME QQQQ 50 30 Shop A PPPP 60 40 Shop A XXXX 45 28 Shop B QQQQ 50 30 Shop A VVVV 65 42 Shop A BBBB 48 21 Shop A XXXX 45 28 Shop B QQQQ 50 30 Shop B MMMM 80 35 Shop B
This comment was minimized by the moderator on the site
This is very very very great INFO !! i was so confused to find this kind of formula in excel sheet but today i am so happy may god give you lots of happiness and success, Great Work buddy you're a Champ !!
This comment was minimized by the moderator on the site
Great Great Great Really best ideas I've ever seen
This comment was minimized by the moderator on the site
Yes!!! NASEER you can find duplicates... :)
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