VLOOKUP

arcootje

Board Regular
Joined
Jun 2, 2004
Messages
110
can anyone help me with the next problem:
tablematrix
A B C
1 a 11
1 b 12
1 c 13
2 a 21
2 b 22
2 c 23

i want first to search for colum A and when he find that he must look to colum B and give C as result.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
arcootje said:
can anyone help me with the next problem:
tablematrix
A B C
1 a 11
1 b 12
1 c 13
2 a 21
2 b 22
2 c 23

i want first to search for colum A and when he find that he must look to colum B and give C as result.

You need a multi-key lookup...
aaMulti-KeyLookup arcootje.xls
ABCDEFGH
1XYZConcat
21a111a1c13
31b121b
41c131c
52a212a
62b222b
72c232c
8
Sheet1


Formulas...

D2:

=A2&CHAR(127)&B2

H2:

=INDEX($C$2:$C$7,MATCH(F2&CHAR(127)&G2,$D$2:$D$7,0))
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,794
Members
449,468
Latest member
AGreen17

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