I have a list of club members with their address and post (zip) codes.
I would like to be able to extract data that lies between 2250 and 2420 zip codes inclusive.
Thanks in advance
You would need to look at creating a query to fulfill this if you want to keep a list.
Create New Query Design View > Select Table and then Fields > In Zip Code Criteria (Below tick box) add in this Between "2250" And "2420"
Sample SQL statement shows this, I have used the Northwind Traders sample database
SELECT Customers.CompanyName, Customers.City, Customers.Region, Customers.PostalCode, Customers.Country
FROM Customers
WHERE (((Customers.PostalCode) Between "2250" And "2420") AND ((Customers.Country)="usa"));
If those are actually US zipcodes you should have the field defined as text, that way you will not lose the leading zero. If not US just ignore this message.
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.