OK I have a table that looks something like this:
[TABLE="width: 100"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]Surname[/TD]
[TD]Forename[/TD]
[TD]UPN[/TD]
[TD]Type[/TD]
[TD]Points[/TD]
[TD]Talking when the teachers talking[/TD]
[TD]Equipment[/TD]
[TD]Homework[/TD]
[TD]Disruption to Learning[/TD]
[TD]Attitude to Learning[/TD]
[/TR]
[TR]
[TD]Aashir[/TD]
[TD]Muhammad[/TD]
[TD]DXxxx[/TD]
[TD]Talking when the teachers talking[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]DXxxx[/TD]
[TD]Equpment[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Abdillahi[/TD]
[TD]Yaqub[/TD]
[TD]EXxxx[/TD]
[TD]Homework[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]EXxxx[/TD]
[TD]Disruption to learning[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
On another sheet I have a table that has the UPN and columns F to J. If the UPN matches and the type matches the column headings then I want the points to go into the relevant column.
Really hope this makes sense, any thoughts on how I can do this? VBA or formula would be really helpful.
Thanks
[TABLE="width: 100"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]Surname[/TD]
[TD]Forename[/TD]
[TD]UPN[/TD]
[TD]Type[/TD]
[TD]Points[/TD]
[TD]Talking when the teachers talking[/TD]
[TD]Equipment[/TD]
[TD]Homework[/TD]
[TD]Disruption to Learning[/TD]
[TD]Attitude to Learning[/TD]
[/TR]
[TR]
[TD]Aashir[/TD]
[TD]Muhammad[/TD]
[TD]DXxxx[/TD]
[TD]Talking when the teachers talking[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]DXxxx[/TD]
[TD]Equpment[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Abdillahi[/TD]
[TD]Yaqub[/TD]
[TD]EXxxx[/TD]
[TD]Homework[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]EXxxx[/TD]
[TD]Disruption to learning[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
On another sheet I have a table that has the UPN and columns F to J. If the UPN matches and the type matches the column headings then I want the points to go into the relevant column.
Really hope this makes sense, any thoughts on how I can do this? VBA or formula would be really helpful.
Thanks
Last edited: