+ Reply to Thread
Results 1 to 2 of 2

Delete rows based on column data

  1. #1
    Registered User
    Join Date
    01-13-2015
    Location
    East Coast
    MS-Off Ver
    2010
    Posts
    1

    Delete rows based on column data

    I have a worksheet with 38,000 rows and 16 columns. I'm trying to write something where when the number (excluding blanks and the number 0.00) in column G matches Column H that it will recognize it and then delete both rows. Any help would be greatly appreciated? As a side note the duplicates it's search for is comparing column G and H. Therefore if for example a number is in column G once and column H fifty times, it will only delete the two rows. Meaning that the ending result would be the number is no longer in column G and appears in column H 49 times since is only appeared once in column G. I hope this helps.
    Attached Files Attached Files
    Last edited by Atthebeginning; 01-14-2015 at 11:20 AM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Delete rows based on column data

    Hi Atthebeggining

    Welcome to the Forum!!!

    Please include an example of this in your File attachment...
    for example a number is in column G once and column H fifty times, it will only delete the two rows. Meaning that the ending result would be the number is no longer in column G and appears in column H 49 times since is only appeared once in column G
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. [SOLVED] delete rows based on column contents (new)
    By wingfield65 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-16-2014, 09:00 PM
  2. Replies: 8
    Last Post: 08-08-2013, 08:45 AM
  3. [SOLVED] Delete rows based on value of column
    By ROHAN999 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-02-2013, 05:30 AM
  4. Macro to delete certain columns and delete rows based on time in another column
    By beepbeep27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2012, 11:47 AM
  5. Delete rows based on column value
    By kamalthakur in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2010, 07:47 AM

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