Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to add hyphen between words in Excel?

doc add hyphen 1
Generally, we use space to separate words in Excel, but now I want to add hyphen symbols between words instead of spaces as below screenshot shown. How can you quickly handle it without removing and adding one by one manually?
Add hyphen between words by Text to Column and formula

Add hyphen between words by Find and Replace

Add hyphen between words by Kutools for Excel good idea3

Add Text (add character/word to a specific location of each cell in a range.)

doc add text 6

The Text to Column function can separate the words into column based on space, and then you can use a formula to combine them with hyphen again.

1. Select the data list you want to add hyphens, and click Data > Text to Columns. See screenshot:
doc add hyphen 2

2. In the first step of Convert Text to Columns wizard, check Delimited option, and click Next > to step 2 of the Wizard, and check Space option under Delimiters section. See screenshot:
doc add hyphen 3

3. Click Next > to go the last step of the Wizard, select a cell to place the split data in Destination textbox. See screenshot:
doc add hyphen 4

4. Click Finish. Now the data list has been split into columns, and select a blank cell next to the split data, and enter this formula =C1&"-"&D1 (C1 and D1 is the split data), and then drag auto fill handle down to over the cell needed to apply this formula. See screenshot:
doc add hyphen 5

Actually, the Find and Replace function also can quickly replace spaces with hyphen.

1. Select the data you want to add hyphen symbols, and press Ctrl + H keys simultaneously to open the Find and Replace dialog.

2. In the Find and Replace dialog, under Replace tab, enter a space by space bar to the Find what textbox, and type a hyphen symbol to the Replace with textbox. See screenshot:
doc add hyphen 6

3. Click Replace All. A dialog pops out to remind you how many cells have been replaced successfully, please click the OK to close it. So far, all spaces have been replaced with hyphen in the selection. See screenshot:
doc add hyphen 7

4. Close the Find and Replace dialog.

If in some times, there is nothing to separate the words, how can you quickly add hyphen between words?
doc add hyphen 8

With Kutools for Excel, you can use its Add Text to add hyphen symbol to the front of every uppercase character, and then apply the Remove by Position to remove first hyphen.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

1. Select the data you want to add hyphen, and click Kutools > Text > Add Text. See screenshot:
doc add hyphen 9

2. In the Add Text dialog, enter into Text box, and then check Only add to option, and select 1st letter is uppercase from the drop down list. See screenshot:
doc add hyphen 10

3. Click Ok, and the front of each uppercase character has been added hyphen symbol, and click Kutools > Text > Remove by Position. See screenshot:
doc add hyphen 11

4. In the Remove by Position dialog, enter 1 into Numbers textbox, and check From left under Position section. See screenshot:
doc add hyphen 12

5. Click Ok, now the hyphen only be added between Words.
doc add hyphen 13

Kutools for Excel: 300 + functions you must have in Excel, 60-day free trial from here

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.