Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel formula not blank

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
Just an annoying niggle I have.

I have 2 rows formatted with a date type. In the 2nd row i've simply put '=A2+7'. So when a date is typed in the first row 7 days is added to it and populated in the second row.

However if there is no value in the first row a value of '07/01/00' is shown in the 2nd row. How can I get a blank value shown when there is no value in the first row?

cheers
 
Try something like this:

=IF(A2=""," ",A2+7)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top