You could use
=DATEVALUE("12-13-01")
or
=DATEVALUE(TEXT(A1,"00-00-00"))
assuming mmddyy format. (ie won't work with 7701 in A1).
Ian --
Is Don not looking something like
=TODAY()-DATE(IF(MID(A5,5,1)+0=0,2000+RIGHT(A5,2),1900+RIGHT(A5,2)),LEFT(A5,2),MID(A5,3,2))
where A1 houses a text-formatted six-digit entry?
Aladin
=======
It is apparent that I read problems as well as I type. I missed the diffence part. However I think I'd still stick with
=TODAY()-DATEVALUE(TEXT(A1,"00-00-00"))
and leave the 1900 -2000 to excel to figure out.
Are you corresponding from Istanbul? Hope all is well.
Yep. You're right. However, you can simply omit the DATEVALUE function.
Also
=TEXT(A1,"00-00-00")+0
instead of
=DATEVALUE(TEXT(A1,"00-00-00"))
Aladin
PS. I turned to the longish formula, because I couldn't get yours to work (because, I now see, I was using wrong date format--that's, European Vs American formatting...)
even simpler, perfect (nt)