Thanks Sarah. I thought I'd have to do it like that with a bunch of "if's" but I'm always reading these amazing solutions here so I'm beginning to think that there is some magic beyond ordinary mortals. It is a relief to know that sometimes the mundane answer is correct.