i need it to show only days or months or years or all three depending on the
difference between the two dates i.e first date could be 01/02/08 and the
second could be 01/04/08 which would show only 2 days, but the next set of
dates could be 01/02/08 and 01/05/09 so it should show 1 year and 3 days....
are you confused because i am!!
Perhaps something like:
=IF(DATEDIF(A1,A2,"y")>0,DATEDIF(A1,A2,"y") & " years, ","") &
IF(DATEDIF(A1,A2,"ym") >0, DATEDIF(A1,A2,"ym") & " months, ","") &
IF(DATEDIF(A1,A2,"md")>0, DATEDIF(A1,A2,"md")& " days")
--ron