+ Reply to Thread
Results 1 to 3 of 3

Simply forumla required - Replace text if another cell's content is present

  1. #1
    Registered User
    Join Date
    01-07-2013
    Location
    Brighton
    MS-Off Ver
    Excel 2007
    Posts
    3

    Simply forumla required - Replace text if another cell's content is present

    Hi all,

    I have a formula that I need creating and I would greatly appreciate some help.

    I have two columns with the following data (this is a simplistic version):

    abu dhabi transfers abu dhabi
    transfers tirana tirana
    transfers to vienna vienna
    transfers mandraki mandraki
    kos transfers kos
    kos port transfer kos port


    What I need is a formula that Puts a + sign immediately before the words in A1 that are in B1 (for example). So what I end up with is:

    +abu +dhabi transfers abu dhabi
    transfers +tirana tirana
    transfers to +vienna vienna
    transfers +mandraki mandraki
    +kos transfers kos
    +kos +port transfer kos port

    I would really appreciate some help and thanks and rep will be added.

    Thanks,

    Ryan.

  2. #2
    Registered User
    Join Date
    01-07-2013
    Location
    Brighton
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Simply forumla required - Replace text if another cell's content is present

    Sorry for the formatting...

    Before:

    Column A = abu dhabi transfers
    Column B = abu dhabi

    After

    Column A = +abu +dhabi transfers
    Column B = abu dhabi

  3. #3
    Forum Guru Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Simply forumla required - Replace text if another cell's content is present

    Use

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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