Ron -
I just updated the settings as directed in the EXCEL Online Help screen:
"How Excel interprets two-digit years". i changed the settings so yy = "30"
to "39" is interpreted by Excel as 2030 to 2039.
This change did correct NUMERIC entries. However, is I add a Zero to a cell
containing the text string "12/31/30" the resulting EXCEL Date Value in
12/31/1930, but the desired 12/31/2030.
Chris
That is fascinating. And I confirm that it works on my machine (Windows XP
Pro, MS Excel 2003) just as you describe.
In addition, using the formula =DATEVALUE("12/31/30") also converts to
12/31/1930 even though the regional windows setting are set to interpret two
digit years a being between 1940-2039.
Unless someone comes up with a better idea, my suggestion would be to use a
formula to do the conversion.
Extract using the MID function, as you have
Test the year
If the year is less than today's year
Add 100 to the year.
e.g. with the extracted and converted value in c22:
=IF(YEAR(C22)<YEAR(TODAY()),DATE(YEAR(C22)+100,MONTH(C22),DAY(C22)),C22)
You could replace C22 with your MID and Add 0 formula.
--ron