Thanks for the reply.
Yeah, I had tried to do use the absolute function from the calculator but it returned the wrong answer so I just did the root of the square.
Thanks very much for the tips, I'm going to start over I think and I'll let you know how I get on.
Andrew