#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Sort help

Please How do I sort using the country alphabetically. Where no country all
data should be lined up together beneath one another

ABS
ABS_Canada
GBP_JKL_Spain
DCG_Netherland
HGB_KLLLMM_Spain
GBN_KNL_NMT_Netherland
VBT_HNJ_MVT_France
BBBBVV_JJNNH_Spain
HNK_France
HGP_Ontario
KLG_France
JKL_Canada

Thanks
All help totally appreciated


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Sort help

Please refrain from multiposting

--


Regards,


Peo Sjoblom

"Yossy" wrote in message
...
Please How do I sort using the country alphabetically. Where no country
all
data should be lined up together beneath one another

ABS
ABS_Canada
GBP_JKL_Spain
DCG_Netherland
HGB_KLLLMM_Spain
GBN_KNL_NMT_Netherland
VBT_HNJ_MVT_France
BBBBVV_JJNNH_Spain
HNK_France
HGP_Ontario
KLG_France
JKL_Canada

Thanks
All help totally appreciated




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Sort help

Hi,

You need a helper column. Put this in B1 and drag down

=RIGHT(A1,LEN(A1)-SEARCH("@",SUBSTITUTE(A1,"_","@",LEN(A1)-LEN(SUBSTITUTE(A1,"_","")))))

Select column A & B and sort on column B. Ensure 'No Header' is selected in
the sort dialog box.

When sorted you can delete or hide column B

Mike

"Yossy" wrote:

Please How do I sort using the country alphabetically. Where no country all
data should be lined up together beneath one another

ABS
ABS_Canada
GBP_JKL_Spain
DCG_Netherland
HGB_KLLLMM_Spain
GBN_KNL_NMT_Netherland
VBT_HNJ_MVT_France
BBBBVV_JJNNH_Spain
HNK_France
HGP_Ontario
KLG_France
JKL_Canada

Thanks
All help totally appreciated


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
Sort by color: Is there an easy way to sort columns or rows in EX MGP Excel Worksheet Functions 5 August 16th 08 11:28 AM
Sort sheet based on particuilar sort order Also Excel Worksheet Functions 4 January 3rd 08 09:31 AM
sort function for dates does not sort properly in Office 2007 Exc. Rosalie Excel Worksheet Functions 1 November 22nd 07 10:25 PM
data, sort option is grayed. how to sort on a column? Steve Richter Excel Discussion (Misc queries) 1 September 25th 07 03:25 PM
Excel sort by Fill Color by custom list sort Dash4Cash Excel Discussion (Misc queries) 2 July 29th 05 10:45 PM


All times are GMT +1. The time now is 02:45 AM.

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"