ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Date function (https://www.excelbanter.com/excel-discussion-misc-queries/125397-date-function.html)

Craig

Date function
 
I am preparing a time line in Excel 2003. I want the left column to reflect
the date and be sortable but I need two different types of dates. One might
be "July 4, 1776" or simply the year "1492".

thanks for any help...jcs



Sean Timmons

Date function
 
for those with just a year, format the cells as yyyy
Then, when you sort, it will sort correctly, 1492 will appear before July 4,
1776...

"Craig" wrote:

I am preparing a time line in Excel 2003. I want the left column to reflect
the date and be sortable but I need two different types of dates. One might
be "July 4, 1776" or simply the year "1492".

thanks for any help...jcs




Gord Dibben

Date function
 
Craig

Excel does not recognize dates prior to 1900 so you must be entering July 4,
1776 as text.

Sorting will not take place as you wish.

For working with dates prior to 1900 see John Walkenbach's site.

http://www.j-walk.com/ss/excel/usertips/tip028.htm


Gord Dibben MS Excel MVP

On Tue, 9 Jan 2007 15:29:25 -0500, "Craig" wrote:

I am preparing a time line in Excel 2003. I want the left column to reflect
the date and be sortable but I need two different types of dates. One might
be "July 4, 1776" or simply the year "1492".

thanks for any help...jcs




All times are GMT +1. The time now is 12:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com