Return Column name from results in grid

ThisDave

New Member
Joined
May 8, 2018
Messages
1
Hi, I hope yo can help

I've a grid with home team on the y axis and away team on the x. I've each fixture where the teams meet within the grid (so Arsenal v Leicester = 1, Leicester v Arsenal = 31 e.g.)

ArsenalBournemouthBrightonBurnleyChelsea
Arsenal 473722
Bournemouth2351410
Brighton2922 1824
Burnley13383631
Chelsea525201

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>

I'd like a formula which, if I input "Arsenal" in cell b1 and "1" in a2, it will return "Leicester" in b2.

**
I have tried combining an if function with V & H Lookups, or index or match functions, but to no avail.

Obviously each team plays 38 fixtures, and meets each opponent twice.

Essentially I want to replace the Away teams on the x axis with the fixture number, and subsequently the fixture numbers within the grid, with the opponents to make later referencing easier.
Home\/ Away>12345
Arsenal LeicesterStokeLiverpoolBournemouthChelsea
Bournemouth
Brighton
Burnley
Chelsea

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>


Any help is appreciated

**( I mean, eventually, I'm aiming to input "1" into a cell and have each of the fixtures displayed across a range, but I reckon I can sort that afterwards)
Fixture1
HomeAway
ArsenalLeicester
BrightonMan Utd
ChelseaBurnley

<tbody>
</tbody>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,214,875
Messages
6,122,047
Members
449,064
Latest member
scottdog129

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