vlookup

  • Thread starter Thread starter Leisa W
  • Start date Start date
L

Leisa W

Hi,

I am trying to use a vlookup to retrieve data regarding my
customers. I have customer surnames which appear more than
once. When I vlookup it only returns the first "smith"!!
Can I get Vlookup to look at say a last name AND a first
name upon which to make it's decision and return the
relevant data? I have a column for surname and first name.

stuck

Leisa
 
Leisa W said:
Hi,

I am trying to use a vlookup to retrieve data regarding my
customers. I have customer surnames which appear more than
once. When I vlookup it only returns the first "smith"!!
Can I get Vlookup to look at say a last name AND a first
name upon which to make it's decision and return the
relevant data? I have a column for surname and first name.

stuck

Leisa

You could add a column (say C) in your customer list that is just a
concatenation of last name and first name:
=A1&B1
Then you could look up a customer (whose names were in, say A99 and B99) in
this column:
=VLOOKUP(A99&B99,C1:D50,2,0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Vlookup & "space" vlookup 2
Excel Comparing two columns 1
Please help me with VLOOKUP AP 6
Duplicate 2
Vlookup formula 2
vlookups and logical statements? 0
VLOOKUP please help 2
Vlookup and return sheet name also 2

Back
Top