ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Vlookup with more than two values (https://www.excelbanter.com/excel-discussion-misc-queries/210961-vlookup-more-than-two-values.html)

tpc

Vlookup with more than two values
 
I have two list A and B, in list A I have two columns 1 and 2. in the column
1 there is a Number like (917) that can be repeat, in column 2 there's a text
like (sxc) which it's repat in other rows. I have to bring some data from the
list B where I also have the columns 1,2 and a 3 with the data I want to
bring to list A. Well the values (917) is in list B but this number is link
to (sxc) and with other text, How can I make to bring me the data that is
only link to:
column: 1 2
917 sxc

The information is random.

Sheeloo[_3_]

Vlookup with more than two values
 
Insert a Col before the first column in your list B (which I assume is in
Sheet 2, Col A-C - insertion will shift the data to B-D) and enter this
formula in the new Col A
=B1&C1 and copy down

Now in C1 of Sheet 1 (where your list A is assumed to be) enter this
=VLOOKUP(A1&B1,Sheet2!A:D,4,False) and copy down...

"tpc" wrote:

I have two list A and B, in list A I have two columns 1 and 2. in the column
1 there is a Number like (917) that can be repeat, in column 2 there's a text
like (sxc) which it's repat in other rows. I have to bring some data from the
list B where I also have the columns 1,2 and a 3 with the data I want to
bring to list A. Well the values (917) is in list B but this number is link
to (sxc) and with other text, How can I make to bring me the data that is
only link to:
column: 1 2
917 sxc

The information is random.



All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com