I hope to explain this correctly. I am needed help with an INDEX/MATCH formula to get the DATE field listed below on [TAB 1].
[TAB 1]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]ID
[/TD]
[TD]Product
[/TD]
[TD]Training1[/TD]
[TD]Training2[/TD]
[TD]Training3[/TD]
[TD]Training4[/TD]
[TD]DATE
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Mr.X[/TD]
[TD]AAA
[/TD]
[TD]A1
[/TD]
[TD]A2
[/TD]
[TD]B1
[/TD]
[TD][/TD]
[TD]1/5/2018
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Mr.X
[/TD]
[TD]BBB
[/TD]
[TD]B2
[/TD]
[TD][/TD]
[TD][/TD]
[TD]B3
[/TD]
[TD]1/2/2018
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Mr.Y
[/TD]
[TD]CCC
[/TD]
[TD]B2
[/TD]
[TD]C1
[/TD]
[TD][/TD]
[TD]C4
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Ms.Z
[/TD]
[TD]AAA
[/TD]
[TD]A1
[/TD]
[TD]A2
[/TD]
[TD]B1
[/TD]
[TD][/TD]
[TD]1/7/2018
[/TD]
[/TR]
</tbody>[/TABLE]
[TAB 2]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]ID
[/TD]
[TD]Training
[/TD]
[TD]Date
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Mr.X
[/TD]
[TD]A2
[/TD]
[TD]2/10/2018
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Mr.X
[/TD]
[TD]B2
[/TD]
[TD]2/5/2018
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Mr.X
[/TD]
[TD]B3
[/TD]
[TD]1/2/2018
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Mr.X
[/TD]
[TD]A1
[/TD]
[TD]1/5/2018
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]Mr.Y
[/TD]
[TD]A1
[/TD]
[TD]1/5/2018
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]Mr.Y
[/TD]
[TD]A2
[/TD]
[TD]2/5/2018
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]Ms.Z
[/TD]
[TD]A2
[/TD]
[TD]1/7/2018
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]Ms.Z
[/TD]
[TD]B1
[/TD]
[TD]2/5/2018
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]Ms.Z
[/TD]
[TD]A5
[/TD]
[TD]11/20/2017
[/TD]
[/TR]
</tbody>[/TABLE]
Soooo. What I am trying to ask for [Tab 1].[Column G] is, For [Column A]/[Row 2], look at all of the training courses [Columns C - Column F] and find those matching ID/training courses in [Tab 2]; and provide me with the earliest date.
For example. Ms. Z sold product AAA. In order to sell product AAA, you can either take training A1, A2, or B1. [Tab 2] holds all the training records. So we need to look for all of Ms.Z training records, then only look at Training A1, A2, or B1; and pick the earliest date (A2 - 1/7/2018).
[TAB 1]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]ID
[/TD]
[TD]Product
[/TD]
[TD]Training1[/TD]
[TD]Training2[/TD]
[TD]Training3[/TD]
[TD]Training4[/TD]
[TD]DATE
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Mr.X[/TD]
[TD]A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ms.Z
[/TD]
[TD]A2
[/TD]
[TD]1/7/2018
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]Ms.Z
[/TD]
[TD]B1
[/TD]
[TD]2/5/2018
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]Ms.Z
[/TD]
[TD]A5
[/TD]
[TD]11/20/2017
[/TD]
[/TR]
</tbody>[/TABLE]
Soooo. What I am trying to ask for [Tab 1].[Column G] is, For [Column A]/[Row 2], look at all of the training courses [Columns C - Column F] and find those matching ID/training courses in [Tab 2]; and provide me with the earliest date.
For example. Ms. Z sold product AAA. In order to sell product AAA, you can either take training A1, A2, or B1. [Tab 2] holds all the training records. So we need to look for all of Ms.Z training records, then only look at Training A1, A2, or B1; and pick the earliest date (A2 - 1/7/2018).