Convert Names to Numbers (text to numbers)

pwebley

Board Regular
Joined
Mar 2, 2011
Messages
69
Is there a way to convert a name to a numerical value using formulas. Example:
John = 123

The name would actually convert to a number because of the value of each character. Any help would be appreciated.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
press CTRL+F3 and that will open the name manager. Then you can assign numbers to names.

if you already have a list, you can quickly add names by highlighting the two columns and using CTRL+SHIFT+F3
 
Upvote 0
pwebley,

What values are you assigning to each character to get your total of 123?

Excel Workbook
ABCD
1JohnJ74
2o111
3h104
4n110
5399
6
Sheet1
 
Last edited:
Upvote 0
pwebley,

What values are you assigning to each character to get your total of 123?

Oh disregard my post then I misunderstood. If you're going to have each character assigned to a number, we'd also need to know what methodology you're wanting to use to get your end-result number: addition, multiplication etc...
 
Upvote 0
Way more information about what you are intending to do is needed before you can get any sensible help.
 
Upvote 0
pwebley,

If you were to put together a list of all letters and the values you want to assign to them, a User Defined Function could be written to accomplish the task.
 
Upvote 0
To help you understand, because I was not clear enough. I have a list of names that I would like to sort alphabetically using a formula. That way the list of names automatically sorts when I add new ones or change existing ones. The sort would occur in a different column with the array of names being somewhere else.
 
Upvote 0
My example of John=123 was only an example. That is what I would like it to do.

Okay, then the answer to your original question is "yes". Unfortunately, given all the information you have posted so far, it is kind of impossible to give you a more detailed answer.
 
Upvote 0

Forum statistics

Threads
1,224,544
Messages
6,179,430
Members
452,915
Latest member
hannnahheileen

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