Remove rows based on contents of column

OCTANE

New Member
Joined
Sep 13, 2011
Messages
1
Hi,


I've been looking at this fourm for a while now getting little hints and tips on how to do alot of my work, however, i now need help that i cant find in the fourm.

I am able to generate reports to excell as raw data which i need to import into access, however, i need to remove alot of the useless info that i dont need as well as split some of the fields to import to access properrly. I need a macro/VBA code that can run and find X in column A and if it does not appear in column A, then delete the entire row. Just to make it a little harder, I need access to automatically do this for me as new reports will be generated weekly and replace the exsisting report.

The main thing I need is to remove the useless data. (i.e. the rows that don't have X in column A)

Thanks in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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