This formula seems to work but it zeros out the Totals in Row 13 for some reason.

Thanks so much for your help!