The actual spreadsheet would be better than a screen dump but try this in the cell you want the result in

=if(v530="",0,t530+v528-v530)