1899 does not exist in Excel, Excel dates starts with January 0, 1900,
DATE(100,A1+1,)
will return year 2000
YEAR(1899)
will return 1905
My compiled VB roots (well, VBA shares this too) led me to think the year
ranges there applied in the formula world too (look up DateSerial as an
example in the VBA help files and look at the description for the Year
argument; it says the earliest recognizable year is 100). Obviously, it
doesn't, but the fact that I was only looking at the month value, and
getting proper results, fooled me into thinking they were the same.
Okay, with the above noted, we can take advantage of this fact to shorten
the formula I originally posted even more (at the cost of decipherability,
of course<g>). Since year 4 becomes year 1904..
=TEXT(DATE(4,A1,1),"mmmm")
will work for both date systems.
Another thing to think about when it comes to dates is that quite a lot of
date formulas dealing with first/last day of current/previous/next month
will return NUM errors if one uses Lotus transition formulas under
tools>options>transition
and believe me, there are a lot of workbooks out there that were once
created in Lotus 123
I once spent a whole day auditing a timesheet I made because it was
originally created in Lotus 123
so whenever I see the num error I always check under transition first
A good procedure to keep in mind.
Rick