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

I have a sheet with
date amount description
12.12.06 5.00 PLUMBER
04.02.01 50.00 ELECTRICIAN
ETC
How can I sort into date order.

When I try I get all the 2001, 2006, 2005 together but not 2001, 2002,
2003,2004

Cananyone help please
  #2   Report Post  
Posted to microsoft.public.excel.newusers
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default sorting by date

Is 12.12.06 text or a date value? In a blank cell, enter ISTEXT(A1) where A1
is a cell reference to this date. True means it is text and 03.01.07 will
come before 12.12.06.

You can set up a helper cell, enter
=DATE(RIGHT(A1,2),LEFT(A1,2), MID(A1,4,2))
where I'm assuming 12.12.06 is month/day/year. The parameters for DATE are
year, month, day - so make sure the Right, Left, and Mid functions are in the
correct order. You should get a date that is a numeric value. Copy the
formula down and sort using this new column.



"cantgetit" wrote:

I have a sheet with
date amount description
12.12.06 5.00 PLUMBER
04.02.01 50.00 ELECTRICIAN
ETC
How can I sort into date order.

When I try I get all the 2001, 2006, 2005 together but not 2001, 2002,
2003,2004

Cananyone help please

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default sorting by date

Thanks for your help. I finally woked out what was wrong date was in wrong
format S/be 12/12/06 not 12.12.06

"cantgetit" wrote:

I have a sheet with
date amount description
12.12.06 5.00 PLUMBER
04.02.01 50.00 ELECTRICIAN
ETC
How can I sort into date order.

When I try I get all the 2001, 2006, 2005 together but not 2001, 2002,
2003,2004

Cananyone help please

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
Time and Date stamp - Pivot Chart Bemidji Excel Discussion (Misc queries) 6 October 25th 06 02:50 PM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
sorting data by date Katherine Excel Worksheet Functions 1 June 17th 05 03:12 PM
Sorting data by date Katherine Excel Worksheet Functions 2 June 14th 05 02:37 PM


All times are GMT +1. The time now is 05:15 PM.

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

About Us

"It's about Microsoft Excel"