+ Reply to Thread
Results 1 to 4 of 4

delete certain rows based on their partial cell content

  1. #1
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    delete certain rows based on their partial cell content

    Hi there, if anyone can help I am looking for a method to delete (Not filter) certain rows based on their partial cell content. If you look at column A in the attached sample I want to delete any row where the contents of the cell ends "A01". In this sample it should delete rows 5 and 7. Any help will be much appreciated
    Attached Files Attached Files
    Last edited by WasWodge; 01-30-2011 at 02:35 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: delete certain rows based on their partial cell content

    Use the filter facility

    Filter > Text Filters > Ends with A01

    Select the result and delete the rows

    Remove the filter.

    Hope this helps
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: delete certain rows based on their partial cell content

    Cheers Marcol,works perfectly on proper worksheet as well as sample. I didn't know that the end with function existed in filter so you do learn everyday. Now to ask the next question from the result in the programming forum............................

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: delete certain rows based on their partial cell content

    We all live and learn.

    Happy to have helped.

+ 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