On previous row total error

Following post should help.