SUBSTITUTE it is easy to use
=SUBSTITUTE( SUBSTITUTE(I2,",","_") ," ","_")
Answer from Mo Khalefa on Stack OverflowAvantix Learning
avantixlearning.ca โบ home โบ how to replace spaces in excel with underscores (_), dashes (-) or other values
How to Replace Spaces in Excel with Underscores (_), Dashes (-) or Other Values
April 13, 2022 - In Excel, you can replace spaces in text strings with underscores, dashes or other values using Find and Replace, by creating a formula or by using Flash Fill.
how to replace every underscore with a space instead?
You can select all the headers, then press ctrl+f -> replace -> find _ replace with space, replace all Its important to select just the headers otherwise you might replace things outside of headers that wasn't intended More on reddit.com
Excel formula - remove commas, hyphens, spaces and replace with underscore
I have data like this: Reyes, Ma. Luisa Jun-Oh, Junee Carter, John Jr. I need to use a combination of excel formulas in one cell to remove commas, periods, spaces and replace with underscore. Also need to add text after the names (to be used as PDF filename). Expected output... More on mrexcel.com
excel - Replace space between two words with an underscore - Stack Overflow
On column C I have values from C2 to C236. Some of them have a space between two words. Is it possible to use VBA to replace the space with a _ instead? I guess a FOR loop on column C then when a... More on stackoverflow.com
Find and replace - how to include blank spaces before and after a word you want to replace
u/Old_Pizza_1149 - Your post was submitted successfully. Once your problem is solved, reply to the answer(s) saying Solution Verified to close the thread. Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post. Include your Excel version and all other relevant information Failing to follow these steps may result in your post being removed without warning. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
01:10
How to replace blank space with nothing/ underscore/ dash/ comma ...
01:19
How to replace space with underscore in excel - YouTube
00:47
Replace Space with Underscore from Names #excel #shorts ...
02:19
Replace Spaces with a Dash or Underscore in Excel (3 Ways) - YouTube
How to Replace Part of a Text String in Excel Using SUBSTITUTE ...
Reddit
reddit.com โบ r/excel โบ how to replace every underscore with a space instead?
r/excel on Reddit: how to replace every underscore with a space instead?
October 17, 2023 -
I have TONS of headers that look like the following
owner2_address_1_city
There underscores instead of spaces make it hard to read quickly and make wrapping text useless. is there an easy way to change it to normal text i.e. below:
"owner 2 address 1 city"
Thanks in advance!
Top answer 1 of 3
6
You can select all the headers, then press ctrl+f -> replace -> find _ replace with space, replace all Its important to select just the headers otherwise you might replace things outside of headers that wasn't intended
2 of 3
1
u/Possible_Spy - Your post was submitted successfully. Once your problem is solved, reply to the answer(s) saying Solution Verified to close the thread. Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post. Include your Excel version and all other relevant information Failing to follow these steps may result in your post being removed without warning. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
MrExcel
mrexcel.com โบ forums โบ question forums โบ excel questions
Excel formula - remove commas, hyphens, spaces and replace with underscore | MrExcel Message Board
July 4, 2020 - let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}}), #"Replaced Value" = Table.ReplaceValue(#"Changed Type",",","_",Replacer.ReplaceText,{"Column1"}), #"Replaced Value1" = Table.ReplaceValue(#"Replaced Value",".","_",Replacer.ReplaceText,{"Column1"}), #"Replaced Value2" = Table.ReplaceValue(#"Replaced Value1"," ","_",Replacer.ReplaceText,{"Column1"}), #"Added Suffix" = Table.TransformColumns(#"Replaced Value2", {{"Column1", each _ & "Text123", type text}}) in #"Added Suffix" ... My data consists of Lastname then a comma and space. Firstly I need the last name to not have spaces or other special characters, then an underscore after.
YouTube
youtube.com โบ watch
Replace space with underscore in Excel - YouTube
The video offers a quick tutorial on how to replace space with underscore in Excel.
Published: June 12, 2022
The Bricks
thebricks.com โบ home โบ resources โบ how to replace spaces with underscores in excel using ai
How to Replace Spaces with Underscores in Excel Using AI
February 20, 2025 - You should see the text from A2, but with all spaces replaced by underscores. For instance, "Product Number" becomes "Product_Number." Click on cell B2 again. Hover your mouse over the small green square at the bottom-right corner of the cell (the "fill handle"). Your cursor will turn into a small black plus sign. Click and drag the fill handle down to apply the formula to all the corresponding rows of your data. Alternatively, you can just double-click the fill handle, and Excel will automatically fill it down to the last row of your adjacent data.
Excel Forum
excelforum.com โบ excel-general โบ 728119-how-to-copy-text-from-another-cell-and-replace-space-with-underscore.html
How to copy text from another cell and replace space with underscore
1) Copy the cell(s) to the new location 2) Do a CTRL-H (search replace) to search for spaces and replace with underscores. To do it in a formula: =SUBSTITUTE(A1, " ", "_") ... Microsoft MVP 2010 - Excel Visit: Jerry Beaucaire's Excel Files & Macros If you've been given good help, use the icon ...
ExtendOffice
extendoffice.com โบ home โบ office tips โบ excel tips
How to replace blank space with nothing/underscore/dash/comma in Excel?
August 29, 2024 - 1. Open all workbooks you will ... pane. See screenshot: 2. In the Advanced Find and Replace pane, go to the Replace tab, and: (1) In the Find what box, please type a space; (2) In the Replace with box, type underscore/dash/comma as you need....
IPAM Power Hub
ipam.powerschool.com โบ home
Excel Replace Spaces With Underscores - IPAM Power Hub
October 18, 2023 - Replace All: Click on โReplace Allโ to replace all spaces with underscores in your selected range. If you want to keep your original data intact and create a new column with the modified text, you can use the SUBSTITUTE function. Assuming Data: Letโs say your data is in column A. Enter Formula: In a new column (say, column B), enter the following formula in the first cell where you want the modified text to appear: