http://www.j-walk.com/ss/excel/files/xdate.htm
And to answer part of the OP's original question, Excel certainly can
display dates with the year first.
But it sounds as if you are trying to use vague text, rather than specific
dates.
And to try to answer more of the original question, for normal Excel dates
YEAR() gives the year (as Bob Bridges referred to in his reply), and the
link above implies that there is an equivalent XDATEYEAR function in John's
addin.
And to answer the implied question in the *subject line* of the OP's
original message, you need to remember that Excel dates are not stored as
text, but as numbers. If you want to manipulate them as text and look for
text strings such as the year part of the date, you can convert from date to
text using the TEXT function.
--
David Biddulph
"Bob Phillips" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What is xdate? I don't know that function, it must be a UDF.
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my
> addy)
>
> "Nannie" <(E-Mail Removed)> wrote in message
> news:83D4607F-41EE-459F-9218-(E-Mail Removed)...
>> They are formatted as dates but most were entered as
>> =xdate(1860,6,11,"yyyy,
>> mm dd") although some look like ~1862 or after 1862. They are civil war
>> era
>> dates and Excel can't handle them. (Seems strange Excel doesn't have the
>> choice of displaying dates with years first.)
>>
>> Thanks for any assistance!
>> --
>> Nannie
>>
>>
>> "Bob Phillips" wrote:
>>
>>> Are they text fields or real dates just formatted in different ways?
>>>
>>> --
>>> HTH
>>>
>>> Bob
>>>
>>> (there's no email, no snail mail, but somewhere should be gmail in my
>>> addy)
>>>
>>> "Nannie" <(E-Mail Removed)> wrote in message
>>> news:9BF4FAA0-15D8-41EB-BC0C-(E-Mail Removed)...
>>> >I have a column of dates in various formats (sometimes the year is
>>> >first,
>>> > sometimes not). I would like to determine the number of times a
>>> > specific
>>> > four-digit year occurs withing the column. Can you help me? Thanks!
>>> > --
>>> > Nannie
>>>
>>>
>>>
>
>