I am trying to calculate the running total and interest accrued for an account over a period of time. Running total is the sum of free cash on a day plus the interest accrue