#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Sorting

Hi,

Column A has the following data
ABCD02052008
ABCD02062008
ABCD2062008
ABCD262008

u can make something in the above data i.e, after
the text there are numbers which are in date format ie.,02nd may
2008,
02nd june 2008, 2nd june 2008 & 2nd june 2008

How do I sort based on months ?

Actually in col B I used =mid(a1,7,2) from this i can able to get
result
but for the 3rd cell & 4th cell i am not getting what i need....

Is there any other formula to get the result ?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Sorting

Hi,

Extract the month number into a helper column using
=MID(A1,LEN(A1)-4,1)
The select the data and helper colimn and sort on that.

Mike

"muddan madhu" wrote:

Hi,

Column A has the following data
ABCD02052008
ABCD02062008
ABCD2062008
ABCD262008

u can make something in the above data i.e, after
the text there are numbers which are in date format ie.,02nd may
2008,
02nd june 2008, 2nd june 2008 & 2nd june 2008

How do I sort based on months ?

Actually in col B I used =mid(a1,7,2) from this i can able to get
result
but for the 3rd cell & 4th cell i am not getting what i need....

Is there any other formula to get the result ?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Sorting

Thanks Mike


On Apr 19, 7:32*pm, Mike H wrote:
Hi,

Extract the month number into a helper column using
=MID(A1,LEN(A1)-4,1)
The select the data and helper colimn and sort on that.

Mike



"muddan madhu" wrote:
Hi,


Column A has the following data
ABCD02052008
ABCD02062008
ABCD2062008
ABCD262008


u can make something in the above data i.e, after
the text there are numbers which are in date format ie.,02nd may
2008,
02nd june 2008, 2nd june 2008 & 2nd june 2008


How do I sort based on months ?


Actually in col B I used =mid(a1,7,2) from this i can able to get
result
but for the 3rd cell & 4th cell i am not getting what i need....


Is there any other formula to get the result ?- Hide quoted text -


- Show quoted text -


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
Sorting VLookup vs Sorting SumProduct Lauren Excel Discussion (Misc queries) 1 August 21st 07 12:19 AM
sorting SS# Perkgolf Excel Discussion (Misc queries) 2 February 2nd 07 05:45 PM
Sorting: Sorting by the First Character dzuy Excel Discussion (Misc queries) 2 June 22nd 06 08:27 PM
sorting Patrick Excel Discussion (Misc queries) 1 July 20th 05 02:15 PM
Sorting JoeyJoeJoe Excel Discussion (Misc queries) 0 January 25th 05 04:01 AM


All times are GMT +1. The time now is 07:50 PM.

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

About Us

"It's about Microsoft Excel"