FlexYourData
New Member
- Joined
- Jun 28, 2016
- Messages
- 4
Hello! I am trying to use the Index Match functions to carry over data from one sheet to another. I am a little lost as to how to make this work, so I am not sure if what I have is on the right track.
Goal:
In the sheet titled 3.Summary (first screen shot below) the formula in cell D2 is trying to bring over the date from column J or L within sheet 2.Timeline (second screens shot below). The value used to match between the two sheets is a concatenation of ID (column B) and Start date (column C). The value that should appear in cell D2 is 4/10/14 and the value that should appear in E2 is 6/1/15.
3.Summary:
[TABLE="width: 575"]
<tbody>[TR]
[TD]Excel 2012
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]ID (Auto-fill)[/TD]
[TD="bgcolor: #A6A6A6, align: center"]Start date (Auto-fill)[/TD]
[TD="align: center"]Step 4 or 5[/TD]
[TD="bgcolor: #D9D9D9, align: center"]# of Days After start date[/TD]
[TD="align: center"]Comments[/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #A6A6A6, align: right"]1[/TD]
[TD="bgcolor: #A6A6A6"]Example[/TD]
[TD="bgcolor: #A6A6A6"]3/20/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]#VALUE![/TD]
[TD="align: right"]#N/A[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #A6A6A6, align: right"]2[/TD]
[TD="bgcolor: #A6A6A6"]Example2[/TD]
[TD="bgcolor: #A6A6A6"]4/11/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: #DAE7F5"]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]B2[/TH]
[TD="align: left"]='1.Identifying Information'!B2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C2[/TH]
[TD="align: left"]='2.Timeline'!C2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]D2[/TH]
[TD="align: left"]=INDEX('2.Timeline'!L2:'2.Timeline'!L250,MATCH(B2&C2,'2.Timeline'!B2:'2.Timeline'!B250&'2.Timeline'!C2:'2.Timeline'!C250,0))[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]E2[/TH]
[TD="align: left"]=-(C2-D2)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]F2[/TH]
[TD="align: left"]=MATCH(B2,'2.Timeline'!A2:M14,0)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C3[/TH]
[TD="align: left"]='2.Timeline'!C3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
2.Timeline:
Excel 2012
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6A6A6, align: center"]ID (Auto-fill)[/TD]
[TD="bgcolor: #A6A6A6, align: center"]Start Date (Auto-fill)[/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 1 (mandatory)[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 2 (mandatory)[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 3 (mandatory)[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 4[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 5[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #A6A6A6"]Example[/TD]
[TD="bgcolor: #A6A6A6"]3/20/2014[/TD]
[TD="align: right"]3/20/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"]3/25/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]5[/TD]
[TD="align: right"]3/25/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]5[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]###[/TD]
[TD="align: right"]4/10/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]21[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #A6A6A6"]Example 2[/TD]
[TD="bgcolor: #A6A6A6"]4/11/2015[/TD]
[TD="align: right"]4/15/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]4[/TD]
[TD="align: right"]4/30/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]19[/TD]
[TD="align: right"]5/18/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]37[/TD]
[TD="align: right"]6/1/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]51[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]###[/TD]
[TD="align: center"]4[/TD]
[TD="bgcolor: #A6A6A6"]Example 3[/TD]
[TD="bgcolor: #A6A6A6"]1/0/1900[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: center"]5[/TD]
[TD="bgcolor: #A6A6A6"]Example 4[/TD]
[TD="bgcolor: #A6A6A6"]1/0/1900[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: center"]6[/TD]
[TD="bgcolor: #A6A6A6"]Example 5[/TD]
[TD="bgcolor: #A6A6A6"]1/0/1900[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
</tbody>
[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: #DAE7F5"]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]B2[/TH]
[TD="align: left"]='1.Identifying Information'!B2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C2[/TH]
[TD="align: left"]='1.Identifying Information'!C2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C3[/TH]
[TD="align: left"]='1.Identifying Information'!C3[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C4[/TH]
[TD="align: left"]='1.Identifying Information'!C4[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C5[/TH]
[TD="align: left"]='1.Identifying Information'!C5[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C6[/TH]
[TD="align: left"]='1.Identifying Information'!C6[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"][/TH]
[TD="align: left"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Any help you can provide is greatly appreciate! Thank you!
Goal:
In the sheet titled 3.Summary (first screen shot below) the formula in cell D2 is trying to bring over the date from column J or L within sheet 2.Timeline (second screens shot below). The value used to match between the two sheets is a concatenation of ID (column B) and Start date (column C). The value that should appear in cell D2 is 4/10/14 and the value that should appear in E2 is 6/1/15.
3.Summary:
[TABLE="width: 575"]
<tbody>[TR]
[TD]Excel 2012
A | B | C | D | E | F | |
---|---|---|---|---|---|---|
#VALUE! | ||||||
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]ID (Auto-fill)[/TD]
[TD="bgcolor: #A6A6A6, align: center"]Start date (Auto-fill)[/TD]
[TD="align: center"]Step 4 or 5[/TD]
[TD="bgcolor: #D9D9D9, align: center"]# of Days After start date[/TD]
[TD="align: center"]Comments[/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #A6A6A6, align: right"]1[/TD]
[TD="bgcolor: #A6A6A6"]Example[/TD]
[TD="bgcolor: #A6A6A6"]3/20/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]#VALUE![/TD]
[TD="align: right"]#N/A[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #A6A6A6, align: right"]2[/TD]
[TD="bgcolor: #A6A6A6"]Example2[/TD]
[TD="bgcolor: #A6A6A6"]4/11/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
3.Summary
[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: #DAE7F5"]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]B2[/TH]
[TD="align: left"]='1.Identifying Information'!B2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C2[/TH]
[TD="align: left"]='2.Timeline'!C2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]D2[/TH]
[TD="align: left"]=INDEX('2.Timeline'!L2:'2.Timeline'!L250,MATCH(B2&C2,'2.Timeline'!B2:'2.Timeline'!B250&'2.Timeline'!C2:'2.Timeline'!C250,0))[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]E2[/TH]
[TD="align: left"]=-(C2-D2)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]F2[/TH]
[TD="align: left"]=MATCH(B2,'2.Timeline'!A2:M14,0)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C3[/TH]
[TD="align: left"]='2.Timeline'!C3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
2.Timeline:
Excel 2012
B | C | D | E | F | G | H | I | J | K | L | M | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6A6A6, align: center"]ID (Auto-fill)[/TD]
[TD="bgcolor: #A6A6A6, align: center"]Start Date (Auto-fill)[/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 1 (mandatory)[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 2 (mandatory)[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 3 (mandatory)[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 4[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="bgcolor: #A6A6A6, align: center"]Step 5[/TD]
[TD="bgcolor: #A6A6A6, align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #A6A6A6"]Example[/TD]
[TD="bgcolor: #A6A6A6"]3/20/2014[/TD]
[TD="align: right"]3/20/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"]3/25/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]5[/TD]
[TD="align: right"]3/25/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]5[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]###[/TD]
[TD="align: right"]4/10/14[/TD]
[TD="bgcolor: #D9D9D9, align: right"]21[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #A6A6A6"]Example 2[/TD]
[TD="bgcolor: #A6A6A6"]4/11/2015[/TD]
[TD="align: right"]4/15/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]4[/TD]
[TD="align: right"]4/30/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]19[/TD]
[TD="align: right"]5/18/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]37[/TD]
[TD="align: right"]6/1/15[/TD]
[TD="bgcolor: #D9D9D9, align: right"]51[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]###[/TD]
[TD="align: center"]4[/TD]
[TD="bgcolor: #A6A6A6"]Example 3[/TD]
[TD="bgcolor: #A6A6A6"]1/0/1900[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: center"]5[/TD]
[TD="bgcolor: #A6A6A6"]Example 4[/TD]
[TD="bgcolor: #A6A6A6"]1/0/1900[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: center"]6[/TD]
[TD="bgcolor: #A6A6A6"]Example 5[/TD]
[TD="bgcolor: #A6A6A6"]1/0/1900[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #D9D9D9, align: right"]0[/TD]
</tbody>
2.Timeline
[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: #DAE7F5"]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]B2[/TH]
[TD="align: left"]='1.Identifying Information'!B2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C2[/TH]
[TD="align: left"]='1.Identifying Information'!C2[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C3[/TH]
[TD="align: left"]='1.Identifying Information'!C3[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C4[/TH]
[TD="align: left"]='1.Identifying Information'!C4[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C5[/TH]
[TD="align: left"]='1.Identifying Information'!C5[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"]C6[/TH]
[TD="align: left"]='1.Identifying Information'!C6[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #DAE7F5"][/TH]
[TD="align: left"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Any help you can provide is greatly appreciate! Thank you!