![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
Hi, I am busy for some time to get the following result; I have two sheets, one is for example with names and email adresses, the other one is with the same names but without emailadresses. How can I create a column where i can put the correct email adresses in the same row as the name which is corresponding with the emailadress in the second sheet. For example sheet 1;
name email justaname justaname@some.com The second sheet is the same but in the second column there is no emailadress, the data is in sheet one, how can i match with the correct names and put the emailadr in ? Thanks very much in advance, Raymond |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Have a look at the VLOOKUP worksheet function.
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
Hi,
I tried already but it comes up with the wrong data, probably I did something wrong but the question is what ? Thanks anyway for your reply. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
The odds are that you're not using FALSE as the 4th (Optional) argument of VLOOKUP.
The formula should look like =VLOOKUP(A2,Sheet2!Rangeofmails,2,FALSE) or =VLOOKUP(A2,Sheet2!Rangeofmails,2,0) |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
|
|
#7 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
Hi,
I did the VLookup function, I need to try the second suggestion, thanks all for the help, i will let you know the result... |
|
|
|
|
|
#8 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
The problem is solved, thanks all for help !
Raymond |
|
|
|
|
|
#9 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|