RedOctoberKnight
Board Regular
- Joined
- Nov 16, 2015
- Messages
- 153
- Office Version
- 2016
- Platform
- Windows
Good Morning,
I trying to use index and match to lookup and employee name based on the day of the week and their position.
for example, I want to return the employee name who is in position "1" on Thursday.
[TABLE="width: 485"]
<tbody>[TR]
[TD]Employee[/TD]
[TD]Sunday[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[TD]Wednesday[/TD]
[TD]Thursday[/TD]
[TD]Friday[/TD]
[TD]Saturday[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]OFF[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]OFF[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]1[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col><col></colgroup>[/TABLE]
I trying to use index and match to lookup and employee name based on the day of the week and their position.
for example, I want to return the employee name who is in position "1" on Thursday.
[TABLE="width: 485"]
<tbody>[TR]
[TD]Employee[/TD]
[TD]Sunday[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[TD]Wednesday[/TD]
[TD]Thursday[/TD]
[TD]Friday[/TD]
[TD]Saturday[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]OFF[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]OFF[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]1[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]OFF[/TD]
[TD]OFF[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col><col></colgroup>[/TABLE]