Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have an EXCEL 2003 worksheet that includes a column of the birthdates of
about 500 people, including some with birthdates in the 1800's and 1700's. The data has been derived from a GEDCOM file, the standard for exporting genealogy programs into other programs such as EXCEL. I have formatted the cells as Date "3/14/2001", hoping to sort the birthdates chronologically. However, the the nineteenth century dates, for example January 1, 1890, refuse to sort properly. It appears as if EXCEL does not know how to handle a nineteenth century date. Is there a trick to formatting cells which contain dates before 1900? I will appreciate advice. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Sun, 7 Jan 2007 10:15:01 -0800, Robert Judge
wrote: I have an EXCEL 2003 worksheet that includes a column of the birthdates of about 500 people, including some with birthdates in the 1800's and 1700's. The data has been derived from a GEDCOM file, the standard for exporting genealogy programs into other programs such as EXCEL. I have formatted the cells as Date "3/14/2001", hoping to sort the birthdates chronologically. However, the the nineteenth century dates, for example January 1, 1890, refuse to sort properly. It appears as if EXCEL does not know how to handle a nineteenth century date. Is there a trick to formatting cells which contain dates before 1900? I will appreciate advice. From HELP Excel Specifications and Limits: Earliest date allowed for calculation January 1, 1900 (January 1, 1904, if 1904 date system is used) Latest date allowed for calculation December 31, 9999 ----------------------------------------------------------- There are VB solutions available for handling dates prior to 1 Jan 1900, but native Excel does not. --ron |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
As Ron correctly states there is little one can do for handling dates before
1900 as date values. Have a look at John Walkenbach's solution on http://j-walk.com/ss/excel/files/xdate.htm Or you can split up the date and treatment as seperate day, month and year as in if the date is in A1: month= =LEFT($A$1,FIND("/",$A$1,1)-1) day= =MID($A$1,FIND("/",$A$1,1)+1, FIND("/",$A$1,FIND("/",$A$1, 1)+1)-1-FIND("/",$A$1,1)) year= =RIGHT($A$1,LEN($A$1)-FIND("/",$A$1,4)) And treat them seperately. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "Ron Rosenfeld" wrote: On Sun, 7 Jan 2007 10:15:01 -0800, Robert Judge wrote: I have an EXCEL 2003 worksheet that includes a column of the birthdates of about 500 people, including some with birthdates in the 1800's and 1700's. The data has been derived from a GEDCOM file, the standard for exporting genealogy programs into other programs such as EXCEL. I have formatted the cells as Date "3/14/2001", hoping to sort the birthdates chronologically. However, the the nineteenth century dates, for example January 1, 1890, refuse to sort properly. It appears as if EXCEL does not know how to handle a nineteenth century date. Is there a trick to formatting cells which contain dates before 1900? I will appreciate advice. From HELP Excel Specifications and Limits: Earliest date allowed for calculation January 1, 1900 (January 1, 1904, if 1904 date system is used) Latest date allowed for calculation December 31, 9999 ----------------------------------------------------------- There are VB solutions available for handling dates prior to 1 Jan 1900, but native Excel does not. --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sorting problem, need some help | Excel Worksheet Functions | |||
Excel Sorting Problem | Excel Discussion (Misc queries) | |||
Sorting problem | Excel Discussion (Misc queries) | |||
Question on sorting dates | Excel Discussion (Misc queries) | |||
Sorting dates | Excel Worksheet Functions |