#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Excel dates

I have a spreadsheet with a column of dates between 18xx and 20xx. I cannot
sort this column without the 18xx dates not sorting with the rest of the
dates. Is there some way to cause 18xx dates to sort right
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Excel dates

XL does not understand dates prior to Jan 1 1900. To that end all of your
dates in the 18xx are actually stored as text where as the dates in 19xx and
20xx are stored as dates. This will keep your dates from sorting correctly.

As a work around you can convert all of your dates to text and then the
sorting will be consistent. To make that work correctly you will want to
format the dates Year/Month/Day
--
HTH...

Jim Thomlinson


"david d" wrote:

I have a spreadsheet with a column of dates between 18xx and 20xx. I cannot
sort this column without the 18xx dates not sorting with the rest of the
dates. Is there some way to cause 18xx dates to sort right

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Excel dates

What is the best way to format dates as yy/mm/dd?

"Jim Thomlinson" wrote:

XL does not understand dates prior to Jan 1 1900. To that end all of your
dates in the 18xx are actually stored as text where as the dates in 19xx and
20xx are stored as dates. This will keep your dates from sorting correctly.

As a work around you can convert all of your dates to text and then the
sorting will be consistent. To make that work correctly you will want to
format the dates Year/Month/Day
--
HTH...

Jim Thomlinson


"david d" wrote:

I have a spreadsheet with a column of dates between 18xx and 20xx. I cannot
sort this column without the 18xx dates not sorting with the rest of the
dates. Is there some way to cause 18xx dates to sort right

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Excel dates

RightclickFormatCellsCustom Type:
yy/mm/dd

Using a worksheet function
=TEXT(A1,"yy/mm/dd")
(this will remain as a text string not a date..)

If this post helps click Yes
---------------
Jacob Skaria


"david d" wrote:

What is the best way to format dates as yy/mm/dd?

"Jim Thomlinson" wrote:

XL does not understand dates prior to Jan 1 1900. To that end all of your
dates in the 18xx are actually stored as text where as the dates in 19xx and
20xx are stored as dates. This will keep your dates from sorting correctly.

As a work around you can convert all of your dates to text and then the
sorting will be consistent. To make that work correctly you will want to
format the dates Year/Month/Day
--
HTH...

Jim Thomlinson


"david d" wrote:

I have a spreadsheet with a column of dates between 18xx and 20xx. I cannot
sort this column without the 18xx dates not sorting with the rest of the
dates. Is there some way to cause 18xx dates to sort right

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel not recognizing dates as dates lawson Excel Discussion (Misc queries) 1 June 26th 07 05:39 PM
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 06:10 AM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 04:54 PM
How do I get the dates on an excel chart to stay as dates instead. Rani Charts and Charting in Excel 1 September 20th 05 06:56 PM
Charting data against dates where dates are not at fixed intervals PK Charts and Charting in Excel 4 June 16th 05 06:08 AM


All times are GMT +1. The time now is 01:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"