Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I try to sort the list of date by Month. But Excel only can sort by year.
|
#2
![]() |
|||
|
|||
![]()
I think you'll have to make a new column, i.e., =year(a1) to get the year
out of your date. Then sort by that. ************ Anne Troy www.OfficeArticles.com "Winnie" wrote in message ... I try to sort the list of date by Month. But Excel only can sort by year. |
#3
![]() |
|||
|
|||
![]()
Not sorting by year....actually sorting from earliest to latest or visa versa.
You should add a column with the following formula for each date: =month(a1) where a1 is the first date/month you want sorted. The month formula will return the number 1 through 12 regardless of the year of the actual date. Then you can sort by your new column.... Alternatively if you don't care about the yearly data, you could convert all the data to the same year. HTH HTH "Winnie" wrote: I try to sort the list of date by Month. But Excel only can sort by year. |
#4
![]() |
|||
|
|||
![]()
I try to sort the list of date by Month. But Excel only can sort by
year. One way is to use a "helper" column. In the first row of an unused column, put =DAY(A1) (assuming column A holds dates) and copy down. Then select all columns of interest, including the helper, and sort by the helper column first. The helper can be hidden if necessary. |
#5
![]() |
|||
|
|||
![]()
Winnie
In an adjacent column enter = MONTH(A1). Copy down then sort on that column. Gord Dibben Excel MVP On Fri, 14 Oct 2005 10:18:02 -0700, Winnie wrote: I try to sort the list of date by Month. But Excel only can sort by year. |
#6
![]() |
|||
|
|||
![]()
I try to sort the list of date by Month. But Excel only can sort by
year. One way is to use a "helper" column. In the first row of an unused column, put =MONTH(A1) (assuming column A holds dates) and copy down. Then select all columns of interest, including the helper, and sort by the helper column first. The helper can be hidden if necessary. (I used "DAY" a minute ago, but should've used "MONTH.") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help needed with date format | Excel Discussion (Misc queries) | |||
Sorting data by date | Excel Worksheet Functions | |||
How to format a date to a different format | Excel Discussion (Misc queries) | |||
How do I format the date in a footer to display the month in lett. | Excel Discussion (Misc queries) | |||
Month Year Date Format | Excel Worksheet Functions |