Help with index match multiple criteria and multiple columns

ks-man

New Member
Joined
Aug 31, 2007
Messages
8
I'm putting together a baseball lineup and position matrix for my kid. Players name is in column A and positions are in columns B-G with each position listed in the subsequent columns.

I'm trying to do a lookup where I have a baseball diamond and if I enter an inning number it will then show the player name (from column A) that is playing the position for that inning. I can easily return the column number by inning (=match(H4, B2:G2,0) however I can't figure out how to use the index match portion to search for the row of the returned column to then give back the name in column A.

Thanks for the help!
 

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.
How about
+Fluff New.xlsm
ABCDEFGHI
1NameABCDEF
2Tom Pearcexyz
3Bill Brewerklm
4Jan SteweropqC
5Peter GurneymnoabcDan'l Whiddon
6Peter Davydef
7Dan'l Whiddonabc
8Harry Hawketuv
9Tom Cobleyijk
10
11
Main
Cell Formulas
RangeFormula
I5I5=INDEX(A2:A9,MATCH(H5,INDEX(B2:G9,,MATCH(H4,B1:G1,0)),0))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,632
Messages
6,125,909
Members
449,274
Latest member
mrcsbenson

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