It didn't work for me the first time, but I see now that it does, in fact, work as an array formula. So sorry for having doubted your advice! And I also appreciate the link you attached as it answered another question I had, which was to be able to identify the nth occurrence. Thanks much.