Calculate total in a balance sheet

You mean calculating the running total?