Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SDP SDP is offline
external usenet poster
 
Posts: 16
Default Need to sort part numbers, sometimes ignoring leading letters

Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns, but this is for a co-worker little Excel
experience, and the list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
SDP SDP is offline
external usenet poster
 
Posts: 16
Default Need to sort part numbers, sometimes ignoring leading letters

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Need to sort part numbers, sometimes ignoring leading letters

create a helper column in columnB

In B2: =SUBSTITUTE(A2,"TE","")
copy down, then sort the columnB


"SDP" wrote:

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
SDP SDP is offline
external usenet poster
 
Posts: 16
Default Need to sort part numbers, sometimes ignoring leading letters

Thanks - that takes the Text To Columns part out of it, which is nice.
However, I need the "TE" to remain intact. Is there a way to put it back on
(on the right part numbers)?

"Teethless mama" wrote:

create a helper column in columnB

In B2: =SUBSTITUTE(A2,"TE","")
copy down, then sort the columnB


"SDP" wrote:

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Need to sort part numbers, sometimes ignoring leading letters

Assuming your data in columnA, then use helper column in columnB then use my
formula I provided in the previous post, copy the formula down. Select
columnA and columnB then sort by columnB, then delete columnB.


"SDP" wrote:

Thanks - that takes the Text To Columns part out of it, which is nice.
However, I need the "TE" to remain intact. Is there a way to put it back on
(on the right part numbers)?

"Teethless mama" wrote:

create a helper column in columnB

In B2: =SUBSTITUTE(A2,"TE","")
copy down, then sort the columnB


"SDP" wrote:

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.



  #6   Report Post  
Posted to microsoft.public.excel.misc
SDP SDP is offline
external usenet poster
 
Posts: 16
Default Need to sort part numbers, sometimes ignoring leading letters

I think the "TE" prefix is lost then though, right?

"Teethless mama" wrote:

Assuming your data in columnA, then use helper column in columnB then use my
formula I provided in the previous post, copy the formula down. Select
columnA and columnB then sort by columnB, then delete columnB.


"SDP" wrote:

Thanks - that takes the Text To Columns part out of it, which is nice.
However, I need the "TE" to remain intact. Is there a way to put it back on
(on the right part numbers)?

"Teethless mama" wrote:

create a helper column in columnB

In B2: =SUBSTITUTE(A2,"TE","")
copy down, then sort the columnB


"SDP" wrote:

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.

  #7   Report Post  
Posted to microsoft.public.excel.misc
SDP SDP is offline
external usenet poster
 
Posts: 16
Default Need to sort part numbers, sometimes ignoring leading letters

Is there an Excel function that would be equivalent to the word "ignore" ?
Like: sort these numbers, ignore (but keep) "TE"

So far, I can only accomplish this sort by:
1. Replace "TE" with "TE|"
2. Text To Columns with "|" as the delimiter
3. Sort BOTH columns so the "TE" stays with its part number
4. Concantenate the "TE" back on
5. Copy, paste values only

I just thought there could be a better way.

"SDP" wrote:

I think the "TE" prefix is lost then though, right?

"Teethless mama" wrote:

Assuming your data in columnA, then use helper column in columnB then use my
formula I provided in the previous post, copy the formula down. Select
columnA and columnB then sort by columnB, then delete columnB.


"SDP" wrote:

Thanks - that takes the Text To Columns part out of it, which is nice.
However, I need the "TE" to remain intact. Is there a way to put it back on
(on the right part numbers)?

"Teethless mama" wrote:

create a helper column in columnB

In B2: =SUBSTITUTE(A2,"TE","")
copy down, then sort the columnB


"SDP" wrote:

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Need to sort part numbers, sometimes ignoring leading letters

I think the "TE" prefix is lost then though, right?

No. The original data are never change the "TE" are always there. Just do
exactly what I provided you in the previous post.



"SDP" wrote:

I think the "TE" prefix is lost then though, right?

"Teethless mama" wrote:

Assuming your data in columnA, then use helper column in columnB then use my
formula I provided in the previous post, copy the formula down. Select
columnA and columnB then sort by columnB, then delete columnB.


"SDP" wrote:

Thanks - that takes the Text To Columns part out of it, which is nice.
However, I need the "TE" to remain intact. Is there a way to put it back on
(on the right part numbers)?

"Teethless mama" wrote:

create a helper column in columnB

In B2: =SUBSTITUTE(A2,"TE","")
copy down, then sort the columnB


"SDP" wrote:

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.

  #9   Report Post  
Posted to microsoft.public.excel.misc
SDP SDP is offline
external usenet poster
 
Posts: 16
Default Need to sort part numbers, sometimes ignoring leading letters

That is sweet. Thank you.

"Teethless mama" wrote:

I think the "TE" prefix is lost then though, right?


No. The original data are never change the "TE" are always there. Just do
exactly what I provided you in the previous post.



"SDP" wrote:

I think the "TE" prefix is lost then though, right?

"Teethless mama" wrote:

Assuming your data in columnA, then use helper column in columnB then use my
formula I provided in the previous post, copy the formula down. Select
columnA and columnB then sort by columnB, then delete columnB.


"SDP" wrote:

Thanks - that takes the Text To Columns part out of it, which is nice.
However, I need the "TE" to remain intact. Is there a way to put it back on
(on the right part numbers)?

"Teethless mama" wrote:

create a helper column in columnB

In B2: =SUBSTITUTE(A2,"TE","")
copy down, then sort the columnB


"SDP" wrote:

That was poorly written, sorry. Redo:
Hello.
I have many part numbes to sort. The problem is that some part numbers are
all numbers, and some part numbers begin with: TE
I'd like to ask Excel to ignore the TE when sorting, and only sort by the
number component, but still keep the TE. Any way to do that? I can do it
VERY clumsily with Text To Columns and concantenate after, but this is for a
co-worker with little Excel experience. The list gets added to daily.

Have this:
198919-001
198960-001
198962-001
TE198580-1
TE198763-7
TE199014-1

Need this:
TE198580-1
TE198763-7
198919-001
198960-001
198962-001
TE199014-1

I'd appreciate any suggestion, thanks.

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 a range of numbers ignoring preceding letters j0hnt52 Excel Discussion (Misc queries) 1 April 17th 06 04:04 AM
sort alphabebically ignoring preceeding symbols or numbers silver fox Excel Worksheet Functions 2 October 10th 05 03:04 AM
alphabetical sort while ignoring preceeding numbers/symbols silver fox Excel Discussion (Misc queries) 1 October 2nd 05 01:54 AM
Ignoring letters behind numbers jeremy via OfficeKB.com Excel Worksheet Functions 4 June 8th 05 08:28 PM
sort numbers leading zeros l smith Excel Discussion (Misc queries) 2 June 8th 05 02:05 AM


All times are GMT +1. The time now is 11:19 PM.

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"