the following two formulas show 0 if blank =IF($D$1="on",MasterList!C5,"") =IF($D$1="on",C5-D5-E5,"") Thanks