메인 컨텐츠로 가기

vlookup이 Excel에서 첫 번째, 두 번째 또는 n 번째 일치 값을 찾는 방법은 무엇입니까?

아래 스크린 샷과 같이 제품 및 수량이있는 두 개의 열이 있다고 가정합니다. 첫 번째 또는 두 번째 바나나의 양을 빨리 찾으려면 어떻게 하시겠습니까?

여기서 vlookup 함수는이 문제를 처리하는 데 도움이 될 수 있습니다. 이 기사에서는 vlookup이 Excel에서 Vlookup 함수를 사용하여 첫 번째, 두 번째 또는 n 번째 일치 값을 찾는 방법을 보여줍니다.

Vlookup은 수식을 사용하여 Excel에서 첫 번째, 두 번째 또는 n 번째 일치 값을 찾습니다.

Excel 용 Kutools를 사용하여 Excel에서 첫 번째 일치 값을 쉽게 vlookup으로 찾습니다.


Vlookup은 Excel에서 첫 번째, 두 번째 또는 n 번째 일치 값을 찾습니다.

Excel에서 첫 번째, 두 번째 또는 n 번째 일치 값을 찾으려면 다음과 같이하십시오.

1. D1 셀에 조회 할 기준을 입력하고 여기에 Banana를 입력합니다.

2. 여기에서 바나나의 첫 번째 일치 값을 찾을 수 있습니다. E2와 같은 빈 셀을 선택하고 수식 복사 및 붙여 넣기 =INDEX($B$2:$B$6,MATCH(TRUE,EXACT($D$1,$A$2:$A$6),0)) 수식 표시 줄에 입력 한 다음 Ctrl 키 + 변화 + 엔터 버튼 키를 동시에 누릅니다.

주의 사항:이 수식에서 $ B $ 2 : $ B $ 6은 일치하는 값의 범위입니다. $ A $ 2 : $ A $ 6은 vlookup에 대한 모든 기준이있는 범위입니다. $ D $ 1은 지정된 vlookup 기준을 포함하는 셀입니다.

그런 다음 셀 E2에서 banana의 첫 번째 일치 값을 얻습니다. 이 공식을 사용하면 기준에 따라 첫 번째 해당 값만 얻을 수 있습니다.

n 번째 상대 값을 얻으려면 다음 공식을 적용 할 수 있습니다. =INDEX($B$2:$B$6,SMALL(IF($D$1=$A$2:$A$6,ROW($A$2:$A$6)-ROW($A$2)+1),1)) + Ctrl 키 + 변화 + 엔터 버튼 키를 함께 사용하면이 수식은 일치하는 첫 번째 값을 반환합니다.

노트:

1. 두 번째 일치 값을 찾으려면 위 공식을 다음과 같이 변경하십시오. =INDEX($B$2:$B$6,SMALL(IF($D$1=$A$2:$A$6,ROW($A$2:$A$6)-ROW($A$2)+1),2)), 다음을 누릅니다. Ctrl 키 + 변화 + 엔터 버튼 동시에 키. 스크린 샷보기 :

2. 위 공식에서 마지막 숫자는 vlookup 기준의 n 번째 일치 값을 의미합니다. 3으로 변경하면 세 번째 일치 값을 얻고 n으로 변경하면 n 번째 일치 값을 찾습니다.


Vlookup은 Excel 용 Kutools를 사용하여 Excel에서 첫 번째 일치 값을 찾습니다.

You는 수식을 기억하지 않고도 Excel에서 첫 번째 일치 값을 쉽게 찾을 수 있습니다. 목록에서 값 찾기 공식 공식 Excel 용 Kutools.

신청하기 전에 Excel 용 Kutools, 제발 먼저 다운로드하여 설치하십시오..

1. 일치하는 첫 번째 값을 찾을 셀 (예 : E2 셀)을 선택한 다음 쿠툴 > 수식 도우미 > 수식 도우미. 스크린 샷보기 :

3. 에서 수식 도우미 대화 상자에서 다음과 같이 구성하십시오.

  • 3.1에서 공식 선택 상자, 찾기 및 선택 목록에서 값 찾기;
    방문 꿀팁: 확인할 수 있습니다 필터 상자에 특정 단어를 텍스트 상자에 입력하여 수식을 빠르게 필터링합니다.
  • 3.2에서 테이블_배열 상자에서 첫 번째 일치하는 값 값을 포함하는 테이블.;
  • 3.2에서 조회 _ 값 상자에 포함 된 셀을 선택합니다. 기준 다음을 기준으로 첫 번째 값을 반환합니다.
  • 3.3에서 상자에서 일치하는 값을 반환 할 열을 지정합니다. 또는 필요에 따라 텍스트 상자에 열 번호를 직접 입력 할 수 있습니다.
  • 3.4 OK 단추. 스크린 샷보기 :

