Alphanumeric to Numeric

dleitch70

New Member
Joined
Apr 18, 2008
Messages
43
I'm looking for help with converting an alphanumeric number (ex. ug7v899j) to a numeric number? I would appreciate any suggestions. So far I've not been able to find anything on the forum.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
What is the converting rule? Can you show us a sample?
 
Upvote 0
with Power Query
ANN
ug7v899j7899

Rich (BB code):
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    TS = Table.AddColumn(Source, "N", each Text.Select([AN],{"0".."9"}))
in
    TS
HTH
 
Upvote 0
What is the converting rule? Can you show us a sample?
All of the alphanumeric values are 8 characters long. They obviously consist of letters and characters. All the letters are lower case. I'm not exactly sure what you mean by converting rule. I looking for a way to convert ug7v899j to something like 84788995.

Open to any and all suggestions.
 
Upvote 0
ug7v899j
84788995

I mean why convert j to5, u to 8, g to 4, v to 8? why u and v both convet to 8?
 
Upvote 0
I looking for a way to convert ug7v899j to something like 84788995.
How exactly does "ug7v899j" translate to "84788995"?
Somehow, you seem to by determining that u=8, g=4, v=8, and j=5.
What is that "rule" for determining that?
 
Upvote 0
with Power Query
ANN
ug7v899j7899

Rich (BB code):
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    TS = Table.AddColumn(Source, "N", each Text.Select([AN],{"0".."9"}))
in
    TS
HTH
Hi Sandy, Thanks but I'm looking for something to convert the alphanumeric to a numeric, not just to separate the numeric from the alpha characters.
 
Upvote 0
ug7v899j
84788995

I mean why convert j to5, u to 8, g to 4, v to 8? why u and v both convet to 8?
I used an online Alpha phrase to phone number as the example. I want to stress I don't think that's the way it should convert. I'm looking for any and all suggestions on how it should be done correctly. The example was just to emphasize that I need the alpha characters to be converted to numbers.

If ug7v899j should convert to 21772289910, that's fine with me. I just need to know how to do that in excel because I have 158,000 that need to be converted.

Thanks!
 
Last edited:
Upvote 0
If you have Excel 365, that will be easy to do:
工作簿4
ABCD
1ug7v899j 21772289910
2
3ug7v899j should convert to 2172289910
4
Sheet1
Cell Formulas
RangeFormula
B1B1=CONCAT(IFERROR(MATCH(MID(A1,ROW($1:$8),1),CHAR(ROW($65:$90)),),MID(A1,ROW($1:$8),1)))
 
Upvote 0
With hleper column:
工作簿4
ABCDEFGHIJ
1ug7v899j 2177228991021772289910
2
3
Sheet1
Cell Formulas
RangeFormula
B1:I1B1=IFERROR(--MID($A1,COLUMN(A1),1),CODE(MID($A1,COLUMN(A1),1))-96)
J1J1=B1&C1&D1&E1&F1&G1&H1&I1
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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