+ Reply to Thread
Results 1 to 3 of 3

Insert a symbol before the final word of a string

  1. #1
    Registered User
    Join Date
    06-07-2016
    Location
    Richmond, VA
    MS-Off Ver
    365 Apps for business
    Posts
    82

    Insert a symbol before the final word of a string

    I need to insert a symbol before the final word of a set of strings.

    For example:
    Old - The Big Brown Fox
    New - The Big Brown +Fox

    Old - The Very Big Brown Bear
    New - The Very Big Brown +Bear

    Could someone help with this please?

    Thanks

  2. #2
    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,933

    Re: Insert a symbol before the final word of a string

    If you want this in the same cell, you may need VBA for that (cant have a formula AND an entry in the same cell)

    If this is going into an adjacent cell, then try this...
    =SUBSTITUTE(F1," "," +",LEN(F1)-LEN(SUBSTITUTE(F1," ","")))
    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

  3. #3
    Registered User
    Join Date
    06-07-2016
    Location
    Richmond, VA
    MS-Off Ver
    365 Apps for business
    Posts
    82

    Re: Insert a symbol before the final word of a string

    That worked, thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Move final word in cell to the next column
    By researchass in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2014, 05:04 PM
  2. [SOLVED] How to conditionally insert text string into a line after first word using Word 2010
    By staggers47 in forum Word Formatting & General
    Replies: 5
    Last Post: 12-08-2012, 11:07 AM
  3. Finding the final occurence of a space in a string
    By barts185 in forum Excel General
    Replies: 2
    Last Post: 01-12-2012, 09:06 PM
  4. Insert Character/Symbol At The Start of Each Word
    By byepeeps in forum Excel General
    Replies: 2
    Last Post: 06-08-2010, 12:50 PM
  5. Finding the final word in a string
    By IainT in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-01-2007, 08:12 AM
  6. Replies: 2
    Last Post: 05-02-2005, 08:06 PM
  7. [SOLVED] Excel should have the same Insert Symbol feature as Word.
    By KKilpatrick in forum Excel General
    Replies: 5
    Last Post: 04-14-2005, 01:15 AM

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