I agree with you that 6 digits will always work correctly, but ... allow
me
to nit-pick.<g>
The 5 digits as posted by the OP as an American format (mdy) will also
*always* work correctly.
The actual criteria of accuracy being that the middle reference *and*
the
ending reference are *2* digits.
Try *any* American 5 digit format with the above criteria and you'll
see
what I mean.
--
Regards,
RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------
"Bryan Hessey"
<
[email protected]>
wrote in message
Whilst I agree that TTC is usually best, it will correctly convert 6
character dates, it seems to have no luck with 5 character dates as
displayed by the OP.
Providing that the middle unit (Months for English dates, Days for
American dates)are entered as 2 digit format (the number '10' is not a
good indicater) then either a formula of
=text(a1,"000000")
and then put through TTC, or
=IF(LEN(A1)=6,LEFT(A1,2)&"/"&MID(A1,3,2)&"/"&MID(A1,5,2),LEFT(A1,1)&"/"&MID(
A1,2,2)&"/"&MID(A1,4,2))
or
=IF(LEN(A1)=6,MID(A1,3,2)&"/"&MID(A1,1,2)&"/"&MID(A1,5,2),MID(A1,2,2)&"/"&MI
D(A1,1,1)&"/"&MID(A1,4,2))
will give an English or American date format.
However, if the middle figure (of DMY or MDY) is a single digit, there
is no way to detect 11196 as being a mid-January or early-November
date
in either system.
Hope this helps (as opposed to adding confusion)