Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Excel / July 2007



Tip: Looking for answers? Try searching our database.

why does date sort as text?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dzelnio - 20 Jul 2007 16:17 GMT
I have a bunch of dates like 04/15/07.

They sort like text looking putting all the months in order when I
need the date in order.  I needs to look at year first, then month,
then day.

Command 1 shows that the column is defined as a date with the 04/15/07
format.

ARRGGH!
Bob Greenblatt - 20 Jul 2007 16:57 GMT
On 7/20/07 11:17 AM, in article
1184944649.077448.280820@q75g2000hsh.googlegroups.com, "dzelnio"

> I have a bunch of dates like 04/15/07.
>
[quoted text clipped - 6 lines]
>
> ARRGGH!

Yes, but are you sure the values entered are really dates or is Excel
treating them as text? If it shows exactly the same in the formula bar as in
the cell, Excel thinks it's text. If it is a real date, there will be a 4
digit year in the formula bar. Try multiplying all the dates by 1 to convert
them from text to an actual date. You'll probably have to reformat them as
dates again to get them to display as you want.

Type a 1 in any unused cell.  Copy it. Select the dates you want to sort.
Choose Edit-Paste special and click on multiply. Then reformat the dates.
They should now sort properly.

Signature

Bob Greenblatt [MVP], Macintosh
bobgreenblattATmsnDOTcom

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.