Sorry about that..
The format I am using is .... yyyy/mm/dd .. 1901/01/25 .. or 1844/08/14.
I have set up the short date in regional settings to this format.
Dates are very important to properly place a person in the proper century.
Thanks for your help.
Gerry
>Sorry about that..
>
[quoted text clipped - 7 lines]
>
>Gerry
Given that format, you can probably sort as TEXT.
Excel does not recognize dates prior to 1900, so all of your dates prior to
1900 are TEXT, so far as Excel is concerned.
You can set up a helper column (some column contiguous with the range you wish
to sort) and then you will sort on the helper column.
Assuming your dates are in A2:An, in your helper column, row 2 enter this
formula:
=IF(ISNUMBER(A2),TEXT(A2,"yyyy/mm/dd"),A2)
Copy/drag down as far as needed.
Then sort on the helper column.
--ron
Dave Peterson - 06 Oct 2007 22:42 GMT
or just
=text(a2,"yyyy/mm/dd")
=Text() won't change text values like those pre-1900 dates.
> >Sorry about that..
> >
[quoted text clipped - 25 lines]
> Then sort on the helper column.
> --ron

Signature
Dave Peterson
Gerry - 07 Oct 2007 13:48 GMT
>>Sorry about that..
>>
[quoted text clipped - 27 lines]
> Then sort on the helper column.
> --ron
Thanks for your help - all of you. The helper column fixed the problem of a
simple date sort and multiple column sorts.
Sorting the original date column simply as test caused problems - some
entries did not keep their original data.
This was possibly caused by the fact that when I first had problems with
entering 1900 dates and asked for help, I then downloaded the xdate fix.
Possibly there is a difference in sections of the actual date data - some
are text and some are dates? Am I correct in my thinking?
Anyway thanks again for all help - I did not want to re-enter the data.
p.s. sorry but I also accidentally replied to a sender.
Gerry
Ron Rosenfeld - 07 Oct 2007 13:56 GMT
>Thanks for your help - all of you. The helper column fixed the problem of a
>simple date sort and multiple column sorts.
[quoted text clipped - 12 lines]
>
>Gerry
Glad you've got it working. Thanks for the feedback.
--ron
If your dates are text and are yyyy/mm/dd, 10 text characters, they will
sort correctly by doing a simple ascending sort. The key word here is text.
You refer to regional settings in control panel. That is for dates that are
in Excel's date format, i.e. date serial numbers (not text). Exactly what do
you have? Pure text or a mixture of text and date serial numbers?
> Sorry about that..
>
[quoted text clipped - 7 lines]
>
> Gerry