Vlookup, Hlookup, Match, Index,... or probably a combination?

conny_1

New Member
Joined
Jun 11, 2019
Messages
2

Hello,
I'm looking for an Excel Formula and I hope that someone can help me out with this?

I tried to draw a simplified version of the Excel below.
I'm looking for a dynamic formula which returns the required training level for a specific Team.
For example:
- For Team C
- For Training 6
--> Which Level is required?

- For Team D
- For training 4
--> Which Level is required?

I don't want to replace the column-index-num each time (as the Excel is very big), the formula needs to be dynamic.

Thank you very much in advance!!


[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Team A[/TD]
[TD][/TD]
[TD]Team B[/TD]
[TD][/TD]
[TD]Team C[/TD]
[TD][/TD]
[TD]Team D[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Training 1[/TD]
[TD]Level 3[/TD]
[TD]
Training 1
<strike></strike>[/TD]
[TD]Level 3[/TD]
[TD]
Training Session 1
<strike></strike>[/TD]
[TD]Level 3[/TD]
[TD]
Training Session 1
<strike></strike>[/TD]
[TD]Level 3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Training 2[/TD]
[TD]Level 3[/TD]
[TD]Training 2[/TD]
[TD]
Level 3
<strike></strike>[/TD]
[TD]
Training 2
[/TD]
[TD]
Level 3
<strike></strike>[/TD]
[TD]
Training 2
<strike></strike>[/TD]
[TD]<strike></strike>
Level 3
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Training 3[/TD]
[TD]Level 3[/TD]
[TD][/TD]
[TD][/TD]
[TD]
Training 3
<strike></strike>[/TD]
[TD]<strike></strike>
Level 3
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
Training 4
[/TD]
[TD]<strike></strike>
Level 3
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Training 5
<strike></strike>[/TD]
[TD]Level 2[/TD]
[TD]
Training 5
<strike></strike>[/TD]
[TD]<strike></strike>
Level 2
<strike></strike>[/TD]
[TD]
Training 5
<strike></strike>[/TD]
[TD]<strike></strike>
Level 2
<strike></strike>[/TD]
[TD]
Training 5
<strike></strike>[/TD]
[TD]<strike></strike>
Level 2
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Training 6
[/TD]
[TD]<strike></strike>
Level 2
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
Training 6
<strike></strike>[/TD]
[TD]<strike></strike>
Level 2
<strike></strike>[/TD]
[TD]
Training 6
<strike></strike>[/TD]
[TD]<strike></strike>
Level 2
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Training 7
[/TD]
[TD]<strike></strike><strike></strike>
Level 1
[/TD]
[TD]<strike></strike>
Training 7
<strike></strike>[/TD]
[TD]<strike></strike>
Level 1
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
Training 7
<strike></strike>[/TD]
[TD]
Level 1
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
Training 8
[/TD]
[TD]<strike></strike>
Level 1
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
Training 9
[/TD]
[TD]<strike></strike>
Level 1
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
try this


Book1
ABCDEFGHIJ
1Team ATeam BTeam CTeam DTeam A
2Training 1Level 3Training 1Level 3Training Session 1Level 3Training Session 1Level 3Training 2
3Training 2Level 3Training 2Level 3Training 2Level 3Training 2Level 3Level 3
4Training 3Level 3Training 5Level 2Training3Level 3Training 4Level 3
5Training 5Level 2Training 7Level 1Training 5Level 2Training 5Level 2
6Training 6Level 2Training 8Level 1Training 6Level 2Training 6Level 2
7Training 7Level 1Training 9Level 1Training 7Level 1
Sheet1
Cell Formulas
RangeFormula
J3=INDEX(INDEX($A:$H,,MATCH(J1,$A$1:$H$1,0)+1),MATCH(J2,INDEX($A:$H,,MATCH(J1,$A$1:$H$1,0)),0))
 
Upvote 0

Forum statistics

Threads
1,223,632
Messages
6,173,467
Members
452,516
Latest member
archcalx

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