I have a list of addresses from which I need to exclude those from about 20 ZIP Codes. Is it posible to use the AutoFilter Criteria1 for that purpose. Perhaps an Array of NOT included ZIPcodes?
If not, are there any other suggestions?
Thanks,
Frank
I have a list of addresses from which I need to exclude those from about 20 ZIP Codes. Is it posible to use the AutoFilter Criteria1 for that purpose. Perhaps an Array of NOT included ZIPcodes?
If not, are there any other suggestions?
Thanks,
Frank
No, you can only filter 2 not equal criteria using AutoFilter.
The alternative is to use VBA to simulate autofilter to hide rows; using this method, you can have unlimited not equal criteria.
I'm interested in starting a career working with VBA, if anyone knows of any opportunities!
Use a blank column next to your data and put a formula in there which looks to see if the zip code on a particular row is one of your group to be ignored, e.g. with a formula like this in row 2:
=IF(ISNUMBER(MATCH(D2,$X$1:$X$20,0)),"ignore","okay")
where column D contains the zip codes for your addresses and X1:X20 contains the zip codes to be excluded. Copy this down, then filter on this column and select "okay".
Hope this helps.
Pete
Maybe look into advanced filter. Look my example in the attachment.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks