PC Review


Reply
Thread Tools Rate Thread

"Custom Sort" Question

 
 
Bob
Guest
Posts: n/a
 
      11th Jun 2010
Hello,

Using Excel 2007 and W7.

Wish to do a "Custom Sort" on a column that has all text.

I would like to do it in alphabetical order, depending on the very first
letter that appears.

I tried, but the results are not what I would like.

Is it possible to do a Sort like this, with Excel only looking at
the very first letter, and using only this as the criteria ?

e.g., if C.G. is there, it would use only the "C"
If Maritime was there, it would use only "M"

Thanks,
Bob
 
Reply With Quote
 
 
 
 
Cimjet
Guest
Posts: n/a
 
      12th Jun 2010
Bob
Not sure if I understand correctly but I don't think you can do that.
Hopefully someone will prove me wrong.
HTH
Cimjet
"Bob" <(E-Mail Removed)> wrote in message
news:huu41s$6k5$(E-Mail Removed)...
> Hello,
>
> Using Excel 2007 and W7.
>
> Wish to do a "Custom Sort" on a column that has all text.
>
> I would like to do it in alphabetical order, depending on the very first
> letter that appears.
>
> I tried, but the results are not what I would like.
>
> Is it possible to do a Sort like this, with Excel only looking at
> the very first letter, and using only this as the criteria ?
>
> e.g., if C.G. is there, it would use only the "C"
> If Maritime was there, it would use only "M"
>
> Thanks,
> Bob


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      12th Jun 2010
I would just insert a helper column and use a formula that extracts the first
character from the cells in the other column:

=left(a1,1)
(and drag down)

And sort my data by this helper column.

And delete the helper column when I was done.

On 06/11/2010 14:50, Bob wrote:
> Hello,
>
> Using Excel 2007 and W7.
>
> Wish to do a "Custom Sort" on a column that has all text.
>
> I would like to do it in alphabetical order, depending on the very first
> letter that appears.
>
> I tried, but the results are not what I would like.
>
> Is it possible to do a Sort like this, with Excel only looking at
> the very first letter, and using only this as the criteria ?
>
> e.g., if C.G. is there, it would use only the "C"
> If Maritime was there, it would use only "M"
>
> Thanks,
> Bob


--
Dave Peterson
 
Reply With Quote
 
AndyM
Guest
Posts: n/a
 
      12th Jun 2010
If you want to make sure you maintained the original order within each
single-letter group, add a second helper column numbering the rows (from 1
to however many rows you have). When you sort, the first sort column is the
one with =left(a1,1) and the second is the numbered rows.


"Dave Peterson" <(E-Mail Removed)> wrote in message
news:huuobo$vnj$(E-Mail Removed)...
>I would just insert a helper column and use a formula that extracts the
>first character from the cells in the other column:
>
> =left(a1,1)
> (and drag down)
>
> And sort my data by this helper column.
>
> And delete the helper column when I was done.
>
> On 06/11/2010 14:50, Bob wrote:
>> Hello,
>>
>> Using Excel 2007 and W7.
>>
>> Wish to do a "Custom Sort" on a column that has all text.
>>
>> I would like to do it in alphabetical order, depending on the very first
>> letter that appears.
>>
>> I tried, but the results are not what I would like.
>>
>> Is it possible to do a Sort like this, with Excel only looking at
>> the very first letter, and using only this as the criteria ?
>>
>> e.g., if C.G. is there, it would use only the "C"
>> If Maritime was there, it would use only "M"
>>
>> Thanks,
>> Bob

>
> --
> Dave Peterson



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      12th Jun 2010
If you're only sorting on that one helper column, then excel will keep the
original order of the data. It won't do any more than it's asked.

On the other hand, I sometimes use this technique so that I can sort the data in
any way I want and always have a way to get back to the original order.

On 06/11/2010 22:04, AndyM wrote:
> If you want to make sure you maintained the original order within each
> single-letter group, add a second helper column numbering the rows (from 1
> to however many rows you have). When you sort, the first sort column is the
> one with =left(a1,1) and the second is the numbered rows.
>
>
> "Dave Peterson"<(E-Mail Removed)> wrote in message
> news:huuobo$vnj$(E-Mail Removed)...
>> I would just insert a helper column and use a formula that extracts the
>> first character from the cells in the other column:
>>
>> =left(a1,1)
>> (and drag down)
>>
>> And sort my data by this helper column.
>>
>> And delete the helper column when I was done.
>>
>> On 06/11/2010 14:50, Bob wrote:
>>> Hello,
>>>
>>> Using Excel 2007 and W7.
>>>
>>> Wish to do a "Custom Sort" on a column that has all text.
>>>
>>> I would like to do it in alphabetical order, depending on the very first
>>> letter that appears.
>>>
>>> I tried, but the results are not what I would like.
>>>
>>> Is it possible to do a Sort like this, with Excel only looking at
>>> the very first letter, and using only this as the criteria ?
>>>
>>> e.g., if C.G. is there, it would use only the "C"
>>> If Maritime was there, it would use only "M"
>>>
>>> Thanks,
>>> Bob

>>
>> --
>> Dave Peterson

>
>


--
Dave Peterson
 
Reply With Quote
 
AndyM
Guest
Posts: n/a
 
      12th Jun 2010
No argument, and the "getting back to the original order" is the important
part for me.


"Dave Peterson" <(E-Mail Removed)> wrote in message
news:huvo15$f4b$(E-Mail Removed)...
If you're only sorting on that one helper column, then excel will keep the
original order of the data. It won't do any more than it's asked.

On the other hand, I sometimes use this technique so that I can sort the
data in any way I want and always have a way to get back to the original
order.

On 06/11/2010 22:04, AndyM wrote:
If you want to make sure you maintained the original order within each
single-letter group, add a second helper column numbering the rows (from
1
to however many rows you have). When you sort, the first sort column is
the
one with =left(a1,1) and the second is the numbered rows.


"Dave Peterson"<(E-Mail Removed)> wrote in message
news:huuobo$vnj$(E-Mail Removed)...
I would just insert a helper column and use a formula that extracts the
first character from the cells in the other column:

=left(a1,1)
(and drag down)

And sort my data by this helper column.

And delete the helper column when I was done.

On 06/11/2010 14:50, Bob wrote:
> Hello,
>
> Using Excel 2007 and W7.
>
> Wish to do a "Custom Sort" on a column that has all text.
>
> I would like to do it in alphabetical order, depending on the very
> first
> letter that appears.
>
> I tried, but the results are not what I would like.
>
> Is it possible to do a Sort like this, with Excel only looking at
> the very first letter, and using only this as the criteria ?
>
> e.g., if C.G. is there, it would use only the "C"
> If Maritime was there, it would use only "M"
>
> Thanks,
> Bob






 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing sort ascending or descending when go into "data" "sort"? Jason Microsoft Excel Misc 5 17th Sep 2008 11:57 PM
"Order Custom" sort option =?Utf-8?B?anVzdG1l?= Microsoft Excel Programming 2 31st Aug 2007 06:36 PM
How to delete most of the "custom sort list" newsgroup2003@gmail.com Microsoft Excel Discussion 1 19th Sep 2006 01:33 PM
Get rid of ""Type a question for help" on a custom Menu bar =?Utf-8?B?R2Vvcmdl?= Microsoft Access 2 23rd Feb 2006 01:27 PM
Re: Sort on "Custom Number List" Dave Peterson Microsoft Excel Worksheet Functions 2 24th Sep 2003 02:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:41 AM.