+ Reply to Thread
Results 1 to 5 of 5

How to insert + sign in front of every word =Substitute(A3," "," +")

  1. #1
    Registered User
    Join Date
    03-16-2013
    Location
    Denver, Colorado
    MS-Off Ver
    Excel Starter 2010
    Posts
    2

    Smile How to insert + sign in front of every word =Substitute(A3," "," +")

    Hello,

    I hope that you are doing well, and thank you for viewing my question. I hope that you can assist with this question.


    DESCRIPTION OF PROBLEM

    Right now I am using the formula =Substitute(A3," "," +") to insert a + sign in front of every word. This formula is great, but there is one thing that it does not do so well, this formula does not insert the + sign in front of the first word.

    So for example if there is a phrase like THIS FORUM IS AWESOME using the above formula will give you this result THIS +FORUM +IS +AWESOME

    SOLUTION BEING SOUGHT

    I would like to know what formula/function I can use so that every word including the first word in a phrase has the + sign .

    Thank you for your help!

    Sincerely,
    Inayet

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: How to insert + sign in front of every word =Substitute(A3," "," +")

    the easiest way I can think of is:
    ="+"&SUBSTITUTE(A3," "," +")
    or
    =SUBSTITUTE(" "&A3," "," +")

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to insert + sign in front of every word =Substitute(A3," "," +")

    =substitute(" "&a3," "," +")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    03-16-2013
    Location
    Denver, Colorado
    MS-Off Ver
    Excel Starter 2010
    Posts
    2

    Thumbs up Re: How to insert + sign in front of every word =Substitute(A3," "," +")

    Thank you martindwilson and dredwolf for your replies. I really appreciate it, this is great.

    I tried the following function =substitute(" "&a3," "," +") to solve my problem and it worked.

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: How to insert + sign in front of every word =Substitute(A3," "," +")

    Thank you for the feedback, glad that our solutions worked for you!

    Please remember to mark the thread as solved if you are satisfied with your solution :
    To mark thread "Solved", go to the top of the thread,click "Thread Tools",click "Mark as Solved"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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