That's grand of you to help out, and so speedily, thanks very much.
Simple perhaps, once it's pointed out... But, as a struggling novice, I do find it difficult to pull together all the strands of half-learnt, part-comprehended bits and pieces of SQL and VBA. IIf has been one such for me. Maybe...