Thanks snb I'll give it a shot.
Although I think you've misunderstood my original question. It was the group 3 list in column AI that needed to be underneath column Y list (with a few rows in between).
I've added my sheet again with additional code so you can see what I mean but in anycase thanks for all your help.