Index Match?

manzier

Board Regular
Joined
Jul 21, 2014
Messages
96
Hi All,

I have a matrix that I need to update based on a table I have. Essentially, if the table shows completion, I'll need the matrix to be updated with the corresponding date of completion

Example, I have this table:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Training[/TD]
[TD]Completion[/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD]Training1[/TD]
[TD]3/13/2016[/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD]Training4[/TD]
[TD]5/25/2016[/TD]
[/TR]
[TR]
[TD]Name2[/TD]
[TD]Training2[/TD]
[TD]3/13/2016[/TD]
[/TR]
[TR]
[TD]Name2[/TD]
[TD]Training4[/TD]
[TD]4/15/2017[/TD]
[/TR]
[TR]
[TD]Name3[/TD]
[TD]Training3[/TD]
[TD]6/18/2015[/TD]
[/TR]
[TR]
[TD]Name4[/TD]
[TD]Training1[/TD]
[TD]5/15/2016[/TD]
[/TR]
</tbody>[/TABLE]

I'll need to create a formula in the matrix below so that the matrix is updated as the table above is updated, please see below

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Training1[/TD]
[TD]Training2[/TD]
[TD]Training3[/TD]
[TD]Training4[/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD]3/13/2016[/TD]
[TD][/TD]
[TD][/TD]
[TD]5/25/2016[/TD]
[/TR]
[TR]
[TD]Name2[/TD]
[TD][/TD]
[TD]3/13/2016[/TD]
[TD][/TD]
[TD]4/15/2017[/TD]
[/TR]
[TR]
[TD]Name3[/TD]
[TD][/TD]
[TD][/TD]
[TD]6/18/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name4[/TD]
[TD]5/15/2016[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



Is index match the proper way to go? Please help. Thanks in advance!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
If your dates are actual dates and not text then you could use SUMPRODUCT.
Copy formula down and across as needed.
Excel Workbook
ABCDE
1NameTrainingCompletion
2Name1Training13/13/2016
3Name1Training45/25/2016
4Name2Training23/13/2016
5Name2Training44/15/2017
6Name3Training36/18/2015
7Name4Training15/15/2016
8
9
10NameTraining1Training2Training3Training4
11Name13/13/20165/25/2016
12Name23/13/20164/15/2017
13Name36/18/2015
14Name45/15/2016
Sheet
 
Upvote 0
Can you use this formula? I also enclosed the =iferror(......" ") to remove the error messages where there should not be any answer. The formula is [TABLE="width: 68"]
<tbody>[TR]
[TD="class: xl65, width: 68"] =IFERROR(INDEX($C$2:$C$7,MATCH($A10&B$9,$A$2:$A$7&$B$2:$B$7,0))," ")

[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 348"]
<colgroup><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Training[/TD]
[TD]Completion[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD]Training1[/TD]
[TD="align: right"]3/13/2016[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD]Training4[/TD]
[TD="align: right"]5/25/2016[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name2[/TD]
[TD]Training2[/TD]
[TD="align: right"]3/13/2016[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name2[/TD]
[TD]Training4[/TD]
[TD="align: right"]4/15/2017[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name3[/TD]
[TD]Training3[/TD]
[TD="align: right"]6/18/2015[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name4[/TD]
[TD]Training1[/TD]
[TD="align: right"]5/15/2016[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Training1[/TD]
[TD]Training2[/TD]
[TD]Training3[/TD]
[TD]Training4[/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD="align: right"]3/13/2016[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]5/25/2016[/TD]
[/TR]
[TR]
[TD]Name2[/TD]
[TD] [/TD]
[TD="align: right"]3/13/2016[/TD]
[TD] [/TD]
[TD="align: right"]4/15/2017[/TD]
[/TR]
[TR]
[TD]Name3[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]6/18/2015[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Name4[/TD]
[TD="align: right"]5/15/2016[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Hi, to all!

Another option could be:

Book1
ABCDE
1NameTrainingCompletion
2Name1Training13/13/2016
3Name1Training45/25/2016
4Name2Training23/13/2016
5Name2Training44/15/2017
6Name3Training36/18/2015
7Name4Training15/15/2016
8
9NameTraining1Training2Training3Training4
10Name13/13/20165/25/2016
11Name23/13/20164/15/2017
12Name36/18/2015
13Name45/15/2016
Hoja1
Cell Formulas
RangeFormula
B10=IFERROR(1/(1/SUMIFS($C$2:$C$7,$A$2:$A$7,$A10,$B$2:$B$7,B$9)),"")

Blessings!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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