Excel – Leave Cell Blank Until a Value Is Added

microsoft excelmicrosoft-excel-2007microsoft-excel-2010worksheet-function

I have a formula that calculates how many weeks are due (Cell C12) based on a due date I enter (Cell B12). I want to copy the formula in other rows on Column C but if I don't enter a due date in Column B some random number pops up on the Weeks Due column. How do I hide the formula in Column C until a due date is entered into Column B.

Updated spreadsheet:

Best Answer

The formula to use is:

=IF(B12="","",($B$5-B12)/7)

You say IF cell B12 is empty leave this cell empty, and if it contains something then do the calculation of ($B$5-B12)/7

Related Question