Hi,
Desperately need help to populate an excel spreadsheet where multiple columns need to be filled, for example, need to populate columns a,b,c, based on cells above, fill example is in red. This is due to multiple comments per column a being unique id.
Need to be able to do this for thousands of rows therefore need help with VBA code PLEASE
[TABLE="class: grid, width: 500, align: left"]
<TBODY>[TR]
[TD]wo[/TD]
[TD]dept[/TD]
[TD]user[/TD]
[TD]comments[/TD]
[/TR]
[TR]
[TD]1123[/TD]
[TD]admin[/TD]
[TD]smith[/TD]
[TD]line 1[/TD]
[/TR]
[TR]
[TD]1123[/TD]
[TD]admin[/TD]
[TD]smith[/TD]
[TD]line 2[/TD]
[/TR]
[TR]
[TD]1123[/TD]
[TD]admin[/TD]
[TD]smith[/TD]
[TD]line3[/TD]
[/TR]
[TR]
[TD]1124[/TD]
[TD]finance[/TD]
[TD]jones[/TD]
[TD]line 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 3[/TD]
[/TR]
[TR]
[TD]1125[/TD]
[TD]hr[/TD]
[TD]brown[/TD]
[TD]line 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
[TABLE="width: 447"]
<TBODY>[TR]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
</TBODY><COLGROUP><COL span=3><COL></COLGROUP>[/TABLE]
Desperately need help to populate an excel spreadsheet where multiple columns need to be filled, for example, need to populate columns a,b,c, based on cells above, fill example is in red. This is due to multiple comments per column a being unique id.
Need to be able to do this for thousands of rows therefore need help with VBA code PLEASE

[TABLE="class: grid, width: 500, align: left"]
<TBODY>[TR]
[TD]wo[/TD]
[TD]dept[/TD]
[TD]user[/TD]
[TD]comments[/TD]
[/TR]
[TR]
[TD]1123[/TD]
[TD]admin[/TD]
[TD]smith[/TD]
[TD]line 1[/TD]
[/TR]
[TR]
[TD]1123[/TD]
[TD]admin[/TD]
[TD]smith[/TD]
[TD]line 2[/TD]
[/TR]
[TR]
[TD]1123[/TD]
[TD]admin[/TD]
[TD]smith[/TD]
[TD]line3[/TD]
[/TR]
[TR]
[TD]1124[/TD]
[TD]finance[/TD]
[TD]jones[/TD]
[TD]line 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 3[/TD]
[/TR]
[TR]
[TD]1125[/TD]
[TD]hr[/TD]
[TD]brown[/TD]
[TD]line 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]line 3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
[TABLE="width: 447"]
<TBODY>[TR]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
</TBODY><COLGROUP><COL span=3><COL></COLGROUP>[/TABLE]