#1   Report Post  
Lisa
 
Posts: n/a
Default Vlookup

Can you base a vlookup formula on data that has been concatenated?
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Yes.

Would you like to describe what you're trying to do, so that you can get a
more helpful answer?

"Lisa" wrote:

Can you base a vlookup formula on data that has been concatenated?

  #3   Report Post  
Lisa
 
Posts: n/a
Default

On the destination sheet I have a column that has first and last names that
have been joined by concantenating them. On the reference sheet, the cells
contain the same first and last name (the matching column) but they have been
exported from a system and did not need to be concatenated. I know that the
vlookup formula is correct because if I type over the concatenated cell the
actual first and last name, It will then reference the student number (The
infomration that I am trying to bring over to the destination sheet.)
So I guess my uqestion is how do I make data that has been concatenated into
text.
"Duke Carey" wrote:

Yes.

Would you like to describe what you're trying to do, so that you can get a
more helpful answer?

"Lisa" wrote:

Can you base a vlookup formula on data that has been concatenated?

  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

if your lookup range contains

Row# ColA ColB
1 Name Student#
2 Carey, Duke 897
3 Doe, Lisa 1022

and you have the text Doe in cell C6 and the text Lisa in D6,use

=VLOOKUP(C6&", "&D6,A2:B3,2,0)


"Lisa" wrote:

On the destination sheet I have a column that has first and last names that
have been joined by concantenating them. On the reference sheet, the cells
contain the same first and last name (the matching column) but they have been
exported from a system and did not need to be concatenated. I know that the
vlookup formula is correct because if I type over the concatenated cell the
actual first and last name, It will then reference the student number (The
infomration that I am trying to bring over to the destination sheet.)
So I guess my uqestion is how do I make data that has been concatenated into
text.
"Duke Carey" wrote:

Yes.

Would you like to describe what you're trying to do, so that you can get a
more helpful answer?

"Lisa" wrote:

Can you base a vlookup formula on data that has been concatenated?

  #5   Report Post  
Lisa
 
Posts: n/a
Default

I didn't think about essentially doing both operations in one. That is a
great idea! Thank you!
Lisa

"Duke Carey" wrote:

if your lookup range contains

Row# ColA ColB
1 Name Student#
2 Carey, Duke 897
3 Doe, Lisa 1022

and you have the text Doe in cell C6 and the text Lisa in D6,use

=VLOOKUP(C6&", "&D6,A2:B3,2,0)


"Lisa" wrote:

On the destination sheet I have a column that has first and last names that
have been joined by concantenating them. On the reference sheet, the cells
contain the same first and last name (the matching column) but they have been
exported from a system and did not need to be concatenated. I know that the
vlookup formula is correct because if I type over the concatenated cell the
actual first and last name, It will then reference the student number (The
infomration that I am trying to bring over to the destination sheet.)
So I guess my uqestion is how do I make data that has been concatenated into
text.
"Duke Carey" wrote:

Yes.

Would you like to describe what you're trying to do, so that you can get a
more helpful answer?

"Lisa" wrote:

Can you base a vlookup formula on data that has been concatenated?



  #6   Report Post  
BekkiM
 
Posts: n/a
Default

The other thing you might check, if you've imported your data from another
source, is that you don't have "hidden" leading or trailing spaces. That can
really screw up your conatenation (and therefore your VLOOKUP)...

"Lisa" wrote:

On the destination sheet I have a column that has first and last names that
have been joined by concantenating them. On the reference sheet, the cells
contain the same first and last name (the matching column) but they have been
exported from a system and did not need to be concatenated. I know that the
vlookup formula is correct because if I type over the concatenated cell the
actual first and last name, It will then reference the student number (The
infomration that I am trying to bring over to the destination sheet.)
So I guess my uqestion is how do I make data that has been concatenated into
text.
"Duke Carey" wrote:

Yes.

Would you like to describe what you're trying to do, so that you can get a
more helpful answer?

"Lisa" wrote:

Can you base a vlookup formula on data that has been concatenated?

  #7   Report Post  
Lisa
 
Posts: n/a
Default

Thank you for your help! It now works beautifully!

"BekkiM" wrote:

The other thing you might check, if you've imported your data from another
source, is that you don't have "hidden" leading or trailing spaces. That can
really screw up your conatenation (and therefore your VLOOKUP)...

"Lisa" wrote:

On the destination sheet I have a column that has first and last names that
have been joined by concantenating them. On the reference sheet, the cells
contain the same first and last name (the matching column) but they have been
exported from a system and did not need to be concatenated. I know that the
vlookup formula is correct because if I type over the concatenated cell the
actual first and last name, It will then reference the student number (The
infomration that I am trying to bring over to the destination sheet.)
So I guess my uqestion is how do I make data that has been concatenated into
text.
"Duke Carey" wrote:

Yes.

Would you like to describe what you're trying to do, so that you can get a
more helpful answer?

"Lisa" wrote:

Can you base a vlookup formula on data that has been concatenated?

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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 10:18 PM.

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"