Hi,

I like to use the ISBLANK function nested with an IF statement. In C7 put the formula:

=IF(ISBLANK(B7),"",C6-B7)
Others may have better ideas.

Good luck.

Abousetta