BRILLIANT - many thanks to you both. Still working on pre 2007 so I had to use asx's formula. It just opened a few more opportunities for my excel ideas.W2