Results 1 to 10 of 30

Thread: Delete rows based on match criteria in two excel files, 1 might be .csv file .Opened in Excel=Fail Chaos

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #25
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    10,457
    Rep Power
    10

    If condition match then delete entire row by vba else do nothing

    Here we go again recycle another cycle


    https://www.excelforum.com/excel-pro...o-nothing.html

    Quote Originally Posted by MollyBread
    Hi Experts,

    I am looking for a macro details are mentioned below & plz see the sample file

    Thnx For the Help

    If column J has BUY then compare column K with column with column H & if column K is Greater than column H then do nothing else delete entire row
    If column J has SELL then compare column K with column with column H & if column K is smaller than column H then do nothing else delete entire row
    If column J has DELETE then delete entire row by vba
    Last edited by DocAElstein; 07-09-2020 at 10:55 PM.

Similar Threads

  1. Delete One Row From A 2D Variant Array
    By Rick Rothstein in forum Rick Rothstein's Corner
    Replies: 18
    Last Post: 02-23-2020, 03:10 PM
  2. Replies: 6
    Last Post: 03-26-2014, 03:04 PM
  3. Replies: 1
    Last Post: 02-25-2014, 10:55 PM
  4. Delte a specific column and does not delete the top row
    By jffryjsphbyn in forum Excel Help
    Replies: 1
    Last Post: 06-13-2013, 02:00 PM
  5. Replies: 4
    Last Post: 03-22-2013, 01:47 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •