#value error

  • Thread starter Thread starter mtpsuresh
  • Start date Start date
M

mtpsuresh

Hi,

In the cell B9 the value is 01/09/2006
In the cell C9 i enter the formula
=IF(ISBLANK(B9),"",DATE(YEAR(B9),MONTH(B9)+1,DAY(B9)))
In the cell D9 i enter the same formula
=IF(ISBLANK(C9),"",DATE(YEAR(C9),MONTH(C9)+1,DAY(C9)))

It works fine. But if i delete the value in B9, cell c9 displays blank.
But cell D9 displays #value error.

Is there any way to supress this error and display balnk value in D9.

Any help appreciated.

Suresh
 
Maybe you should just check to see if the cell looks blank:

=if(b9="","",...
=if(c9="","",...

=isblank() returns true only if the cell is really empty--no value and no
formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top