troubleshooting Question

How do I replace the content of a cell with a lookup?

Avatar of realzeroburn
realzeroburn asked on
SoftwareMicrosoft ExcelVB Script
2 Comments1 Solution521 ViewsLast Modified:
Here's the situation.  I have 2 excel sheets.  On Sheet 1 is a column with a list of part numbers, for example:


On Sheet 2 are two columns, one with the part number, and one with the name.  For example:

PROD1XX        Apples
PROD2XX        Bananas
PROD3XX        Pears

Sheet 1 has maybe a couple hundred items, but Sheet 2 has all the products, so a couple thousand.

How can I replace the column in Sheet 1 that says "PROD1XX" with "Apples" by looking up the information from Sheet 2?  I'm not sure if you can do this from within just Excel- or if a script is required.  Any solution would work though, I could also do this from a CSV with a text editor if that'd make it easier.

Saqib Husain

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros