Zip Code Range Lookup, Please help!

ryan13love

New Member
Joined
Nov 21, 2007
Messages
10
I have a spreadsheet of data that is tied to zip codes. I have another spreadsheet that contains ranges of zip codes (in separate cells) with values associated to each zip code range. I would like to create a formula to lookup the zip code in the first spreadsheet in the ranges of the second spreadsheet and tell me the associated value. Here is my example.....

Spreadsheet 1: Zip Code: 44092

Spreadsheet 2:
Beginning Value (in only one cell): 44000
Ending Value (in only one cell): 44100
Value of Range: 5

What formula would return the value "5"?

I have a ton of data to this for. Thanks for the help!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Do you have two seperate Workbooks
or
One Workbook with two sep Worksheets
 
Upvote 0
Is this what you mean?
Excel Workbook
AB
1ZipLookUp value
2440925
3440870
44409811
Sheet1
Excel 2007
Cell Formulas
RangeFormula
B2=VLOOKUP(A2,Sheet2!A1:B15,2,FALSE)
Excel Workbook
AB
1zipvalue
244085-2
344086-1
4440870
5440881
6440892
7440903
8440914
9440925
10440936
11440947
12440958
13440969
144409710
154409811
Sheet2
Excel 2007
 
Upvote 0
First Tab

Column A Column B Column C Column D
orginal zip code destination zip code zone code What the code should be
54901 54904 ? (looking up) A
54901 73708 ? (looking up) B

Second Tab
Column A Column B Column C
Zip Code Start Zip Code End Code
54900 55000 A
55001 55100
55101 55200
55201 55300
55301 55400
55401 55500
73501 73600
73601 73700
73701 73800 B
 
Upvote 0

Forum statistics

Threads
1,224,575
Messages
6,179,637
Members
452,934
Latest member
Jdsonne31

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