LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 380
Default Getting a clean part number

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,".",""),"/",""),"-","")

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Rick5k" <u28335@uwe wrote in message news:684fc6639b122@uwe...
I have a need to clean/remove dots, dashes, and slashes from a series of

part
numbers. The numbers look something like the following: AI246-34-D/34 I
need it to look like AI24634D34 I can use the Substitute function to get

rid
of the dashes or get rid of the slash, but when I try to combine them and

get
rid of both I get an error on the formula. Some of the part numbers, I am
using numbers here loosely when these are actually text, have dots and

dashes,
and some of the slashes are right not only left slahes. I'm sure that

there
are other charactors in some of them. But I need one formula that I can

put
all the charactors I want to get rid of and clean up these numbers so I

can
work with them the way I need to. Can anyone help me here.



 
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
Look up part of a number within a serial number and cpy back assoc Seantastic Excel Worksheet Functions 9 November 3rd 08 04:10 PM
part number with 'E' chiuinggum Excel Worksheet Functions 7 November 15th 05 04:20 AM
Part Number Lookup Marshall2 Excel Worksheet Functions 2 July 11th 05 08:58 AM
Clean does not remove hidden formatting on a number MickF Excel Worksheet Functions 2 May 19th 05 07:18 PM
GOTO a Part Number CLR Excel Programming 4 November 9th 04 08:23 PM


All times are GMT +1. The time now is 10:37 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"