Lookup column header based on row and table data

GPet18

New Member
Joined
Jun 30, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello - looking for an Excel whizz.

Trying to complete Cell J3 with a column header based on the player and their 'score' from the week.

I have tried a combination of LOOKUP with INDEX MATCH but not quite getting it.

Any help would be much appreciated. Many thanks!
Excel help.JPG
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi and welcome to MrExcel!

Try the following formula. I added a couple of examples.
Dante Amor
ABCDEFGHIJKL
1PlayerIntroLightAdaptedStandardHeavyOverloadPlayerPlayer 2Player 5Player 1
2Player 190010001150150017002100Score14002000100
3Player 2110012001250170019002350Score categoryAdaptedStandardNot Found
4Player 3135014001250185020502500
5Player 4125013501450200022502700
6Player 5135013001350195022502700
7
Hoja3
Cell Formulas
RangeFormula
J3:L3J3=IFERROR(INDEX($B$1:$G$1,,MATCH(J$2,INDEX($B$2:$G$6,MATCH(J$1,$A$2:$A$6,0),),1)), "Not Found")


---------------------------
NOTE XL2BB:
For the future, it would help greatly if you could give us the sample data in a form that we can copy to test with, rather that a picture.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in
Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Solution
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,054
Members
449,206
Latest member
Healthydogs

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