Remove symbols, Punctuation marks from list

satish78

Board Regular
Joined
Aug 31, 2014
Messages
218
Hi Friends,

I have a huge list of Names which includes first, middle, last names and along with their titles, education etc.,
for example

Tina DeRubeis van Zyl
May Wen-Li
Rebecca Hodson, CPA, MST
David P. Kraus, Jr.
Heather Findon, CPA
James C. Lawson, JD, CPA, MST
Bruce Feinstein, C.P.A., LL.M. , J.D.
Victoria Colcombe, CFP, ATP
Christopher Abt, CPA
Marc Frutchey, CPA
Cara (Cygan) Matarrese
Cindy Yu, CPA
Andrew P. Brenner, CPA
Jennifer Heiser, CPA
Megan Grohol, CPA
Becky MacFeeters, CPA
Mario Maiorano, CPA
Rory Morrison-Smith
Julia M. Bennetsen
Sarah T.
Kyle J. Bauman, CPA
Bob Ribblett, CPA
Kara Kessinger, CPA, PFS, MTAX, Principal
Amanee Scott-Stephan, MBA
Mark Fahnestock, CPA, PMP
Solomon O'judoh, CPA, MBA
Janice M. Smith, CPA, JD
Christopher Shane, CPA
Larry Schwegel, CPA, MT
Melissa Genovese, CPA, MST


So here I want a VBA/Formula which will remove all occurrences of , . ( ) - ' and for "-" (replace with space) and remove other words like cpa, jd, mt, mst after names

I know it is possible only wit VBA but I am not an expert.
Please help me.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Re: How to remove symbols, Punctuation marks from list

Give this a try:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(LEFT(A1,FIND(",",A1&",")-1),"-"," "),"1",""),"(",""),")",""),".","")
 
Upvote 0
Re: How to remove symbols, Punctuation marks from list

Deleted
 
Last edited:
Upvote 0
Re: How to remove symbols, Punctuation marks from list

Hi Friends,

I have a huge list of Names which includes first, middle, last names and along with their titles, education etc.,
for example

Tina DeRubeis van Zyl
May Wen-Li
Rebecca Hodson, CPA, MST
David P. Kraus, Jr.
Heather Findon, CPA
James C. Lawson, JD, CPA, MST
Bruce Feinstein, C.P.A., LL.M. , J.D.
Victoria Colcombe, CFP, ATP
Christopher Abt, CPA
Marc Frutchey, CPA
Cara (Cygan) Matarrese
Cindy Yu, CPA
Andrew P. Brenner, CPA
Jennifer Heiser, CPA
Megan Grohol, CPA
Becky MacFeeters, CPA
Mario Maiorano, CPA
Rory Morrison-Smith
Julia M. Bennetsen
Sarah T.
Kyle J. Bauman, CPA
Bob Ribblett, CPA
Kara Kessinger, CPA, PFS, MTAX, Principal
Amanee Scott-Stephan, MBA
Mark Fahnestock, CPA, PMP
Solomon O'judoh, CPA, MBA
Janice M. Smith, CPA, JD
Christopher Shane, CPA
Larry Schwegel, CPA, MT
Melissa Genovese, CPA, MST


So here I want a VBA/Formula which will remove all occurrences of , . ( ) - ' and for "-" (replace with space) and remove other words like cpa, jd, mt, mst after names

I know it is possible only wit VBA but I am not an expert.
Please help me.

Are you sure you want to get rid of hypens. The people People with hyphenated names may not be happy with the result

[TABLE="width: 518"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]name star[/TD]
[TD]name finish[/TD]
[/TR]
[TR]
[TD]May Wen-Li[/TD]
[TD]May Wen Li[/TD]
[/TR]
[TR]
[TD]Rory Morrison-Smith[/TD]
[TD]Rory Morrison Smith[/TD]
[/TR]
[TR]
[TD]Amanee Scott-Stephan, MBA[/TD]
[TD]Amanee Scott Stephan[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top