Replace data in Column A with macro code

constantinet

New Member
Joined
Mar 9, 2017
Messages
16
I am looking for help with macro code please:

I have a spreadsheet and in column A there are multiple company id numbers and in column C there are different employee names. I would like to take the name in column C and drop it in column A so for example: If Column A has number 12345 and Column C has the name Jane Doe then replace the number of 12345 with name Jane Doe in Column A.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I am sure I am missing something.

To get the results copy column C and paste it in column A.
 
Upvote 0
There are different numbers in column A and different employee names in Column C. I do not want to just do a copy and pasta as I only need to change the data in Column A if it equals a certain number and Column C equals a certain name.
 
Upvote 0
You would need a list, perhaps on another sheet, that contains the "certain numbers" in column A and the corresponding names in column B.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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