+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Find conents from one cell and delete from another cell

  1. #1
    Registered User
    Join Date
    06-10-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    3

    Find conents from one cell and delete from another cell

    Hello everyone,

    I hope someone can help me.

    I just want to find the value in one cell, search and find that value in another cell and delete that value from the text in that cell.

    Example:

    Cell A Contains:
    884922

    Cell D Contains
    ISO Certified 884922 Black Copier Cartridge compatible with the Gestetner DSM 735E,745E/ Lanier LD-040,LD-050,LD-335,LD-345/ Ricoh MP3500,MP4000,MP4500,MP5000 Series/ Savin 8035E,8045E,9040,9050. The use of compatible supplies does not void your printer warranty. Gestetner DSm735, Gestetner DSm745, Lanier LD040, Lanier LD050, Lanier LD335, Lanier LD345, Ricoh Aficio MP 4000, Ricoh Aficio MP 4500, Ricoh Aficio MP 4500, Ricoh Aficio MP 5000, Savin 8035e, Savin 8045e, Savin 9040, Savin 9050,

    I want to delete 884922 from the text string in cell D.

    Any help is GREATLY appreciated!!

  2. #2
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Find conents from one cell and delete from another cell

    Hello, you cannot use a formula to change the value of another cell. That would require VBA. But you can use a formula to show the result in a different cell.

    For example, in cell E1 use this formula

    =SUBSTITUTE(D1,A1,"")

    The result is the text with the number removed. You can now copy the result and use Paste Special > Values to replace the original text.
    Like a post? Click the star below it!

  3. #3
    Registered User
    Join Date
    06-10-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Find conents from one cell and delete from another cell

    Excellent!! Got it. Thank you very much for your help!!

  4. #4
    Registered User
    Join Date
    02-28-2012
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Find conents from one cell and delete from another cell

    What is wrong with using Ctrl F to find and replace...at least it modifies the live text without having to recopy and paste.......

  5. #5
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Find conents from one cell and delete from another cell

    Skidder, I assume that the original file has hundreds of rows and the value to be removed from each row differs. That value lives in column A. Using Find/Replace will make sense, unless there are hundreds of different values to be replaced. In that case, a formula approach would be faster.

  6. #6
    Registered User
    Join Date
    06-10-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Find conents from one cell and delete from another cell

    Quote Originally Posted by npamcpp View Post
    Skidder, I assume that the original file has hundreds of rows and the value to be removed from each row differs. That value lives in column A. Using Find/Replace will make sense, unless there are hundreds of different values to be replaced. In that case, a formula approach would be faster.
    That is correct....different value for each cell.....too many different values for CTL F

+ 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