Compare two columns and get info from a third?

sundodger

New Member
Joined
Aug 9, 2018
Messages
17
Hi All,
I have two lists of customers.
One is a list of target customers with Names in column B and Target type in column A. e.g A, B or C
In the second Sheet it is a list of all customers in the country. with names in Column A
I am trying to get the Target type added into Column B of the second sheet if the name matches one of the customers names in the First sheet.

Any help appreciated.
Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Assuming that your name on sheet2 is in cell A2, put the following formula in B2

=IFERROR(INDEX(sheet1!$A$1:$A$10,MATCH(A2,sheet1!$B$1:$B$10,0)),"Name does not exist")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
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