๐ŸŒ
Statology
statology.org โ€บ home โ€บ how to replace space with underscore in excel
How to Replace Space with Underscore in Excel
August 17, 2023 - First, highlight the cell range A2:A11. Then type Ctrl + H to bring up the Find and Replace feature in Excel. Then type a single space in the Find what box and type a single underscore in the Replace with box.
Discussions

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
๐ŸŒ mrexcel.com
7
0
July 4, 2020
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
๐ŸŒ stackoverflow.com
Replace space with underscore and remove apostrophes
Hi All I have a problem with the file paths if the user puts spaces into the company name or apostrophes. So I'd like in a specific cell to replace the space bar entry with an underscore and to delete apostrophes to get over the problem. I found the bit of code below on the internet but am not... More on mrexcel.com
๐ŸŒ mrexcel.com
4
0
March 19, 2014
Formula that replaces spaces with underscores and eliminates parentheses
Hi Airtable community! I have a field in my table where I need a formula that outputs the name of a project Slack channel based on the name of the project. However, since Slack only allows for lowercase letters, underscores and dashes, the formula writing is a little complicated. More on community.airtable.com
๐ŸŒ community.airtable.com
0
July 1, 2022
๐ŸŒ
Automate Excel
automateexcel.com โ€บ home โ€บ replace space with underscore in excel & google sheets
Replace Space With Underscore in Excel & Google Sheets - Automate Excel
February 27, 2023 - In the pop-up window, (1) enter space in the Find box and (2) underscore (_) in the Replace with box. The, (3) click Replace All and (4) Done. The result is the same as in Excel: All spaces in the selected range are converted to underscores.
๐ŸŒ
Avantix 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 - You can also click the Home tab in the Ribbon and select Replace in the Find & Select group. In the Find what box, type a space. In the Replace with box, type an underscore, dash, or other value.
๐ŸŒ
The Bricks
thebricks.com โ€บ home โ€บ resources โ€บ how to replace spaces with underscores in excel
How to Replace Spaces with Underscores in Excel - Bricks
February 12, 2025 - Enter Your Criteria: A dialog box will appear. In the "Find what:" field, press the spacebar once. Don't type the word "space," just a literal space character. In the "Replace with:" field, type an underscore ( _ ).
๐ŸŒ
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
Find elsewhere
๐ŸŒ
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....
๐ŸŒ
YouTube
youtube.com โ€บ pdf tutorial
How to replace space with underscore in excel - YouTube
Assalamu Walaikum,In this video I will show you, How to replace space with underscore in excel. Let's get started.I hope you enjoyed this video please subsc...
Published: May 13, 2024
Views: 1
๐ŸŒ
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 - In the "Find what:" box, type a single space. Press the spacebar once. In the "Replace with:" box, type an underscore (_). Click the Replace All button. Excel will tell you how many replacements were made.
๐ŸŒ
Arab Psychology
scales.arabpsychology.com โ€บ home โ€บ replace space with underscore in excel
Replace Space With Underscore In Excel
November 18, 2025 - Conversely, in the Replace with field, input a single underscore character (_). Once both fields are correctly populated, clicking the Replace All button executes the command across the highlighted range.
๐ŸŒ
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.
๐ŸŒ
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 ...
๐ŸŒ
Arab Psychology
scales.arabpsychology.com โ€บ psychological scales โ€บ how can i replace spaces with underscores in excel?
How Can I Replace Spaces With Underscores In Excel?
April 8, 2024 - First, highlight the cell range A2:A11. Then type Ctrl + H to bring up the Find and Replace feature in Excel. Then type a single space in the Find what box and type a single underscore in the Replace with box.
๐ŸŒ
MrExcel
mrexcel.com โ€บ forums โ€บ question forums โ€บ excel questions
Replace space with underscore and remove apostrophes | MrExcel Message Board
March 19, 2014 - Public Function ReplaceSpaces(strInput A s String) As String ' Replaces spaces in a string of text with underscores Dim Result As String Result = Nz(strInput, "") If InStr(strInput, " ") > 0 Then Result = Replace(str Input, " ", "_") End If ...
๐ŸŒ
ExcelTips (ribbon)
excelribbon.tips.net โ€บ T012488_Using_a_Formula_to_Replace_Spaces_with_Dashes.html
Using a Formula to Replace Spaces with Dashes (Microsoft Excel)
December 3, 2022 - If you need a formula to change spaces to some other character, the SUBSTITUTE function fits the bill. Here's how to use it.
๐ŸŒ
MrExcel
mrexcel.com โ€บ forums โ€บ question forums โ€บ excel questions
Replacing spaces with underscores in Excel 2013 macro | MrExcel Message Board
November 3, 2014 - It will read an underscore but not a space. I have seen the functions but I need the vba because the amount of sheets that get added in a work book are all different. Thanks Also I might have to email the workbook. ... Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average. ... Solved Replacing spaces with underscores in Excel 2013 macro Sweet the complex code did what I needed it to do.