Replacing Multiple Cells with Formula

rc_schawel

New Member
Joined
Mar 11, 2011
Messages
7
i am migrating a client's products from one e-commerce platform to another. currently cleaning up the product data through excel. i now have a list of products which are matched with a numeric ID created by the previous platform. i need to replace those numeric IDs with text however cannot spend the time to replace them individually. is there some sort of formula that can automate the whole process?

example:
KEY
1 = chicken
2 = beef
3 = pork
4 = fish
... ...
2000 = vegetables

there are 7000+ products and i need to replace their numeric IDs (as you can see there are about 2000 individual IDs) with their corresponding text.

i'm sorry if this confuses anyone but i can't find better words to describe my situation for now.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
welcome to the board

You might use VLOOKUP for this, if you are dealing with a list of items that need to be replaced with corresponding values from a lookup table

If your data is all over the place, and you want to essentially use Excel's Find and Replace feature numerous times, then let me know. I have some code that can do that on any number of items
 
Upvote 0
thanks baitmaster! it took me some time to figure out how to work vlookup but finally got it. thanks a lot. that must have saved 3 nights of work.
 
Upvote 0

Forum statistics

Threads
1,223,706
Messages
6,173,998
Members
452,542
Latest member
Bricklin

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