Value in the adjacent column of the queried column.

Rumburak

Banned
Joined
Aug 28, 2018
Messages
36
Howdy,

If anyone can help me ...
In column A there are item names, in column B are numbers.
In columns I, K, M and O are numbers and in the columns adjacent to the columns mentioned, ie J, L, N and P can be numbers and text.
I wrote in column C the desired results.

Example. I'm looking for the number 125 in column B, for the AAA name in the first table, in table 2, in the column adjacent to the AAA column, column J, here number 144.
If we look for 337 in the column adjacent to the TZAR column, that is column P, they find the number 714.

col A col B col C
[TABLE="width: 157"]
<colgroup><col width="82" style="width: 61pt; mso-width-source: userset; mso-width-alt: 2901;"> <col width="64" style="width: 48pt;" span="2"> <tbody>[TR]
[TD="width: 82, bgcolor: transparent"]RKM Name[/TD]
[TD="width: 64, bgcolor: transparent"]Dim[/TD]
[TD="width: 64, bgcolor: transparent"]Result[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]AAA[/TD]
[TD="bgcolor: transparent"]125[/TD]
[TD="bgcolor: transparent"]444[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]AAB[/TD]
[TD="bgcolor: transparent"]149[/TD]
[TD="bgcolor: transparent"]777[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]AZK[/TD]
[TD="bgcolor: transparent"]211[/TD]
[TD="bgcolor: transparent"]444[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]TZAR[/TD]
[TD="bgcolor: transparent"]337[/TD]
[TD="bgcolor: transparent"]714[/TD]
[/TR]
</tbody>[/TABLE]


col I col J col K col L col M col N col O col P
[TABLE="width: 272"]
<colgroup><col width="46" style="width: 34pt; mso-width-source: userset; mso-width-alt: 1621;" span="8"> <tbody>[TR]
[TD="width: 46, bgcolor: transparent"]AAA[/TD]
[TD="width: 46, bgcolor: transparent"][/TD]
[TD="width: 46, bgcolor: transparent"]AAB[/TD]
[TD="width: 46, bgcolor: transparent"][/TD]
[TD="width: 46, bgcolor: transparent"]AZK[/TD]
[TD="width: 46, bgcolor: transparent"][/TD]
[TD="width: 46, bgcolor: transparent"]TZAR[/TD]
[TD="width: 46, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]87[/TD]
[TD="bgcolor: transparent"]200[/TD]
[TD="bgcolor: transparent"]210[/TD]
[TD="bgcolor: transparent"]XKL[/TD]
[TD="bgcolor: transparent"]211[/TD]
[TD="bgcolor: transparent"]444[/TD]
[TD="bgcolor: transparent"]14[/TD]
[TD="bgcolor: transparent"]164[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]21[/TD]
[TD="bgcolor: transparent"]NotK[/TD]
[TD="bgcolor: transparent"]199[/TD]
[TD="bgcolor: transparent"]100[/TD]
[TD="bgcolor: transparent"]45[/TD]
[TD="bgcolor: transparent"]333[/TD]
[TD="bgcolor: transparent"]19[/TD]
[TD="bgcolor: transparent"]NacD[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]125[/TD]
[TD="bgcolor: transparent"]444[/TD]
[TD="bgcolor: transparent"]125[/TD]
[TD="bgcolor: transparent"]177[/TD]
[TD="bgcolor: transparent"]39[/TD]
[TD="bgcolor: transparent"]300[/TD]
[TD="bgcolor: transparent"]337[/TD]
[TD="bgcolor: transparent"]66[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]337[/TD]
[TD="bgcolor: transparent"]121[/TD]
[TD="bgcolor: transparent"]149[/TD]
[TD="bgcolor: transparent"]777[/TD]
[TD="bgcolor: transparent"]100[/TD]
[TD="bgcolor: transparent"]200[/TD]
[TD="bgcolor: transparent"]377[/TD]
[TD="bgcolor: transparent"]714[/TD]
[/TR]
</tbody>[/TABLE]


Thanks.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Example. I'm looking for the number 125 in column B, for the AAA name in the first table, in table 2, in the column adjacent to the AAA column, column J, here number 144.

Should not be 444??
Data in column with header AAA, AAB, AZK and TZAR are unique or not?
 
Upvote 0
Is this what you want?

Excel Workbook
ABCDEFGHIJKLMNOP
1RKM NameDimResultAAAAABAZKTZAR
2AAA12544487200210XKL21144414164
3AAB14977721NotK1991004533319NacD
4AZK2114441254441251773930033766
5TZAR33766337121149777100200377714
Lookup
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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