Formula to replace data on several tabs

Nuutti

New Member
Joined
May 25, 2016
Messages
7
Hi!

I need to replace some data in Excel workbook on several tabs, but cannot figure a formula to cover all tabs. Can someone help?

In my Excel I might have the same name (and I know they are really the same eventhough written differently) spelled in various ways like :
John Smith
John Smith Jr
John Smiith
Kohn Smith

I have on summary tab all names (some of those need to be replaced as well, since they are duplicates or misspelled) and about 150 tabs holding names in one column and some other data in other columns.

If I will create a sheet that has old and new values like the one below, can someone help me to create a formula for my workbook to replace all old values with new values in all tabs?

Old value New value
John Smith John Smith
John Smith Jr John Smith
John Smiith John Smith
Kohn Smith John Smith

Furthermore, how to delete ALL tabs in the end of cell? I am able to delete doubles with TRIM-formula, but there is still one space left after all.

Thanks before hand
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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