Oh Ron,

Thankyou. Of course it works. It was me just being silly. I had typed everything in to the example, but my actual data is a database export with spaces after the data so my x didnt match my y for the comparison. Fixed this all up and its fantastic.

Thankyou so much. WOO HOO!!!!!