Function to Replace _ with a Space

greenlight

New Member
Joined
May 8, 2009
Messages
14
hello everyone, new user to the forums. tried looking this up but couldn't quite find it. i'm using a mac and running excel 2008 and trying to take the underscore out and replace it with a space so from:

ibm_us

to:

ibm us

i've looked and some people said you could just leave the replace field empty but i get an error that says excel can't find anything that matches. any idea on this? doesn't matter if it's a function or a find/replace. in fact, i would prefer that it was a function so i can just fill down. thanks. sorry if this is basic, but i definitely tried looking!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
hello everyone, new user to the forums. tried looking this up but couldn't quite find it. i'm using a mac and running excel 2008 and trying to take the underscore out and replace it with a space so from:

ibm_us

to:

ibm us

i've looked and some people said you could just leave the replace field empty but i get an error that says excel can't find anything that matches. any idea on this? doesn't matter if it's a function or a find/replace. in fact, i would prefer that it was a function so i can just fill down. thanks. sorry if this is basic, but i definitely tried looking!

Hi greenlight:

Welcome to MrExcel Board!

The following approach will do what you want without using any formula ...

Let us say I start off with the entry ibm_us in cell A5 ... then

1) select cell A5
2) do EDIT|REPLACE and in
Find what: Textbox key-in _ and in
Replace with: Text box key-in a space character
3) click on Replace Button

and you will see the result in cell A5 as shown in the following ...
<html><head><title>Excel Jeanie HTML</title></head><body>
Excel Workbook
A
1ibm_us
2*
3to:
4*
5ibm us
Sheet2


</body></html>

I hope this helps.
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,515
Members
452,921
Latest member
BBQKING

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