Thanks for the replies,
I have tried disconnecting each loop and there's nothing in the 2 gang box that has any effect on the wall lights. The ceiling lights are definitely independent of eachother. All the sockets are on a different breaker at the fuse box.
If the blue and yellow circuits are...