I have achieved the basic concept by using a macro to create a pivot table, which I think shall suffice for now.....thanks for your help and the suggestion of the pivot table.

Lukas