Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default sorting by date in excel

I've imported data that contains a column of dates, mm/dd/yyyy, but can not
get this column to sort correctly in date order. I'm on version 2002. Any
ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default sorting by date in excel

Are you sure they are dates and not text that looks like a date?
=ISTEXT(A1)
should return false for a date

Mike

"pattyf" wrote:

I've imported data that contains a column of dates, mm/dd/yyyy, but can not
get this column to sort correctly in date order. I'm on version 2002. Any
ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default sorting by date in excel

Insert a helper column to the right of your errant dates and enter the
following formula in the first blank cell of the new column (substituting A1
with the cell containing the text date):

=DATEVALUE(A1)

Copy the formula down as far as necessary and then copy your formula column.

Move the the first cell of the original date column, click EDIT in the menu
and select PASTE SPECIAL and select the VALUES option button & click OK. You
can then delete your helper column.

You might have to format the column for dates, as it converts the text date
to a serial date number.
--
Kevin Backmann


"pattyf" wrote:

I've imported data that contains a column of dates, mm/dd/yyyy, but can not
get this column to sort correctly in date order. I'm on version 2002. Any
ideas?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default sorting by date in excel

Kevin, you're a wizard! Thanks for your help!

"Kevin B" wrote:

Insert a helper column to the right of your errant dates and enter the
following formula in the first blank cell of the new column (substituting A1
with the cell containing the text date):

=DATEVALUE(A1)

Copy the formula down as far as necessary and then copy your formula column.

Move the the first cell of the original date column, click EDIT in the menu
and select PASTE SPECIAL and select the VALUES option button & click OK. You
can then delete your helper column.

You might have to format the column for dates, as it converts the text date
to a serial date number.
--
Kevin Backmann


"pattyf" wrote:

I've imported data that contains a column of dates, mm/dd/yyyy, but can not
get this column to sort correctly in date order. I'm on version 2002. Any
ideas?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default sorting by date in excel

Are you sure it's dates and not really text that looks like a date?

pattyf wrote:

I've imported data that contains a column of dates, mm/dd/yyyy, but can not
get this column to sort correctly in date order. I'm on version 2002. Any
ideas?




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
Sorting by Date, And SUM Zee Excel Discussion (Misc queries) 1 July 31st 06 12:30 PM
Sorting by date [email protected] Excel Discussion (Misc queries) 7 June 17th 06 01:06 PM
sorting by date debradebra Excel Worksheet Functions 3 January 11th 06 09:49 PM
sorting date " MMM-YY" (Jan-05) GEORGIA Excel Discussion (Misc queries) 8 June 23rd 05 01:30 PM
Sorting by date when the date isn't exact Kim Excel Discussion (Misc queries) 1 May 5th 05 10:44 PM


All times are GMT +1. The time now is 07:16 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"