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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,223,739
Messages
6,174,217
Members
452,551
Latest member
croud

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