• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

If column I,J,K are same then delete that complete row

Hi,
Code:
Sub belle()
Dim i As Long
For i = Cells(Rows.Count, 1).End(xlUp).Row To 1 Step -1
If Cells(i, 9) = Cells(i, 10) And Cells(i, 9) = Cells(i, 11) Then Cells(i, 1).EntireRow.Delete
Next i
End Sub
 
With small data, any way can well do the job.

But for big data, as using a loop is often the slowest way,
better is to use some Excel ways …
At middle speed level : filter & delete
At higher speed level : sort & clear rows at once.
As clearing a block of continuous rows is faster
than deleting non continuous rows …
 
Back
Top