Hey all,
Hope you can help me out, I'm having a bit of a headache with the following. I'm fairly new to vb in Excel and have a few macros so far to manipulate a raw data feed to get it into a format my system can read. I'm stuck on a couple of bits.
1) To remove variant information found in a couple of columns from the model name in another column. i.e.
Cell F2 contains 'SIS SP41 outer gear casing with silicon grease, black 4 mm (10 metre roll)'
Cell B2 & C2 contain 'black' and '4 mm'
I want F2 to say 'SIS SP41 outer gear casing with silicon grease, (10 metre roll)' and clear cells B2 & C2
2) To clear duplicates data from cells in column F but keeping the first instance of the data in the row. i.e.
Row 2,3,4,5,6 did contain:
SIS SP41 outer gear casing with silicon grease, black 4 mm (10 metre roll)
SIS SP41 outer gear casing with silicon grease, grey 4 mm (10 metre roll)
SIS SP41 outer gear casing with silicon grease, white 4 mm (10 metre roll)
SIS SP41 outer gear casing with silicon grease, blue, 4 mm (10 metre roll)
SIS SP41 outer gear casing with silicon grease, red, 4 mm (10 metre roll)
SIS SP41 outer gear casing with silicon grease, yellow, 4 mm (10 metre roll)
but now based on 1) above row 2,3,4,5,6 now contains 'SIS SP41 outer gear casing with silicon grease, (10 metre roll)' on every row
I want to clear the duplicate cells on every recurring instance of 'SIS SP41 outer gear casing with silicon grease, (10 metre roll)' without deleting the row.
Please see attached file for example. Original data is the top table while the desired outcome is the bottom table.
Many Thanks
Dave
Bookmarks