Hello!
I have a table that I need to Index Match a code and date to another sheet. The problem is that there are multiple lines for each person and the code I need is not always the first one.
[TABLE="width: 500"]
<TBODY>[TR]
[TD]Name[/TD]
[TD]Employee #[/TD]
[TD]Code[/TD]
[TD]Code Date[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]1[/TD]
[TD]TA[/TD]
[TD]2018/1/1[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]1[/TD]
[TD]TZ[/TD]
[TD]2018/2/1[/TD]
[/TR]
[TR]
[TD]BCD[/TD]
[TD]2[/TD]
[TD]TA[/TD]
[TD]2018/5/31[/TD]
[/TR]
[TR]
[TD]FGH[/TD]
[TD]3[/TD]
[TD]TZ[/TD]
[TD]2018/2/4[/TD]
[/TR]
[TR]
[TD]BCD[/TD]
[TD]2[/TD]
[TD]TZ[/TD]
[TD]2018/6/1[/TD]
[/TR]
</TBODY>[/TABLE]
I need to pull the data into something like this;
[TABLE="width: 500"]
<TBODY>[TR]
[TD]Name[/TD]
[TD]Employee #[/TD]
[TD]TA Code[/TD]
[TD]TA Date[/TD]
[TD]TZ Code[/TD]
[TD]TZ Date[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]1[/TD]
[TD]TA[/TD]
[TD]2018/1/1[/TD]
[TD]TZ[/TD]
[TD]2018/2/1[/TD]
[/TR]
[TR]
[TD]BCD[/TD]
[TD]2[/TD]
[TD]TA[/TD]
[TD]2018/5/31[/TD]
[TD]TZ[/TD]
[TD]2018/6/1[/TD]
[/TR]
[TR]
[TD]FGH[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD]TZ[/TD]
[TD]2018/2/4[/TD]
[/TR]
</TBODY>[/TABLE]
I have a table that I need to Index Match a code and date to another sheet. The problem is that there are multiple lines for each person and the code I need is not always the first one.
[TABLE="width: 500"]
<TBODY>[TR]
[TD]Name[/TD]
[TD]Employee #[/TD]
[TD]Code[/TD]
[TD]Code Date[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]1[/TD]
[TD]TA[/TD]
[TD]2018/1/1[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]1[/TD]
[TD]TZ[/TD]
[TD]2018/2/1[/TD]
[/TR]
[TR]
[TD]BCD[/TD]
[TD]2[/TD]
[TD]TA[/TD]
[TD]2018/5/31[/TD]
[/TR]
[TR]
[TD]FGH[/TD]
[TD]3[/TD]
[TD]TZ[/TD]
[TD]2018/2/4[/TD]
[/TR]
[TR]
[TD]BCD[/TD]
[TD]2[/TD]
[TD]TZ[/TD]
[TD]2018/6/1[/TD]
[/TR]
</TBODY>[/TABLE]
I need to pull the data into something like this;
[TABLE="width: 500"]
<TBODY>[TR]
[TD]Name[/TD]
[TD]Employee #[/TD]
[TD]TA Code[/TD]
[TD]TA Date[/TD]
[TD]TZ Code[/TD]
[TD]TZ Date[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]1[/TD]
[TD]TA[/TD]
[TD]2018/1/1[/TD]
[TD]TZ[/TD]
[TD]2018/2/1[/TD]
[/TR]
[TR]
[TD]BCD[/TD]
[TD]2[/TD]
[TD]TA[/TD]
[TD]2018/5/31[/TD]
[TD]TZ[/TD]
[TD]2018/6/1[/TD]
[/TR]
[TR]
[TD]FGH[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD]TZ[/TD]
[TD]2018/2/4[/TD]
[/TR]
</TBODY>[/TABLE]