VLOOKUP AND ARRAY

WiscCard

New Member
Joined
Dec 14, 2005
Messages
45
I have searched the boards regaring what I believe I need, but am still running into trouble when trying to incorporate my names.
I know what I am trying to do would work in Access, but my data is too large to import as table to run a query.
I have Sheet 1 that contains the name and address of 65 thousand customers. Column A has the name and columns B-I have address date I need.
Now, I have Sheet 2 that just contains the names of 318 customers. I know those 318 customers are in Sheet 1. I run a vlookup comparing the names in Columns A and that tells me they match.
What I need is that if the vlookup returns a value (other than the #n/a) that it then put in the next columns the address information from sheet 1.
Is this possible?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
not sure I understand, but aren't you just wanting to return a certain column where the data matches?

=vlookup(a2,Sheet1!A2:I2000,3,false)
so this will return data from column C

if not could you post a small sample of your data with Colo utility found at the bottom of this post.
 
Upvote 0
The vlookup I have run tells me what matches:
=VLOOKUP(A2,Sheet1!$A$2:$A$65536,1,FALSE)
What I need is that if that returns a value (ie finds that name) that it then return in the sheet 2 columns all the date from Sheet 1 row columns B-I.
Sorry, I am having trouble getting Colo to work while I am at work.
 
Upvote 0
create a vlookup for each of those columns and use this
=VLOOKUP($A2,Sheet1!$A$2:$A$65536,column(b$2),FALSE)
so this you would put in column B, then copy across through column I and it will bring back the other columns of data
 
Upvote 0

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

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