+ Reply to Thread
Results 1 to 10 of 10

Add a character before each word in a cell

  1. #1
    Registered User
    Join Date
    12-29-2010
    Location
    Boulder, CO
    MS-Off Ver
    Excel 2008 Mac
    Posts
    1

    Smile Add a character before each word in a cell

    Hi, I would like to add a "+" sign before each word within a bunch of cells. How would I be able to do this with a formula? Should I split up the cell into its component words somehow, then add the +, then concatenate them together? Any help would be appreciated. Looking to do this for an Adwords account to turn keywords into modified broad match keywords.

    Thanks much.

    Jim

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Add a character before each word in a cell

    Hi jas 225 and welcome to the forum.

    Could you use the Replace function and replace each space with " +"?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Add a character before each word in a cell

    Can you post some sample cells and what you want the result to be?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Add a character before each word in a cell

    Try this demo workbook
    In B1
    Please Login or Register  to view this content.
    Is that what you mean?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-26-2014
    Location
    San Diego, California, United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Add a character before each word in a cell

    This helped a ton. But you would really want
    Please Login or Register  to view this content.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Add a character before each word in a cell

    wfoody, this thread is over 3 years old, I doubt the OP is still monitotring it now.

    Good catch though, if they had wanted to add + before the 1st word
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    02-15-2017
    Location
    Salt Lake City
    MS-Off Ver
    2016
    Posts
    1

    Re: Add a character before each word in a cell

    Quote Originally Posted by wfoody View Post
    This helped a ton. But you would really want
    Please Login or Register  to view this content.
    Amazing. Thanks. I just used this in an excel sheet. Probably saved me hours of legwork. THANK YOU! THANK YOU! THANK YOU!

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Add a character before each word in a cell

    David, thanks for the feedback on this, Im happy that it was able to help you

  9. #9
    Registered User
    Join Date
    08-07-2018
    Location
    Guimarães
    MS-Off Ver
    10
    Posts
    1

    Re: Add a character before each word in a cell

    Hello guys.

    I know this is an old thread but I'm looking exactly for this.
    I tried your suggestions but it didn't work.

    Something changed?

    Thanks

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Add a character before each word in a cell

    seogmr welcome to the forum

    As I said in post #Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1