with if function

R

Rao Ratan Singh

Some one great MVP solved my problem with this function
=(DATE(YEAR(E146),MONTH(E146)+3-MOD(MONTH(E146)-1,3),1))

but i just want to do more with this function. How it can be display blank
when e146 does not have any date. when this function found date on particular
cell then it calculate next 3 months dat.

Thanks in advance

Rao Ratan Singh
 
D

Don Guillett

this should take care of non numbers and non dates

=IF(ISTEXT(I14),"",IF(YEAR(I14)<2000,"",(DATE(YEAR(I14),MONTH(I14)+3-MOD(MONTH(I14)-1,3),1))))
 

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

Top