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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi there,

Have a look at Fluff's and my solution to FryGirl's thread here which is similar in nature.

HTH

Robert
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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