I have a huge spreadsheet importing data from a text file (~60,000 rows of data). It is a lot of information that is recorded in real time and I need to delete rows that have erroneous values (negative, below or above a certain threshold). I need a quick way to process a large number of rows and delete all of the rows that I don't want based on the entered criteria.
Here is the VBA I have so far just for one criteria, but it's incredibly slow for a lot of rows already.
I attached an example spreadsheet. To explain the example...I need the VBA to check if the value of A30 is less than B16 or greater than C16, and if so, delete that row. Then move to the next criteria--if B30 is less than B17 or greater than C17, delete that row, etc. through all of the criteria. Then I need it to do the same thing for every row, leaving only the rows that meet all of the criteria.
Bookmarks