I am trying to figure out how to count spent amount and the remaining one. I am trying to assemble a budgeting template. E.g. i have a sum row, this is the amount to be paid in spetember, how can i decrease the sum if i checked the box in Spent column?