Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default New to VLOOKUP ...merge addresses?

A lot depends on how you have that second sheet set up.

To work, first the names on the two sheets must match up exactly with
regards to spelling and punctuation.

On the second sheet, the names must be in the leftmost column of a 'table'
that the VLOOKUP() will reference.

For example's sake, I'm going to assume your second table looks something
like this:
A B C D E
1 name street city state zip code

and we will say that the name of that 2nd sheet is Sheet2, and that the
table goes down to row 300

on the first sheet, your names are in column A also (don't have to be), and
you want to return all of the related address for each entry, and they begin
on row 2.

In b2 enter formula =VLOOKUP(A2,'Sheet2'!$A$1:$E$300,2,False)
in c2 enter formula =VLOOKUP(A2,'Sheet2'!$A$1:$E$300,3,False)
in d2 enter formula =VLOOKUP(A2,'Sheet2'!$A$1:$E$300,4,False)
and finally,
in e2 enter formula =VLOOKUP(A2,'Sheet2'!$A$1:$E$300,5,False)

You can now fill those formulas down to the end of the list of names on the
first sheet and you'll get the information from the second one. If a name on
the first sheet (one with the formulas) does not match any name on the second
sheet you will get #N/A as the result. You could prevent that by modifying
the formulas like this (one for B2 shown)
=IF(ISNA(VLOOKUP(A2,'Sheet2'!$A$1:$E$300,2,False)) ,"No
Match",VLOOKUP(A2,'Sheet2'!$A$1:$E$300,2,False))
Remember that the formula is entered all in one line, not split like the
system here probably has done to it.






"JLH" wrote:

Hello,
Most of you will find this way too EZ...but I am new to this...please help!
I have a list of names on one spreadsheet and three times as many addresses
and names on the other one. How can I use vlookup to match the names on my
first worksheet and populate only the addresses I need?
--
JLH

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I merge a list of email addresses from exel into outlook? MDuda New Users to Excel 1 September 10th 09 07:37 PM
How to merge email addresses in excel with a document and send it? kjfussell Excel Discussion (Misc queries) 2 January 21st 09 10:29 PM
merge a wordfile of names & addresses to an excel separate cells John Excel Worksheet Functions 1 April 6th 07 09:22 PM
Can I merge addresses from one excel worksheet to another? Jennifer Excel Worksheet Functions 1 July 25th 06 07:52 PM
delete multiple addresses in excel before mail merge dacook4usn Excel Discussion (Misc queries) 0 February 21st 06 09:49 PM


All times are GMT +1. The time now is 09:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"