How do I replace Values with text

ppatricks

New Member
Joined
Apr 1, 2002
Messages
7
I want to replace values with text
for example:

Customer = "2595"
Customer = "PNY Technology"

What formula do I need to link the number to the text?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I suppose you could just use Edit|Find, enter the number you wish to replace, then click the "Replace" button and enter the text with which you want to replace the number, and then hit the Replace All button.

If this isn't good enough, then I may not be quite understanding what you want. Either wait for someone else to try, or repost some clarification.

_________________
Regards, Duane
This message was edited by Duane on 2002-04-02 16:28
 
Upvote 0
Hi ppatricks

Try this.

1. Go to Insert>Name>Define
2. Try: PNY_Technology in the Names in Workbook box.
3. Type =2595 in the Refers to box
4. Click Add, the Cancel


From now on the text PNY_Technology will have the value of 2595
 
Upvote 0
Hi & thanks for you help, however the association I need is number to words, and excel doesn't seem to like that.

I am trying to link account numbers to account names:

column 1 = number
column 2 = name

The data that I already have is numbers
I have the names, however do not know how to link the two automatically, (I have to do this manually evey month) and it takes forever as the list is growing!

HELP!
 
Upvote 0
Hi

I am not sure I have understodd you, but a Lookup table maybe the best way.

Put all your numbers in Column "A" and all ascociated names on corresponding cells in Column "B"

Then assume you have the number 2595 in cell D1, use:

=INDEX($A$1:$B$2000,MATCH(D1,$B$1:$B$2000,0),1)

This would return PNY Technology
 
Upvote 0
Thank you... this is exactly what I needed


On 2002-04-03 00:54, Dave Hawley wrote:
Hi

I am not sure I have understodd you, but a Lookup table maybe the best way.

Put all your numbers in Column "A" and all ascociated names on corresponding cells in Column "B"

Then assume you have the number 2595 in cell D1, use:

=INDEX($A$1:$B$2000,MATCH(D1,$B$1:$B$2000,0),1)

This would return PNY Technology
 
Upvote 0
I was just about to suggest a vlookup (or index/match) but I thought it might be more complicated than necessary.

Thanks, Dave - I guess I didn't quite understand what was needed.
 
Upvote 0

Forum statistics

Threads
1,213,520
Messages
6,114,099
Members
448,548
Latest member
harryls

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