+ Reply to Thread
Results 1 to 9 of 9

Deleting Multiple Rows based on Cell Content

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Dominican Republic
    MS-Off Ver
    Excel 2007
    Posts
    9

    Deleting Multiple Rows based on Cell Content

    Hi,

    I have been banging my head for a few hours. I am your average Excel user and I need to delete multiple rows in one shot by using content in a cell as an identifier. See example attached. I have used safe data with similar fields to play with. The real file has about 7K rows and I need to be able to delete 5K. For example, If I need to delete Pollo Loco, Gaucho Conciente and Res all in one shot, is there a formula or script that can be ran? My original list of clients has over 55.

    I really need all the help I can get!
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Deleting Multiple Rows based on Cell Content

    Give this a try.


    Please Login or Register  to view this content.
    Edit: Create your list of clients to delete on another sheet Column A starting in row 2
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    09-21-2012
    Location
    Dominican Republic
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Deleting Multiple Rows based on Cell Content

    Thanks Mike!

    I tried running but I did not see any changes reflect on the work sheet. Am I doing something wrong? See below:

    Please Login or Register  to view this content.
    Last edited by Cutter; 09-23-2012 at 12:42 PM. Reason: Added code tags

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Deleting Multiple Rows based on Cell Content

    What Column is your clients in on the raw sheet. In your example It was Column B.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-21-2012
    Location
    Dominican Republic
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Deleting Multiple Rows based on Cell Content

    They are on column B. I have them listed as Bus Part though in the actual document.

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Deleting Multiple Rows based on Cell Content

    @ pdreyest

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at the top of the page and read Rule #3.
    Thanks.

  7. #7
    Registered User
    Join Date
    09-21-2012
    Location
    Dominican Republic
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Deleting Multiple Rows based on Cell Content

    @ cutter

    Thanks for the feedback. Will keep in mind.

  8. #8
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Deleting Multiple Rows based on Cell Content

    They are on column B
    Then What column needs to be Column B not A
    Please Login or Register  to view this content.
    I have them listed as Bus Part though in the actual document.
    Whats Bus Part??

  9. #9
    Registered User
    Join Date
    09-21-2012
    Location
    Dominican Republic
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Deleting Multiple Rows based on Cell Content

    @Mike7592

    Worked like a charm. Thanks so much for your help!!!

    Bus Part is the nomenclature of each client in our systems.

+ 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