Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Excel

Sort numbers alphabetically

 
Jump to:  
 
Pungh0Li0
PostPosted: Tue Aug 26, 2008 9:19 pm    Post subject: Sort numbers alphabetically
       
Let's say I have a list:
1
2
5
20
35

I want it alphabetical, ie:
1
2
20
35
5

Even if I make them text, they still sort numerically.
Is there some trick?

Thanks, Joe
 

 
Gord Dibben
PostPosted: Tue Aug 26, 2008 9:19 pm    Post subject: Re: Sort numbers alphabetically
       
One method................

In B1 enter =LEFT(A1)

Copy down.

Copy and paste special>values.

Select column A and B and sort on column B


Gord Dibben MS Excel MVP

On Tue, 26 Aug 2008 14:19:10 -0700 (PDT), Pungh0Li0 <joe.dellwo@gmail.com>
wrote:

Quote:
Let's say I have a list:
1
2
5
20
35

I want it alphabetical, ie:
1
2
20
35
5

Even if I make them text, they still sort numerically.
Is there some trick?

Thanks, Joe
 

 
Pungh0Li0
PostPosted: Wed Aug 27, 2008 12:21 am    Post subject: Re: Sort numbers alphabetically
       
Well, maybe I made my example too simple.
More realistic is a long list such as:
1219760
5001057
5002280
17031590
17031591
170039110
35S0409
7631-0001-0002
etc

I want to sort alphabetically, as if this were all text.
Some may even include letters and dashes.

Thanks, Joe

On Aug 26, 2:53 pm, Gord Dibben <gorddibbATshawDOTca> wrote:
Quote:
One method................

In B1 enter  =LEFT(A1)

Copy down.

Copy and paste special>values.

Select column A and B and sort on column B

Gord Dibben  MS Excel MVP

On Tue, 26 Aug 2008 14:19:10 -0700 (PDT), Pungh0Li0 <joe.del...@gmail.com
wrote:

Let's say I have a list:
1
2
5
20
35

I want it alphabetical, ie:
1
2
20
35
5

Even if I make them text, they still sort numerically.
Is there some trick?

Thanks, Joe

 

 
Ken Johnson
PostPosted: Wed Aug 27, 2008 2:39 pm    Post subject: Re: Sort numbers alphabetically
       
On Aug 27, 10:21 am, Pungh0Li0 <joe.del...@gmail.com> wrote:
Quote:
Well, maybe I made my example too simple.
More realistic is a long list such as:
1219760
5001057
5002280
17031590
17031591
170039110
35S0409
7631-0001-0002
etc

I want to sort alphabetically, as if this were all text.
Some may even include letters and dashes.

Thanks, Joe

On Aug 26, 2:53 pm, Gord Dibben <gorddibbATshawDOTca> wrote:

One method................

In B1 enter  =LEFT(A1)

Copy down.

Copy and paste special>values.

Select column A and B and sort on column B

Gord Dibben  MS Excel MVP

On Tue, 26 Aug 2008 14:19:10 -0700 (PDT), Pungh0Li0 <joe.del...@gmail.com
wrote:

Let's say I have a list:
1
2
5
20
35

I want it alphabetical, ie:
1
2
20
35
5

Even if I make them text, they still sort numerically.
Is there some trick?

Thanks, Joe

Similar to Gord's except use ="A"&A1 in B1.
Nothing special about "A". Prefacing with any character seems to work.
Ken Johnson
 

 
Pungh0Li0
PostPosted: Wed Aug 27, 2008 3:40 pm    Post subject: Re: Sort numbers alphabetically
       
On Aug 27, 7:39 am, Ken Johnson <KenCJohn...@gmail.com> wrote:
Quote:
On Aug 27, 10:21 am, Pungh0Li0 <joe.del...@gmail.com> wrote:



Well, maybe I made my example too simple.
More realistic is a long list such as:
1219760
5001057
5002280
17031590
17031591
170039110
35S0409
7631-0001-0002
etc

I want to sort alphabetically, as if this were all text.
Some may even include letters and dashes.

Thanks, Joe

On Aug 26, 2:53 pm, Gord Dibben <gorddibbATshawDOTca> wrote:

One method................

In B1 enter  =LEFT(A1)

Copy down.

Copy and paste special>values.

Select column A and B and sort on column B

Gord Dibben  MS Excel MVP

On Tue, 26 Aug 2008 14:19:10 -0700 (PDT), Pungh0Li0 <joe.del...@gmail..com
wrote:

Let's say I have a list:
1
2
5
20
35

I want it alphabetical, ie:
1
2
20
35
5

Even if I make them text, they still sort numerically.
Is there some trick?

Thanks, Joe

Similar to Gord's except use ="A"&A1 in B1.
Nothing special about "A". Prefacing with any character seems to work.
Ken Johnson

Yep, that works!
Strange that it doesn't give you the option to sort alphabetically
when you format the cells as Text.

Thanks a lot, Joe
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

grecja Motywy K500 wizz air Drogo prowadź - Edyta Gepperd Literatura Nowoczesna