我有这个草稿表格,我正在努力完成以下工作:
因为我有repeating table
并且每一行代表一个月,我需要Budget Remain
根据以下公式为每一行(月)重新计算Budget Remain = Budget - Total (for all the previous months)
,但不得影响上个月的预算保持
IE:
Budget = 100
jan : Cost + Penalties = 20 (Total) --> Budget Remain = 100 - 20 = 80
Feb : Cost + Penalties = 30 (Total) --> Budget Remain = 100 - (20 + 30) = 50
但是当我尝试这样做时,我最终得到每个budget remain
等于last budget remain calculated value