Brendan;
Thanks. I posted the wrong spreadsheet. My solution was the same as BentleyBob. Glad the OP got it right and others had jumped in. Thanks for pointing out.