메인 컨텐츠로 가기

두 셀을 비교하고 Excel에서 일치하는 경우 Yes를 반환하는 방법은 무엇입니까?

다음 스크린샷과 같이 두 개의 열이 있다고 가정하고 이제 이 두 열의 동일한 행에 있는 셀을 비교한 다음 정확히 일치하는 경우 Yes를 반환해야 합니다. 어떻게 처리할 수 있습니까? 이 기사에서는 Excel에서 빠르게 수행하는 방법을 보여줍니다.

두 셀을 비교하고 수식과 일치하면 Yes를 반환합니다.


두 셀을 비교하고 수식과 일치하면 Yes를 반환합니다.

다음 수식은 한 행의 두 셀을 빠르게 비교하고 Excel에서 일치하는 경우 예를 반환하는 데 도움이 될 수 있습니다. 다음과 같이 하십시오.

1. 빈 셀 선택, 수식 복사 =IF(A2=B2,"Yes","") 수식 표시 줄에 입력 한 다음 엔터 버튼 키. 스크린 샷보기 :

2. 첫 번째 결과 셀을 계속 선택하고 채우기 핸들을 끌어 아래 스크린 샷과 같이 모든 결과를 얻습니다.

주의 사항: 두 개의 비교 된 셀이 일치하지 않는 경우 "아니오"와 같은 결과도 표시하려면 수식을 다음과 같이 변경하십시오. =IF(A2=B2,"Yes","No") . 스크린 샷보기 :


관련 기사 :

최고의 사무 생산성 도구

🤖 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 (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Buenas tardes, me paso por acá para preguntar si alguien conoce alguna manera en Excel para comparar 2 celdas de la siguiente manera:

Celda A1= LUIS CORDOBA FRANCISCO
Celda A2= FRANCISCO LUIS CORDOBA

como se observa, contiene las mismas palabras pero en diferente orden, si hago una función igual, va a decir que no coincide. Si alguien sabe como hacerlo se lo agradezco.
This comment was minimized by the moderator on the site
Hi CESAR PEREZ,

Sorry, in this case Excel will determine the two cells as a mismatch.
This comment was minimized by the moderator on the site
how to have vlookup find values and then remove found values from lookup table (or copy the rest of the values).

Why is that necessary, because the first group of people (that are found with vlookup) are the main focus of the research, and the rest are control group and we need the within the same sheet
This comment was minimized by the moderator on the site
Hi kecman,
Sorry I did not find a way to deal with this problem. I suggest you post the problem to the forum below to get help from other Excel enthusiasts.
https://www.extendoffice.com/forum/kutools-for-excel.html
This comment was minimized by the moderator on the site
What if you want to return a value if they are not the same instead of if they match?
This comment was minimized by the moderator on the site
Meghan Say,
To return a value if they are not the same, please apply the following formula.
=IF(A2<>B2,"Yes","")
This comment was minimized by the moderator on the site
can you return text comment if one cell is blank?
This comment was minimized by the moderator on the site
Hi Mark Walczak,
You cannot generate text comments with formulas. Sorry for the inconvenience.
This comment was minimized by the moderator on the site
How about with combination of highlights?
This comment was minimized by the moderator on the site
Hi,
Sorry I don't understand what you mean. Would you mind providing a screenshot of your data? Sorry for the inconvenience.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations