+ Reply to Thread
Results 1 to 4 of 4

Find function or method to delete rows

  1. #1
    Registered User
    Join Date
    02-04-2021
    Location
    Csatar
    MS-Off Ver
    Microsoft Office Professional Plus 2024 MSO (2410 build version16.0.18129.20100)
    Posts
    30

    Find function or method to delete rows

    Hi, I am looking for a function that compares the range A:A of the 'From' worksheet with the same range of the 'To' worksheet. And delete the rows in the 'to' worksheet that are not in the 'From' worksheet.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2411
    Posts
    272

    Re: Find function or method to delete rows

    Please try this method.
    C3 cell in the 'to' sheet, input this formula and copy down.
    Filter this sheet, and select 'Delete' value in the "C" column, and select all rows filtered, delete all.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    You made my day!

  3. #3
    Registered User
    Join Date
    02-04-2021
    Location
    Csatar
    MS-Off Ver
    Microsoft Office Professional Plus 2024 MSO (2410 build version16.0.18129.20100)
    Posts
    30

    Re: Find function or method to delete rows

    It does not do that. The value in column A next to Delete is in the From table. The formula is good just always check one row up. Also, if I delete these rows then the formula, again, marks rows with Delete
    Last edited by pozso123; 11-25-2024 at 08:48 AM.

  4. #4
    Forum Contributor
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2411
    Posts
    272

    Re: Find function or method to delete rows

    Please check this file, I deleted that rows.
    Attached Files Attached Files

+ 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. Replies: 5
    Last Post: 06-15-2018, 02:02 PM
  2. Deleting rows in table give me run time error delete method of range class failed
    By jhuvba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-17-2015, 04:37 PM
  3. Macro To Find Rows With Duplicates, Compare Cells, And Delete Rows. - Excel
    By Kwame001 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-26-2013, 10:41 AM
  4. Replies: 4
    Last Post: 09-18-2012, 10:54 AM
  5. method 'range' of object '_global' failed - find function sometimes fails?
    By n1210933 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-06-2010, 06:17 AM
  6. Method to find discrepancy in sumif function
    By mingali in forum Excel General
    Replies: 1
    Last Post: 09-05-2009, 02:19 PM
  7. Replies: 3
    Last Post: 08-09-2009, 07:48 AM

Tags for this Thread

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