Fixed some quarterly and annual total formulae

Something had caused some of the quarterly and monthly total formulae to look at the wrong row for their data. The checksum feature had detected this (yay!).

Fixed the formulae.