delete rows if

  1. F

    Deleting Rows In a Table Based on Data From Another Worksheet

    I have a file with three worksheets. Sheet1 is a summary of all clients. Sheet2 has a table that copies only clients with "active" status from Sheet1, Sheet3 has a table that copies only clients with "buyer" status from Sheet1. Is it possible to write a vba code that will delete rows from...
  2. G

    Delete rows if (certain value) exists in data set.

    Hello, I've been trying to delete rows in my data set that contain the following keyword "lename" This is the following script I found and the following error Script : Sub Delete_All_Rows_IF_Cell_Contains_Certain_String_Text() Dim lRow As Long Dim iCntr As Long lRow = 150000...
  3. O

    Delete Row if It Equals "Delete"

    Hello and thanks in advance for your help and if it works, I will provide feedback. I'm trying to delete the rows if the value in the cell in Column B is equal to delete, but I'm getting an error on " If Cells(i, 2).Value = "Delete" Then Cells(i, 2).EntireRow.Delete" Here is the code. Sub...
  4. H

    Filtering data based on two criteria's and then deleting those rows

    Hi all, I'm searching for a macro wherein i can filter up to 5000 rows of data based on two conditions and then delete the filtered rows. An example of what I'm trying to do is as follows: A sample of my data looks like this: ColA ColB ColC...
  5. M

    Delete rows based on duplicated values

    Hi, I'm a little stuck!! I would like to delete rows based on duplicated text values (names) in column B. The end result would show all individual rows in the spreadsheet with no duplications in column B.
  6. svendiamond

    Delete Rows If Cell Equals...

    I apologize in advance because I know this question has been asked here before. I've been Googling and looking through various posts of people with a similar problem and I still can't seem to get my code to work. I am just trying to delete all rows that have a certain value in column "D" Let's...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top