Delete Row if value found from list of things to be removed

LittlegmoonBH

New Member
Joined
May 2, 2019
Messages
15
I’ve inherited a transactional database that’s causing meproblems as there’s no governance around changing things… Fix #1 I guess!

In the meantime, I’m trying to get a solution.

What I need to build is a macro that can pull downloadeddata into a new sheet (I’ve got this already)

It then works through a list of values that I do not wantincluding in that data set, for example:

Row 346 - Column E contains “Non Billable” I want the row to be deleted.I need to build a list of things that can’t appear in “column E” and thereneeds to be a loop that works through this list as it’ll change infrequently,but often enough not to want to hard code these things in.

In summary, I need to build a loop that works through a listof things I want to be deleted from a separate sheet containing approx. 10,000rows of data. The end result being the only lines of data I want to report on.

Has anybody got any suggestions?

 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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