Index & Match Question

chingching831

New Member
Joined
Jun 2, 2022
Messages
35
Office Version
  1. 2019
Platform
  1. Windows
Hi team,

The following table is the data source I have got

Names & IDJan-23Feb-23Mar-23Apr-23
Janice_TY1200230300400
Mavis_TY1156210235983
Janice_TY2436294456201
Mavis_TY2176267688469


How can I get the numbers from the upper table to match the first two columns ? I think Index & Match can help.. but I don't know how.
Jan-23Janice_TY1?
Apr-23Mavis_TY2?
Feb-23Mavis_TY1?
Mar-23Mavis_TY2?

Thank you.

Cheers, Sam
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Maybe like this:
Book1
ABCDEFGHIJ
1Names & IDJan-23Feb-23Mar-23Apr-23
2Janice_TY1200230300400Jan-23Janice_TY1200
3Mavis_TY1156210235983Apr-23Mavis_TY2469
4Janice_TY2436294456201Feb-23Mavis_TY1210
5Mavis_TY2176267688469Mar-23Mavis_TY2688
Sheet1
Cell Formulas
RangeFormula
J2:J5J2=INDEX($B$2:$E$5,MATCH(I2,$A$2:$A$5,0),MATCH(H2,$B$1:$E$1,0))
 
Upvote 1
Solution
=INDEX($B$2:$E$5,MATCH(B10,$A$2:$A$5,0),MATCH(A10,$B$1:$E$1,0))

Book9
ABCDEF
1Names & IDJan-23Feb-23Mar-23Apr-23
2Janice_TY1200230300400
3Mavis_TY1156210235983
4Janice_TY2436294456201
5Mavis_TY2176267688469
6
7
8
9
10Jan-23Janice_TY1200
11Apr-23Mavis_TY2469
12Feb-23Mavis_TY1210
13Mar-23Mavis_TY2688
Sheet1
Cell Formulas
RangeFormula
C10:C13C10=INDEX($B$2:$E$5,MATCH(B10,$A$2:$A$5,0),MATCH(A10,$B$1:$E$1,0))


you can pu tinto a seperate sheet as required
 
Upvote 1
How about
Fluff.xlsm
ABCDE
1Names & IDJan-23Feb-23Mar-23Apr-23
2Janice_TY1200230300400
3Mavis_TY1156210235983
4Janice_TY2436294456201
5Mavis_TY2176267688469
6
7
8
9
10Jan-23Janice_TY1200
11Apr-23Mavis_TY2469
12Feb-23Mavis_TY1210
13Mar-23Mavis_TY2688
14
Master
Cell Formulas
RangeFormula
C10:C13C10=INDEX($B$2:$E$5,MATCH(B10,$A$2:$A$5,0),MATCH(A10,$B$1:$E$1,0))
 
Upvote 1

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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