Multiple Find and Replace in one function

B

bpkaufman

I'm wondering how I can clean one column of text using multiple find
arguments. This is what I have so far:

=MID(B3,1,FIND(" Corp.",B3,1)-1)

In addition to " Corp." I want to remove " Inc.", " Co." and a couple
other ones. Any help is much appreciated.
 
B

Biff

Try this:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," Corp. ","")," Inc. ","")," Co. ","")

Note that Substitute is case sensitive. <sp>corp.<sp> will not match
<sp>Corp.<sp>

Biff
 
B

bpkaufman

Awesome! Thanks!
Biff said:
Try this:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," Corp. ","")," Inc. ","")," Co. ","")

Note that Substitute is case sensitive. <sp>corp.<sp> will not match
<sp>Corp.<sp>

Biff
 
Top