+ Reply to Thread
Results 1 to 4 of 4

Macro to delete rows with conditions

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Houston, Tx
    MS-Off Ver
    Excel 2013
    Posts
    43

    Macro to delete rows with conditions

    Hi!

    I need to do two different things:

    -Where capacity and headcount equal 0 in the same row I want to delete the entire row.
    -When an email address is duplicated only keep the first row and delete the other rows regardless of what's in the other cells of the duplicated rows.(the other cells in the row may have different data so, the entire row may not be the same it's just the same email)

    I would also like to run them in order not at the same time. So the first bullet will run and then the second bullet will run.

    Attached is a sample of my data.

    I appreciate any help. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to delete rows with conditions

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to delete rows with conditions

    Or

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    .
    Last edited by AB33; 12-04-2012 at 02:08 PM.

  4. #4
    Registered User
    Join Date
    10-08-2012
    Location
    Houston, Tx
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: Macro to delete rows with conditions

    Thank you so much! I will definitely give this a try today.

+ 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