Find the match within the sheet and return next cell value

Chand1987

New Member
Joined
Apr 13, 2022
Messages
6
Office Version
  1. 2016
Platform
  1. Windows
Hope someone can help me in this forum,
I have a worksheet like below and if I make a list KS-C08, KS-B08, KS-C07..... I want to get return of ID and Name in Next column.

Result Expected
KS-C08​
T_SK-006​
Jae Sun Lee​
KS-B08​
T_SK-003​
Yongkwang Kim​
KS-C07​
Dongwan lim​
KS-B07​
Hyunbo Sim​
KS-C06​
T_SK-015​
Jinhwan Kim​
KS-B06​
T_SK-011​
Dojin Kim​





1. Work Sheet
KS-C08KS-B08
T_SK-006
Jae Sun Lee​
T_SK-003Yongkwang Kim
KS-C07KS-B07
Dongwan limHyunbo Sim
KS-C06KS-B06
T_SK-015Jinhwan KimT_SK-011Dojin Kim
KS-C05KS-B05
T_SK-013Nameun KimT_SK-014Youngjun Kim
KS-C04KS-B04
T_SK-009
Young Rok Hong​
T_SK-007
Byungwon Yoo​
KS-C03~6/16KS-B036/1~
BTKwanhyung Nam
Ilkeun Youn​
KS-C02KS-B02
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi,
I am not sure if there is a better way of doing it or not
but you can try like this

Book6
ABCDEFGH
11. Work SheetIDNAME
2KS-C08KS-B08KS-C08T_SK-006Jae Sun Lee
3T_SK-006Jae Sun LeeT_SK-003Yongkwang KimKS-B08T_SK-003Yongkwang Kim
4KS-C07 Dongwan lim
5KS-C07KS-B07KS-B07 Hyunbo Sim
6Dongwan limHyunbo SimKS-C06T_SK-015Jinhwan Kim
7KS-B06T_SK-011Dojin Kim
8KS-C06KS-B06
9T_SK-015Jinhwan KimT_SK-011Dojin Kim  
10
11KS-C05KS-B05
12T_SK-013Nameun KimT_SK-014Youngjun Kim
13
14KS-C04KS-B04
15T_SK-009Young Rok HongT_SK-007Byungwon Yoo
16
17KS-C03~6/16KS-B036/1~
18BTKwanhyung NamIlkeun Youn
19
20KS-C02KS-B02
Sheet2
Cell Formulas
RangeFormula
G9,G2:G7G2=IFERROR(INDEX(OFFSET($A$2:$A$20,1,0),MATCH(F2,$A$2:$A$20,0)),"")&IFERROR(INDEX(OFFSET($C$2:$C$20,1,0),MATCH(F2,$C$2:$C$20,0)),"")
H9,H2:H7H2=IFERROR(INDEX(OFFSET($A$2:$A$20,1,1),MATCH(F2,$A$2:$A$20,0)),"")&IFERROR(INDEX(OFFSET($C$2:$C$20,1,1),MATCH(F2,$C$2:$C$20,0)),"")
 
Upvote 0
Hi,
I am not sure if there is a better way of doing it or not
but you can try like this

Book6
ABCDEFGH
11. Work SheetIDNAME
2KS-C08KS-B08KS-C08T_SK-006Jae Sun Lee
3T_SK-006Jae Sun LeeT_SK-003Yongkwang KimKS-B08T_SK-003Yongkwang Kim
4KS-C07 Dongwan lim
5KS-C07KS-B07KS-B07 Hyunbo Sim
6Dongwan limHyunbo SimKS-C06T_SK-015Jinhwan Kim
7KS-B06T_SK-011Dojin Kim
8KS-C06KS-B06
9T_SK-015Jinhwan KimT_SK-011Dojin Kim  
10
11KS-C05KS-B05
12T_SK-013Nameun KimT_SK-014Youngjun Kim
13
14KS-C04KS-B04
15T_SK-009Young Rok HongT_SK-007Byungwon Yoo
16
17KS-C03~6/16KS-B036/1~
18BTKwanhyung NamIlkeun Youn
19
20KS-C02KS-B02
Sheet2
Cell Formulas
RangeFormula
G9,G2:G7G2=IFERROR(INDEX(OFFSET($A$2:$A$20,1,0),MATCH(F2,$A$2:$A$20,0)),"")&IFERROR(INDEX(OFFSET($C$2:$C$20,1,0),MATCH(F2,$C$2:$C$20,0)),"")
H9,H2:H7H2=IFERROR(INDEX(OFFSET($A$2:$A$20,1,1),MATCH(F2,$A$2:$A$20,0)),"")&IFERROR(INDEX(OFFSET($C$2:$C$20,1,1),MATCH(F2,$C$2:$C$20,0)),"")
Thank you for your quick response, But i am expecting formula that with the range like A5:Z:500 instead of Selecting A, C, or E ....
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top