Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Separating dates from one column to Month, Date, Year columns

I'm looking for a way to take a list of dates that are being cut and pasted
from an Access Database into excel and separate it so I can sort by Month,
Day, Year. The data seems to be recognized in Excel as a date because it
sorts by the the year. The format is mm/dd/yyyy. When I try to change the
format to anything else, it won't allow the change.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Separating dates from one column to Month, Date, Year columns

with something like:
08/06/2008
in A1

In cells B1 thru E1 enter:
=DATEVALUE(A1)
=YEAR(B1)
=MONTH(B1)
=DAY(B1)


--
Gary''s Student - gsnu200798


"frogstyle" wrote:

I'm looking for a way to take a list of dates that are being cut and pasted
from an Access Database into excel and separate it so I can sort by Month,
Day, Year. The data seems to be recognized in Excel as a date because it
sorts by the the year. The format is mm/dd/yyyy. When I try to change the
format to anything else, it won't allow the change.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Separating dates from one column to Month, Date, Year columns

If it's really a date, you could use a helper column with a formula like:

=text(a1,"mmddyyyy")
drag down as far as you need it

And then sort by this helper column.



frogstyle wrote:

I'm looking for a way to take a list of dates that are being cut and pasted
from an Access Database into excel and separate it so I can sort by Month,
Day, Year. The data seems to be recognized in Excel as a date because it
sorts by the the year. The format is mm/dd/yyyy. When I try to change the
format to anything else, it won't allow the change.


--

Dave Peterson
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
Autofilter by month & year when I have a column full of dates ?? GTolhurst Excel Discussion (Misc queries) 1 March 11th 08 08:18 PM
Tell me which "season" (Month/Day through Month/Day) a date(Month/Day/Year) falls in (any year)??? misscrf Excel Discussion (Misc queries) 1 December 14th 07 02:59 PM
Sort month/date/year data using month and date only SMW820 Excel Discussion (Misc queries) 6 June 22nd 06 05:14 PM
count no. of dates in a column that falls on certain month & year RawSugar Excel Worksheet Functions 2 October 20th 05 10:50 PM
sort dates by day then month, not by year. Lisa Peterson Excel Worksheet Functions 5 July 12th 05 10:38 AM


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