Excel VLookup Results

ladybean

New Member
Joined
Jun 17, 2018
Messages
1
I have a spreadsheet with 13 columns and 900 rows (column 1 is zipcodes). I am trying to complete a vlookup that will look at the zip codes in row 14 (I added). Once I receive the matching zipcodes, I need to show the entire rows (Col 1 - Col 13) that has the matching zipcodes. Is vlookup what I should be using along with another formula or should I use another formula?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Index & Match is a much more flexible formula for lookup values, and VLOOKUP won't "look" left. I recommend converting your data to a table so that the formulas are dynamic as you add more zip codes etc.

Assuming that your lookup is on Sheet1 on your data is Sheet2, copy this across(A-M) and down as required;

Code:
=INDEX(Sheet2!A$2:A$900,MATCH(Sheet1!$N2,Sheet2!A$2:A$900,0))

I started on A2 just in case your first row has Column names.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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