Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
?ello,
I have column by month in this format: yy-mmm (08-Mar, 08-Apr, etc). But when I sort the column it is not in the order of Jan to Dec instead by the first letter of the month. Is there a way to sort it so it recognize the month instead. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Maybe this. With your dates in A1 down put this in B1 =Month(a1) drag down as required and select both columns A & B and sort on B You can then hide B if you want. Mike "Cam" wrote: ?ello, I have column by month in this format: yy-mmm (08-Mar, 08-Apr, etc). But when I sort the column it is not in the order of Jan to Dec instead by the first letter of the month. Is there a way to sort it so it recognize the month instead. Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Actually I forgot to mention. The date is calculated from Access and imported
from Access DB through pivot table. "Mike H" wrote: Hi, Maybe this. With your dates in A1 down put this in B1 =Month(a1) drag down as required and select both columns A & B and sort on B You can then hide B if you want. Mike "Cam" wrote: ?ello, I have column by month in this format: yy-mmm (08-Mar, 08-Apr, etc). But when I sort the column it is not in the order of Jan to Dec instead by the first letter of the month. Is there a way to sort it so it recognize the month instead. Thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Surely that would work only if column A contained dates, and if it did then
A should already sort OK? If A doesn't sort correctly, it is presumably text? -- David Biddulph "Mike H" wrote in message ... Hi, Maybe this. With your dates in A1 down put this in B1 =Month(a1) drag down as required and select both columns A & B and sort on B You can then hide B if you want. Mike "Cam" wrote: ?ello, I have column by month in this format: yy-mmm (08-Mar, 08-Apr, etc). But when I sort the column it is not in the order of Jan to Dec instead by the first letter of the month. Is there a way to sort it so it recognize the month instead. Thanks |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It sounds as if you have entered the data as text, rather than as dates
appropriately formatted. If you put them in as dates they will sort successfully. You can check by using =ISTEXT and =ISNUMBER. If they are real dates, =ISNUMBER will be TRUE. -- David Biddulph "Cam" wrote in message ... ?ello, I have column by month in this format: yy-mmm (08-Mar, 08-Apr, etc). But when I sort the column it is not in the order of Jan to Dec instead by the first letter of the month. Is there a way to sort it so it recognize the month instead. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I automatically sequence the month | Excel Worksheet Functions | |||
Sort month/date/year data using month and date only | Excel Discussion (Misc queries) | |||
How do I sort by EBCDIC sequence in EXCEL? | Excel Discussion (Misc queries) | |||
How can I sort data in sequence by odd/even numbers | Excel Worksheet Functions | |||
How do I sort by month and day | Excel Discussion (Misc queries) |