Assistance Required : Copy when conditions are met

chrisnilu

New Member
Joined
Aug 8, 2017
Messages
8
i need to copy values from a table when 2 other conditions are met.

Table 1 [TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]COUNTRY[/TD]
[TD]TYPE[/TD]
[TD]Details[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]AZ[/TD]
[TD]READ[/TD]
[TD]This is used for reading in AZ[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]UK[/TD]
[TD]Write[/TD]
[TD]This is used for writing in UK[/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]US[/TD]
[TD]EDIT[/TD]
[TD]This is used for editing in US[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]AZ[/TD]
[TD]Write[/TD]
[TD]This is used for writing in AZ[/TD]
[/TR]
</tbody>[/TABLE]

Table 2

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]COUNTRY[/TD]
[TD]TYPE[/TD]
[TD]DETAIL[/TD]
[/TR]
[TR]
[TD]XY[/TD]
[TD]AX[/TD]
[TD]Edit[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]AZ[/TD]
[TD]READ[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]US[/TD]
[TD]Write[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

In Table 2 Detail column i need to get the same details as Table 1 if ID, Country & ID are matched . What function or formula should i use ?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
=if(sumproduct(($a$2:$a$5=f3)*($b$2:$b$5=g3)*($c$2:$c$5=h3)*rij($1:$4))>0,index($d$2:$d$5,sumproduct(($a$2:$a$5=f3)*($b$2:$b$5=g3)*($c$2:$c$5=h3)*row($1:$4))),"")
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

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