메인 컨텐츠로 가기

셀에 Excel에서 여러 값 중 하나가 포함되어 있는지 확인하는 방법은 무엇입니까?

A 열에 텍스트 문자열 목록이 있다고 가정하면 이제 다른 범위 D2 : D7에 따라 여러 값 중 하나가 포함되어 있는지 각 셀을 테스트하려고합니다. D2 : D7의 특정 텍스트가 포함 된 경우 True로 표시되고 그렇지 않으면 다음 스크린 샷과 같이 False로 표시됩니다. 이 기사에서는 다른 범위의 여러 값 중 하나가 포함 된 셀을 식별하는 방법에 대해 설명합니다.


셀에 수식이있는 목록의 여러 값 중 하나가 포함되어 있는지 확인

셀 내용에 다른 범위의 텍스트 값 중 하나가 포함되어 있는지 확인하려면 다음 수식이 도움이 될 수 있습니다. 다음과 같이하십시오.

예를 들어 결과 B2를 찾으려는 빈 셀에 아래 수식을 입력 한 다음 채우기 핸들을이 수식을 적용 할 셀로 드래그하고 셀에 다른 텍스트 값이있는 경우 특정 범위를 지정하면 True가되고 그렇지 않으면 False가됩니다. 스크린 샷보기 :

=SUMPRODUCT(--ISNUMBER(SEARCH($D$2:$D$7,A2)))>0

팁 :

1. "예"또는 "아니오"를 사용하여 결과를 표시하려면 다음 공식을 적용하면 필요에 따라 다음 결과를 얻을 수 있습니다. 스크린 샷을 참조하십시오.

=IF(SUMPRODUCT(--ISNUMBER(SEARCH($D$2:$D$6,A2))),"Yes","No")

2. 위의 공식에서 D2 : D7 셀을 확인하려는 특정 데이터 범위입니다. A2 확인하려는 셀입니다.


셀에 수식이있는 목록의 여러 값 중 하나가 포함 된 경우 일치 항목 표시

때때로 셀에 목록의 값이 포함되어 있는지 확인한 다음 해당 값을 반환하고 여러 값이 일치하면 목록의 모든 일치하는 값이 아래 스크린 샷과 같이 표시됩니다.이 작업을 Excel에서 어떻게 해결할 수 있습니까?

셀에 특정 텍스트 중 하나가 포함 된 경우 일치하는 모든 값을 표시하려면 아래 공식을 적용하십시오.

=TEXTJOIN(", ", TRUE, IF(COUNTIF(A2, "*"&$D$2:$D$7&"*"), $D$2:$D$7, ""))

주의 사항: 위의 공식에서 D2 : D7 셀을 확인하려는 특정 데이터 범위입니다. A2 확인하려는 셀입니다.

다음을 누릅니다 Ctrl + Shift + Enter 키를 함께 사용하여 첫 번째 결과를 얻은 다음 채우기 핸들을이 수식을 적용 할 셀로 드래그합니다. 스크린 샷을 참조하십시오.

팁 :

위의 TEXTJOIN 함수는 Excel 2019 및 Office 365에서만 사용할 수 있습니다. 이전 Excel 버전이있는 경우 아래 수식을 적용해야합니다.

=IFERROR(INDEX($D$2:$D$7, SMALL(IF(COUNTIF($A2, "*"&$D$2:$D$7&"*"), MATCH(ROW($D$2:$D$7), ROW($D$2:$D$7)), ""), COLUMNS($F$1:F1))), "")

주의 사항: 위의 공식에서 D2 : D7 셀을 확인하려는 특정 데이터 범위입니다. A2 확인하려는 셀입니다.

다음을 누릅니다 Ctrl + Shift + Enter 키를 함께 사용하여 첫 번째 결과를 얻은 다음 빈 셀이 표시 될 때까지 수식 셀을 오른쪽으로 드래그 한 다음 채우기 핸들을 다른 셀로 드래그하면 일치하는 모든 값이 아래 스크린 샷과 같이 표시됩니다.


편리한 기능이있는 목록의 여러 값 중 하나가 셀에 포함 된 경우 일치 항목을 강조 표시합니다.

셀에 다른 목록의 여러 값 중 하나가 포함되어있는 경우 일치하는 값에 대해 특정 글꼴 색상을 강조하려면이 섹션에서는 쉬운 기능을 소개합니다. 마크 키워드 of Excel 용 Kutools,이 유틸리티를 사용하면 셀 내에서 한 번에 하나 이상의 특정 키워드를 강조 표시 할 수 있습니다.

참고 :이를 적용하려면 마크 키워드 먼저 기능을 다운로드해야합니다. Excel 용 Kutools을 클릭 한 다음 기능을 빠르고 쉽게 적용하십시오.

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

1. 딸깍 하는 소리 쿠툴 > 본문 > 마크 키워드, 스크린 샷 참조 :

2. 에서 마크 키워드 대화 상자에서 다음 작업을 수행하십시오.

  • 일치하는 텍스트를 강조 표시 할 데이터 범위를 선택하십시오. 범위 텍스트 상자;
  • 강조 표시 할 키워드가 포함 된 셀을 선택하고, 키워드를 쉼표로 구분하여 수동으로 입력 할 수도 있습니다. 키워드 텍스트 상자
  • 마지막으로 체크를 통해 텍스트를 강조 할 글꼴 색상을 지정해야합니다. 키워드 색상 표시 옵션을 선택합니다. 

3. 그런 다음 Ok 버튼을 누르면 아래 스크린 샷과 같이 일치하는 모든 텍스트가 강조 표시됩니다.


