Vlookup and Sorting

xlsnut

New Member
Joined
Jan 20, 2008
Messages
32
I have a question not sure if I am using Vlookup correctly but hopefully someone can help.

In sheet 1 I have a list of names listed like this: John Smith
In Sheet 2 I have a list of names that I exported from a mail client that are listed like such: <TABLE style="WIDTH: 328pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=437><COLGROUP><COL style="WIDTH: 328pt; mso-width-source: userset; mso-width-alt: 15981" width=437><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 328pt; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=20 width=437>Smith, John,john.smith@mail.com,"","",06/04/2008,""
Because sheet 2 has like three thousand names and I only need to extract about of 200 of them which are listed in sheet 1, will VLOOKUP help me sort this function to pull only the names and email addresses from sheet 2?


Thanks
C-
</TD></TR></TBODY></TABLE>
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Probably not, since "John Smith" will not match against "Smith, John" or "john.smith@mail.com"

To use VLOOKUP, you'd need to either match your formats in the two lists (so they're both "Last, First" or "First Last" or "first.last@mail.com")

Alternatively, FUZZYVLOOKUP from the board's hall of fame might be of interest: http://www.mrexcel.com/forum/showthread.php?t=69649
 
Upvote 0
I have a question not sure if I am using Vlookup correctly but hopefully someone can help.

In sheet 1 I have a list of names listed like this: John Smith
In Sheet 2 I have a list of names that I exported from a mail client that are listed like such: <TABLE style="WIDTH: 328pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=437><COLGROUP><COL style="WIDTH: 328pt; mso-width-source: userset; mso-width-alt: 15981" width=437><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 328pt; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=20 width=437>Smith, John,john.smith@mail.com,"","",06/04/2008,""
Because sheet 2 has like three thousand names and I only need to extract about of 200 of them which are listed in sheet 1, will VLOOKUP help me sort this function to pull only the names and email addresses from sheet 2?


Thanks
C-
</TD></TR></TBODY></TABLE>

Why dont you concatenate First name and Last Name with space in between in a new column as Column A, sort it and run vlookup on it. It should help.
 
Upvote 0

Forum statistics

Threads
1,222,828
Messages
6,168,484
Members
452,193
Latest member
Arlochorim

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