이제 해당 셀 값이 드롭 다운 목록 선택에 따라 셀 C10에 자동으로 채워집니다.

  이 유틸리티의 무료 평가판 (30 일)을 받으려면 그것을 다운로드하려면 클릭하십시오을 클릭 한 다음 위 단계에 따라 작업 적용으로 이동합니다.

최고의 사무 생산성 도구

🤖 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 (43)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
You only return first match with VLOOKUP so your article "How To Vlookup Find The First, 2nd Or Nth Match Value In Excel?" does not make any sense....
This comment was minimized by the moderator on the site
Hi Sima,
"VLOOKUP" is a Google search term, so I used it as a keyword for the article title. The main operation of this article is to lookup values. I'm sorry for the misunderstanding.
This comment was minimized by the moderator on the site
What if the next record on col b is a duplicate how do ignore duplicate? Let's Banana has quantities of 200 twice? Can you please help me figure out how to ignore the duplicate?
This comment was minimized by the moderator on the site
Cna anybody Explain the small function with the IF statement for me please? I don't really understand how that array works :(
This comment was minimized by the moderator on the site
The following formulas works perfect for me:
(a) or(b) =IF(H8='Raw Data'!B4,INDEX('Raw Data'!H6:H20,SMALL(IF(C18='Raw Data'!B6:B20,ROW('Raw Data'!B6:B20)-ROW('Raw Data'!B6:B20)+1),1)))

However, I have encountered a problem where there are 7 sets of the same criteria but in different columns:(1) can the above formula (a) be repeated and search in a different cells in a single formula and(2) the above formula (b) only allows up to two sets of the similar search with matched value result but when trying for the third set in the formula as showed below, Microsoft Excel appeared as "You've entered too many arguments for this function."
=<span style="letter-spacing: 0.2px; color: inherit; font-family: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit;">IF(H8='Raw Data'!J4,INDEX('Raw Data'!P6:P20,SMALL(IF(C18='Raw Data'!J6:J20,ROW('Raw Data'!J6:J20)-ROW('Raw Data'!J6:J20)+1),1))),</span>
This comment was minimized by the moderator on the site
What do Ctrl + Shift + Enter do?? At the beginning I didn'
This comment was minimized by the moderator on the site
Hi,An array formula needs to hit the Ctrl + Shift + Enter keys simultaneously to get the correct result.
This comment was minimized by the moderator on the site
I have a scenario... How do I get last price of anything for reference... Example: Banana first price was 200... While purchasing for second time; I need to display 200 in my expected price cell and then if I buy that on the day at 220, I will put this value manually as 220... Whenever next time I will buy banana; I need to display 220 from the last purchase price
This comment was minimized by the moderator on the site
Try =INDEX($B$2:$B$6,XMATCH(TRUE,EXACT($D$1,$A$2:$A$6),0,-1))

This is essentially reversing the search order and returning the first match using the XMATCH function.

Better late than never, hopefully helps someone :)
This comment was minimized by the moderator on the site
Perfect explanation, thanks.
This comment was minimized by the moderator on the site
If the first or any of the other entry's for 'banana' column B was blank cell, of which I don't require this number, what changes are required to this formula to skip blank cell in column B.
This comment was minimized by the moderator on the site
Sorry I am using this formula
=INDEX($B$2:$B$6,SMALL(IF($D$1=$A$2:$A$6,ROW($A$2:$A$6)-ROW($A$2)+1),1))
This comment was minimized by the moderator on the site
SOLVED:
=SMALL(IF(A2:A7=D1,IF(B2:B7<>"",B2:B7)),1)

If 2nd or 3rd number required exchange ),1) to 2 or 3

This formula does not require index, as it directly looks at the value in Cell
This comment was minimized by the moderator on the site
Correction to previous formula:
The value was reading either the lesser or greater.

Updated formula
=INDEX($B$2:$B$7,SMALL(IF($A2:$A6=$D$1,IF($B$2:$B$7<>"",ROW($A2:$A6)-ROW($A2)+1)),1))

This skips blank cell and places value of non blank cell. Replace +1 with +2 or +3 for 2nd or 3rd value
This comment was minimized by the moderator on the site
And if you want the last, second last, nth last just add a counter (count the number of events already hapenned) to the end and subtract it by 0,1,n respectively.

Thank you so much! I was searching for this for a long time
This comment was minimized by the moderator on the site
Good Day,
Sorry can't help you with this yet. Thank you for your comment.
This comment was minimized by the moderator on the site
Is it possible to find an average of the non-unique data. Or would it be possible to have a list dropdown on the cell of the various values?
This comment was minimized by the moderator on the site
Good Day,
Sorry can't help you with this yet. Thank you for your comment.
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