Simple formula to change 025854858 (widge number) into "Blue Toy" in excel

HI Experts,
I have a simple one here for excel Experts.
I have 12 cells in different rows with different numbers. Each represents a product number.
I want to change the Unit Number into a description based on a worksheet I have will all unit numbers and names set up already.
chris pikeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
In your question you say you want to replace the unit (Product?) number with the description but you show some descriptions in column C. This macro changes the Product #s to Descriptions. If instead you want the descriptions in column C, change the B in line 14 to a C.

Sub ReplaceNums()

Dim rng As Range
Dim lngLastRow As Long
Dim lngRow As Long

Application.ScreenUpdating = False

With Sheets("Report")
    lngLastRow = .Cells(Cells.Rows.Count, "B").End(xlUp).Row
    For lngRow = 3 To lngLastRow
        Set rng = Sheets("Data").Range("A:A").Find(what:=.Cells(lngRow, "B"), SearchOrder:=xlByRows)
        If Not rng Is Nothing Then
            .Cells(lngRow, "B") = rng.Offset(0, 1)
        End If
End With
End Sub

Open in new window

Ejgil HedegaardCommented:
Use this in C3, and copy down

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chris pikeAuthor Commented:
Thank you Ejgil,
I am still working on your solution, I have an additional column I am also trying to make it work also.
I will keep you posted.
chris pikeAuthor Commented:
Thanks for you help on this one, Worked great.
Martin LissOlder than dirtCommented:
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you
including these two new ones.
Creating your own Excel Formulas and doing the impossible
A Guide to Writing Understandable and Maintainable VBA Code
Marty - MVP 2009 to 2015, Experts-Exchange Top Expert Visual Basic Classic 2012 to 2014
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.