Thanks both - that fixes my problem nicely (my formula problem, not my mental problem)