+ Reply to Thread
Results 1 to 3 of 3

How to remove a word from each row based on the value in a corresponding cell

  1. #1
    Registered User
    Join Date
    05-20-2012
    Location
    OMAN
    MS-Off Ver
    Excel 2019
    Posts
    80

    How to remove a word from each row based on the value in a corresponding cell

    Dear Friends I am not sure if the title is clear..I have an excel sheet with 1000s of rows and some rows have value starting with "LFT" and I have extracted the same using TRIM function (with help from google) and placed in another column.My intention was not to extract the word but to remove it entirely.So I am attaching an excel sheet and I need to remove the value mentioned in cell H2 from the cell C2.

    Please let me know how to do it.
    Last edited by renjithvakkayil; 01-24-2021 at 04:37 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,959

    Re: How to remove a word from each row based on the value in a corresponding cell

    2300 rows... Quite a sample. We only need 10-20. Manual checking becomes impossible with thta number. So, this is NOT checked... You can do that bit...

    =IFERROR(REPLACE(F8,SEARCH("LFT",F8),16,""),F8)

    since you have Excel 2007, do you really need backwards compatability with the obsolete Excel 2003 format (.xls). I have saved the fle as .xlsx.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    05-20-2012
    Location
    OMAN
    MS-Off Ver
    Excel 2019
    Posts
    80

    Re: How to remove a word from each row based on the value in a corresponding cell

    Sorry for the delay and thanks for the help..Will check and update you.

+ 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. Remove rows based on word in column
    By wonderd in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 06-06-2016, 05:55 PM
  2. Remove rows based on word in column
    By wonderd in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-05-2016, 11:59 PM
  3. [SOLVED] how do I remove all information after the word Appt in a cell?
    By melly in forum Excel General
    Replies: 5
    Last Post: 06-08-2012, 12:43 PM
  4. Need a macro to extarct and remove 1 word in a cell
    By DonAx in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-27-2012, 09:56 AM
  5. How Do I Remove The Last Word From a Cell?
    By Ocean Zhang in forum Excel General
    Replies: 5
    Last Post: 06-25-2011, 08:05 AM
  6. [SOLVED] Remove 0D0A from cell with word
    By Mariusz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-06-2006, 11:25 AM
  7. Replies: 7
    Last Post: 02-20-2006, 12:10 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