더 많은 관련 기사 :

  • Excel에서 둘 이상의 텍스트 문자열 비교
  • 다음 스크린 샷과 같이 워크 시트에서 두 개 이상의 텍스트 문자열을 대소 문자를 구분하거나 대소 문자를 구분하지 않는 비교하려는 경우이 기사에서는 Excel에서이 작업을 처리하는 데 유용한 몇 가지 수식에 대해 설명합니다.
  • 셀에 텍스트가 포함 된 경우 Excel에 표시
  • A 열에 텍스트 문자열 목록이 있고 키워드 행이있는 경우 이제 키워드가 텍스트 문자열에 나타나는지 확인해야합니다. 셀에 키워드가 표시되면 표시되는 경우 다음 스크린 샷과 같이 빈 셀이 표시됩니다.
  • Excel에서 여러 값 찾기 및 바꾸기
  • 일반적으로 찾기 및 바꾸기 기능은 특정 텍스트를 찾아 다른 텍스트로 바꾸는 데 도움이 될 수 있지만 때로는 여러 값을 동시에 찾아서 바꿔야 할 수도 있습니다. 예를 들어 아래 스크린 샷과 같이 모든 "Excel"텍스트를 "Excel 2019"로, "Outlook"을 "Outlook2019"로 바꾸려면 다음과 같이하십시오. 이 기사에서는 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 (56)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hello,

I have spreadsheet that have some cell with following test $5655 (BIT001), $4445 (BIT002). I would like to extract every BITxxx and display in another cell with BIT001, BIT002. I'm using MID and FIND but it work only with one BIT001 and BIT002 seems to not search. How would you do it guys?
This comment was minimized by the moderator on the site
You can use text to column > Deliminate > ("("), - I will spit the text from Open Bracket .. like BIT001), then you can remove the closing bracket with a find and replace option.
This comment was minimized by the moderator on the site
Hi all,

Any suggestions...

I have a VALUE next to the SPECIFIC TEXT column F. I need a RESULT in Column B with the VALUE next to SPECIFIC TEXT.
This comment was minimized by the moderator on the site
In option "Display the matches if cell contains one of several values from a list with formulas" I'm having issues in "Result" when the "Specific Text" values is similar to others.

For example, if I have in "Specific Text" the values 'remove' and 'remove lines', I need to get in "Result" the correct value.

Thanks
This comment was minimized by the moderator on the site
I find an option in other webpage:

=TEXTJOIN(" ",1,IF(ISNUMBER(FIND(" "&$F$2:$F$6&" "," "&B2&" ")),$F$2:$F$6,""))
This comment was minimized by the moderator on the site
In the option "Display the matches if cell contains one of several values from a list with formulas" I'm having issues if the word to search is similar to other word. For example if in "Specif text" I have: Remove and Remove line, I need to get/recognise in "Result" the different values ("Remove" for 1 line and "Remove line" in other line). The problem is that always I'm getting "Remove"
This comment was minimized by the moderator on the site
Bonjour, j'essaye cette formule sur une très grande liste de mot et la recherche fait un contient, mais pas au mot entier.
Vous avez une solution ?

Par exemple, le mot de ma liste à rechercher est "aire". Cependant, le mot "horaire" m'indique vrai... avec la formule.
Alors oui "horaire" contient "aire" mais pas en mot entier...

Autre exemple : le mot de ma liste à rechercher est "ri". Cependant, le mot "clé dynamométrique" m'indique vrai...

Merci
This comment was minimized by the moderator on the site
Hello, Greg,
Sorry, I can't understand you clearly.
Could you explain your problem in English? Or you can upload a file or screenshot of your problem here.
Thank you!
This comment was minimized by the moderator on the site
=IF(SUMPRODUCT(--ISNUMBER(SEARCH($D$2:$D$6,A2))),"Yes","No")

Is there a way of amending the formula to return the number of words appear in the text examined?

e.g. returned answer is not whether one of three words (a given list) are found, but if 1, 2, or 3 words are found.

Hope this makes sense................

Thanks



Alan
This comment was minimized by the moderator on the site
Hello, Alan,
To solve your problem, the following array formula may help you: (Note: After inserting the formula, press Ctrl + Shift + Enter keys together to get the first result.)
=SUM((LEN(A2)-LEN(SUBSTITUTE(A2,$D$2:$D$5,"")))/LEN($D$2:$D$5))


Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
help someone. I have a spreadsheet that has example below. I need a formula that will search and return the following based on what is in the cell

A-05-002F: Air Conditioning Unit or Heat Pump Split System - Qtrly Filter
A-11-025: Air Handler Unit - Annual
E-42-001: Emergency Generators - Weekly #4

The above is in C2 I want E2 to display Q if cell contains Qtrly, A if cell contains Annual, W if cell contains weekly
This comment was minimized by the moderator on the site
Hi, Lynda,
To solve your problem, please apply the following formula:
=IF(ISERROR(SEARCH("Qtrly",C2)),IF(ISERROR(SEARCH("Annual",C2)),IF(ISERROR(SEARCH("weekly",C2)),"","W"),"A"), "Q")

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Correction the above information is in C2 C3 C4
This comment was minimized by the moderator on the site
RE: above example  =IFERROR(INDEX($D$2:$D$7, SMALL(IF(COUNTIF($A2, "*"&$D$2:$D$7&"*"), MATCH(ROW($D$2:$D$7), ROW($D$2:$D$7)), ""), COLUMNS($F$1:F1))), "")I keep error with Excel 2010.  Same with example for Excel 2019, in Excel 2019 on a different PC. Tried the one  Is it Wish it was available in my Kutools  
This comment was minimized by the moderator on the site
Multiple search value in a single cell, and return as a Common Value
This comment was minimized by the moderator on the site
Is it possible to do this with a partial match of the keywords? This method is only an exact match
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