Find whole number and replace with text

MKEXL

New Member
Joined
Feb 13, 2016
Messages
6
I have 9 cells of numbers from 1 to 45. None of the numbers are the same. I want to replace each unique number with a unique name(text). I tried find and replace for #1 but Excel changed 1,11,12,13 etc. anything containing a 1.
Does anyone have any ideas as how I could accomplish this task??

2-4-19-36-441-17-28-31-455-23-25-33-4020-26-29-32-439-18-22-30-3711-21-38-39-416-13-34-35-427-14-15-24-273-8-10-12-16
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I tried find and replace for #1 but Excel changed 1,11,12,13 etc. anything containing a 1.
You would need to do the largest number 1st & work backwards.
 
Upvote 0
Because you said
I tried find and replace
I thought you were doing it manually.
You could do it with VBA, but a formula would be a bit long.
 
Upvote 0
Is VBA an option for you?
 
Upvote 0
Is VBA an option for you?
I figured out a way to fix my issue. I took the groups of 5 numbers and converted them to using text to columns. I then used Vlookup to substitute names for the numbers. Thanks for trying to help me!!
 
Upvote 0
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,725
Members
448,987
Latest member
marion_davis

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