adamelston
New Member
- Joined
- Jul 22, 2016
- Messages
- 31
Hi, I've been trying unsuccessfully to populate a table (T2) with info from a table (T1), perhaps using an 'x' or 'y' to show which student is on which course. T1 is:
[TABLE="width: 174"]
<tbody>[TR]
[TD="width: 87"]StudentID[/TD]
[TD="width: 87"]Course[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]French[/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD]Math[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]English[/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD]Science[/TD]
[/TR]
[TR]
[TD]a5[/TD]
[TD]French[/TD]
[/TR]
[TR]
[TD]a6[/TD]
[TD]English[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]Science[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]French[/TD]
[/TR]
</tbody>[/TABLE]
and T2 is:
[TABLE="width: 435"]
<tbody>[TR]
[TD="width: 87"]StudentID[/TD]
[TD="width: 87"]English[/TD]
[TD="width: 87"]Math[/TD]
[TD="width: 87"]Science[/TD]
[TD="width: 87"]French[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've been trying index/match but I am not sure how to deal with two criteria, I would be very grateful for any help.
Thanks,
[TABLE="width: 174"]
<tbody>[TR]
[TD="width: 87"]StudentID[/TD]
[TD="width: 87"]Course[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]French[/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD]Math[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]English[/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD]Science[/TD]
[/TR]
[TR]
[TD]a5[/TD]
[TD]French[/TD]
[/TR]
[TR]
[TD]a6[/TD]
[TD]English[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]Science[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]French[/TD]
[/TR]
</tbody>[/TABLE]
and T2 is:
[TABLE="width: 435"]
<tbody>[TR]
[TD="width: 87"]StudentID[/TD]
[TD="width: 87"]English[/TD]
[TD="width: 87"]Math[/TD]
[TD="width: 87"]Science[/TD]
[TD="width: 87"]French[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've been trying index/match but I am not sure how to deal with two criteria, I would be very grateful for any help.
Thanks,
Last edited: