Thank you. I have implemented this into my actual spreadsheet after factoring in the renaming etc. It is working ok. Just hope I don't break things when I start messing with the rest of my sheet.

Much appreciated!