zip code to certain sale tax rate

fidifl

New Member
Joined
Jul 14, 2011
Messages
1
I'm very new to this forum and to Excel also. Forgive me and move this thread to proper location if it is misplaced.
My goal is prepare the invoice to be determining tax rate in cell B35 on basis of zip code which is in cell A13 ;3rd line of address with zip code (City, ST 00000)
Example:
If A13 (City, ST 00000) contain number from column G (list of zip codes for County XXX (28 zip codes G1-G28)) tax rate in cell B35 is 6.5%.
AND
If A13 (City, ST 00000) contain number from column H (list of zip codes for County YYY (29 zip codes H1-H29)) tax rate in cell B35 is 7%

I'll be thankful for any answer or help.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
I'm not from the states so know little of zip codes.
Does a zip code contain county information (the first 2 characters?)
Is the tax rate county based, therefore all zip codes in a county have the same tax rate?
Just trying to simplify by only looking for the county aspect of the zip code, if such exists.
 
Upvote 0
I'm from the Midwest (US) and our tax rates are not the same for every city in a given county. Perhaps your state is different. Anyway, rather than having a different table for each county, I would just put all of your tax rate data into one table and use the vlookup formula.

From your post, it seems that the zip code is in the same cell as the city and state. I used the RIGHT formula to extract just the zip code to look it up in the tax table. (I assume your data does not also include the zip plus four format. .. i.e. #####-####.) If it does, then my approach would need to be modified.

Obviously, you will need to modify your tax table range within the formula. If you get a zip code not in the table, it will return an #N/A. If that happens, simply just look up the rate for that zip code and add it to the table. In the Midwest, our tax rates can change quarterly so updating the table might be a pain. Perhaps your state's web site has a downloadable table that you can copy/paste into your invoice program when the rates change.

Hope this helps...
Book1
ABCDEFG
7InvoiceTaxTable
811111CountyA6.5%
911112CountyA6.5%
1011113CountyA6.5%
11JohnDoe11114CountyA6.5%
121234ElmStreet11115CountyA6.5%
13City,ST1111811116CountyA6.5%
1411117CountyB7.0%
15TaxRate7.0%11118CountyB7.0%
1611119CountyB7.0%
1711120CountyB7.0%
1811121CountyB7.0%
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,706
Members
452,939
Latest member
WCrawford

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