Lee Cannon said: In #1, the bug is that on a Reinvested Dividend (ReinvDiv) transaction: There should not be an entry in the Cash column (and there is): You received cash but but then spent it on the reinvestment. There should be an entry in the Amount Invested column (and there is not): You did make an added investment. So the subtotals for the Cash and the Amount Invested columns are also wrong when there is a ReinvDiv involved.