value mapping and assign names based on the cell value-vba

mayaa_mmm

Board Regular
Joined
Jul 30, 2014
Messages
54
Office Version
  1. 2010
Platform
  1. Windows
In sheet 1 of the workbook, have table like below
ClassCreaterAssigne
PythonJohnySheela
CloudDanAngela
MicrosoftMannyAndrea
EmbeddedMalascotty
PearlDanAngela
FlashJohnySheela
In Sheet 1 of the another workbook B , in a same folder have table like below,

I want to assign the names for the ID based on the creater. Creater values and assigne value will be in sheet 1 of the workbook A. Based on the Workbook A inputs, Creater coulumn in B worksheet, will map values from A workbook and assign names.

In case mapping not found , we should assign as not found

I like to have in VBA for running he huge record

IDAssigne(0utput)Creater
ID1SheelaJohny
ID2AngleaDan
ID3AndreaManny
ID4ScottyMala
ID5AngleaDan
ID6SheelaJohny
ID7Not Found
Iris
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,224,818
Messages
6,181,152
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