V LOOKUP with 2 lookup values???

Daniellel

Board Regular
Joined
Jun 21, 2011
Messages
242
Hi,

Can anyone tell me how to write a VLOOKUP formula that will match 2 lookup values?

I have a list of clients and a list of their jobs, I need to vlookup bits of info against a table.

Can anyone help?

Thank you.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Can you be a bit mnore specific? are you looking up clients names that will be listed in column 1 of a table as criteria 1 and what would be the lookup value of the second elenent? is it a column header?
 
Upvote 0
Can you be a bit mnore specific? are you looking up clients names that will be listed in column 1 of a table as criteria 1 and what would be the lookup value of the second elenent? is it a column header?


Sorry,

I have a list (List 1) of clients in column 'A' and a list of their jobs in column 'B' I then all of their invoice details in columns 'C' to 'Y'. I have a seperate list (List 2) that just has the list of clients in column 'A' and a list of their jobs in column 'B'. I want to use VLOOKUP to return the data from list 1 into list 2 but it has to match BOTH column 'A' & 'B'.

Does this make sence?
 
Upvote 0
Concatenate the two fields:
Column A(concatenated field) Column B Column C
FRANKJOE Frank Joe

The formula in cell A1 would be =B1&C1
Do this in both the data you are looking up from and the data you are lookinig up into. then use the new field to vlookup.
 
Upvote 0
Concatenate the two fields:
Column A(concatenated field) Column B Column C
FRANKJOE Frank Joe

The formula in cell A1 would be =B1&C1
Do this in both the data you are looking up from and the data you are lookinig up into. then use the new field to vlookup.


Really sorry but i do not understand what you are telling me to do. I can not overtype columns 'A' & 'B' in either sheet, just need to add a formula to merge tham both together.
 
Upvote 0
Maybe I am approaching this wrong, I might not even need to use VLOOKUP - maybe something else???

Can anyone help?
 
Upvote 0
Excel Workbook
DEFG
12Client 1PainterValue 1Next Value 1
13Client 1copValue 10Next Value 10
14
15Client 1PainterValue 1Next Value 1
16Client 2joinerValue 2Next Value 2
17Client 3plumberValue 3Next Value 3
18Client 4copValue 4Next Value 4
19Client 5sailorValue 5Next Value 5
20Client5sailorValue 6Next Value 6
21Client 1joinerValue 7Next Value 7
22Client 8politicianValue 8Next Value 8
23Client 9politicianValue 9Next Value 9
24Client 1copValue 10Next Value 10
Sheet1


THis will allow you to combine ywo criteria, your only difficulty will be selecting what columns you want to return the data from. You can either use an incrementer like i have (columns) to select columns next to each other or hard code the column numbers for the Inswx to reference
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,240
Members
452,898
Latest member
Capolavoro009

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