Matching 2 Tables and Pasting it on another Column

TeckTeck

New Member
Joined
Sep 28, 2023
Messages
15
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi all, i am new to Excel and would like to know what is the code for VBA for this to happen.
1695894002971.png

I would need to match the reference list to master list,

Condition 1: IF column A matches Column C then paste Column C on Column E
Condition 2: IF column B matches 50% or 60% of Column D (text) then paste column C on Column E

Please advice on how to do this. Appreciated very much
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Why not to use formula? E3:
Excel Formula:
=IF($A3=$C3,$C3,IF("*"&$B3&"*"=$D3,$D3,"NO MATCH"))
It is hard to specify something like %50 or %60. Please, check if this works.
Maybe:
Excel Formula:
=IF($A3=$C3,$C3,IF(AND("*"&$B3&"*"=$D3,LEN($B3)/LEN($D3>0.50),$D3,"NO MATCH"))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,071
Messages
6,122,963
Members
449,094
Latest member
Anshu121

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