+ Reply to Thread
Results 1 to 3 of 3

Find and replace with adjacent cell value.

  1. #1
    Registered User
    Join Date
    02-28-2014
    Location
    australia
    MS-Off Ver
    2007
    Posts
    10

    Find and replace with adjacent cell value.

    Hi guys,

    I am seeking a help to search a variable in column A and Replace that variable only with the adjacent value of Column B.

    In the attached file, there are common variable i.e. $title in Column A from A1:A10 ,
    I want to replace $title var in Cell A1 with adjacent value in Cell B1, $title in A2 with value in cell B2 and so on....$title in cell A10 with value in cell B10.

    Please note that i just want to replace value of var $title with adjacent cell B value but not the whole cell itself.


    Thanks for the help.
    Attached Files Attached Files

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Find and replace with adjacent cell value.

    Hi,

    I fear that it may not be as simple as this, but you can achieve the desired result by entering in cell C1,

    =SUBSTITUTE(B1,"$title",A1)

    and copying down.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Find and replace with adjacent cell value.

    Try

    =SUBSTITUTE(B1,"$title",A1)
    Click just below left if it helps, Boo?ath?

+ 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] Macro to find duplicate value and replace adjacent cell with different value
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2014, 09:52 AM
  2. Macro to find all specific values in column and replace adjacent cell values
    By dblock02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2013, 06:03 AM
  3. Find String and Replace With Adjacent Cell
    By Steve0492 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2012, 05:19 PM
  4. find and replace - based on 3 character in adjacent cell
    By isabella in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-24-2010, 08:51 PM
  5. Find, Replace with and then replace adjacent cell
    By Craig2097 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2009, 12:42 PM

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