VLOOKUP two variables

JohnF

New Member
Joined
Jul 9, 2005
Messages
32
I have a spreadsheet with the following

Column A, Row 1 = 000208
Column B, Row 1 = GL001
Column C, Row 1 = Blue (or some other colour)

I want to use a VLOOKUP to look for 000208 and GL001 and give me the entry in Column C Row 1, Can this be done.

Thanks
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
JohnF said:
I have a spreadsheet with the following

Column A, Row 1 = 000208
Column B, Row 1 = GL001
Column C, Row 1 = Blue (or some other colour)

I want to use a VLOOKUP to look for 000208 and GL001 and give me the entry in Column C Row 1, Can this be done.

Thanks

In another empty column, concatenate column A and B using,

=A1&CHAR(127)&B1 and drag down, then use,

=INDEX(C1:C100,MATCH(E1&CHAR(127)&F1,D1:D100,0))

Where E1 and F1 would house your criteria to lookup. And D1:D100 is the column you used for concatenating A and B.
 
Upvote 0

Forum statistics

Threads
1,203,076
Messages
6,053,395
Members
444,661
Latest member
liamoohay

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