I am trying to use IF and SUM formula as below in cell K11.
=IF(F11=0,SUM($E$39+E11+K11-$F$39),SUM($E$39-I11+K11))
However I am not getting it right on the first part of the formula.
I need if cell F11 is empty, =cell E39 - (sum cell F39 with cell E11). Beginning from the point where column F is empty, the formula should add cell F39 with the cumulative column of column E.
Example is on cell H27, the formula should add cell F39 with the total of cell E19 to E27.
Appreciate help.