How to leave a formula cell blank when it has no calculation to make
Colin, glad I could help, just so you know nobody gets paid to answer any
questions here
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
"Colin Hayes" wrote in message
...
In article , Paul B
writes
Colin, try this,
=IF(A1="","",IF(B1="",DATEDIF(A1,NOW(),"y")&" years,
"&DATEDIF(A1,NOW(),"ym")&" months,"&DATEDIF(A1,NOW(),"md")&"
days",DATEDIF(A1,B1,"y")&" years, "&DATEDIF(A1,B1,"ym")&"
months,"&DATEDIF(A1,B1,"md")&" days"))
Hi Paul
Thanks very much for that - it's exactly what I needed. Works perfectly
first time.
Whatever they're paying you , it's not enough!
Best Wishes
Colin
|