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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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
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,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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