Add a specific character before each word in a cell

Supposing you would like to add a certain character before each word in a cell, how would you achieve it with formula in Excel? Actually, you can use a combination of the & operator and the SUBSTITUTE function to add character before each word in a cell.


How to add a specific character before each word in a cell In Excel?

Assuming that you would like to add a plus "+" sign before each word within a bunch of cells in column B as the below screenshot shown, you can do as follows step by step to achieve it.

Generic formula

="Character"&SUBSTITUTE(text, " "," Character")

Arguments

Character: The character you will add before each word;

Text: The text you will add character to. It can be:

  • The word enclosed in quotation marks;
  • Or a reference to a cell containing the text.

How to use the formula?

1. Select a blank cell to output the result. In this case, I select D3.

2. Enter the below formula into it and press the Enter key to get the result. And then drag the cell with this formula all the way down to apply it to other cells. See screenshot:

="+"&SUBSTITUTE(B3, " "," +")

Notes:

  • 1. In this formula, "+" is the character you will add before each word in B5. Please change them based on your needs.
  • 2. If the text string In B5 are separated by other specific character, such as comma, dash, etc., you need to change the second argument in the SUBSTITUTE function to the corresponding character.

How this formula works?

="+"&SUBSTITUTE(B3, " "," +")

  • 1. SUBSTITUTE(B3, " "," +"): The SUBSTITUTE function replaces a space within text string "Excel addin" with " +". Here the result is "Excel +addin".
  • 2. "+"&"Excel +addin": And then use the & operator to concatenate a plus sign before the first word and returns the result as +Excel +addin.

Related Functions

Excel SUBSTITUTE function
The Excel SUBSTITUTE function replaces text or characters within a text string with another text or characters.


Related Formulas

Add comma after first word in a cell in Excel
To add a comma after the first word only in a cell, the formula in this tutorial can do you a favor.

Separate numbers from units of measurement
This article explains how to use formula to separate numbers from unites of measurement.

Split text and numbers in a cell in Excel
If you want to split text and numbers in a cell into different column cells with formulas, this formula tutorial will do you a favor.

Split Text String At Specific Character In A Cell In Excel
This tutorial explains how to split texts string at a specific character into separate column cells with formulas in Excel.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)

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.