Index Match to convert alphanumeric to pure numberic

dj123171

New Member
Joined
Feb 16, 2018
Messages
3
Hello, I am having a consistent #N/A error when I try to convert a Base36 alpha numeric string into a pure numeric string that represents where in the Base36 alphabet the digit represents. For example, for Base 36, the number 0 is 0, the letter F would represent 15 and W would represent 32. The alphabet is "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" and I listed it in Column A, with numeric representations in Column B, represented here:
[TABLE="width: 0"]
<tbody>[TR]
[TD="align: center"]Column A[/TD]
[TD="align: center"]Column B[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]5[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]7[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]8[/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"]9[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]10[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]11[/TD]
[/TR]
[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]12[/TD]
[/TR]
[TR]
[TD="align: center"]D[/TD]
[TD="align: center"]13[/TD]
[/TR]
[TR]
[TD="align: center"]E[/TD]
[TD="align: center"]14[/TD]
[/TR]
[TR]
[TD="align: center"]F[/TD]
[TD="align: center"]15[/TD]
[/TR]
[TR]
[TD="align: center"]G[/TD]
[TD="align: center"]16[/TD]
[/TR]
[TR]
[TD="align: center"]H[/TD]
[TD="align: center"]17[/TD]
[/TR]
[TR]
[TD="align: center"]I[/TD]
[TD="align: center"]18[/TD]
[/TR]
[TR]
[TD="align: center"]J[/TD]
[TD="align: center"]19[/TD]
[/TR]
[TR]
[TD="align: center"]K[/TD]
[TD="align: center"]20[/TD]
[/TR]
[TR]
[TD="align: center"]L[/TD]
[TD="align: center"]21[/TD]
[/TR]
[TR]
[TD="align: center"]M[/TD]
[TD="align: center"]22[/TD]
[/TR]
[TR]
[TD="align: center"]N[/TD]
[TD="align: center"]23[/TD]
[/TR]
[TR]
[TD="align: center"]O[/TD]
[TD="align: center"]24[/TD]
[/TR]
[TR]
[TD="align: center"]P[/TD]
[TD="align: center"]25[/TD]
[/TR]
[TR]
[TD="align: center"]Q[/TD]
[TD="align: center"]26[/TD]
[/TR]
[TR]
[TD="align: center"]R[/TD]
[TD="align: center"]27[/TD]
[/TR]
[TR]
[TD="align: center"]S[/TD]
[TD="align: center"]28[/TD]
[/TR]
[TR]
[TD="align: center"]T[/TD]
[TD="align: center"]29[/TD]
[/TR]
[TR]
[TD="align: center"]U[/TD]
[TD="align: center"]30[/TD]
[/TR]
[TR]
[TD="align: center"]V[/TD]
[TD="align: center"]31[/TD]
[/TR]
[TR]
[TD="align: center"]W[/TD]
[TD="align: center"]32[/TD]
[/TR]
[TR]
[TD="align: center"]X[/TD]
[TD="align: center"]33[/TD]
[/TR]
[TR]
[TD="align: center"]Y[/TD]
[TD="align: center"]34[/TD]
[/TR]
[TR]
[TD="align: center"]Z[/TD]
[TD="align: center"]35[/TD]
[/TR]
</tbody>[/TABLE]

If have C3 = W on the same sheet, I wanted to use the Index-Match to do the following:

D3=Index($A$1:$B$36,match(C3,$A$1:$A$36,0),2)

I am expecting the value of D3 = 32 but I get #N/A. Any suggestions here? Greatly appreciated!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Your formula seems to be correct but you can use VLOOKUP function also, which is simpler and shorter.

Code:
=VLOOKUP(C3,A1:B36,2,0)
 
Last edited:
Upvote 0
The list is sorted, so you can do a binary search, and the data is sequential, so you don't need the second column:

=MATCH(C3, $A$1:$A$36) - 1
 
Upvote 0
:confused:
d3=INDEX($B$1:$B$36,MATCH(C3,$A$1:$A$36,0))

Thanks everyone, I agree that the formula works, but ONLY for numbers and not the letters in the Base36 alphabet when trying to back convert to a number. Here is the result of an example:

[TABLE="width: 130"]
<tbody>[TR]
[TD="class: xl63, width: 65"]7[/TD]
[TD="class: xl64, width: 65"]7[/TD]
[/TR]
[TR]
[TD="class: xl63"]6[/TD]
[TD="class: xl64"]6[/TD]
[/TR]
[TR]
[TD="class: xl63"]W[/TD]
[TD="class: xl64"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl63"]F[/TD]
[TD="class: xl64"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl63"]3[/TD]
[TD="class: xl64"]3[/TD]
[/TR]
</tbody>[/TABLE]

So, it works when it looks up a number but not a letter. Any insights? Vlookup can work, but there's issues with A->Z and other complications that I'd like to avoid with Index match.
 
Upvote 0
Don't see the problem:

[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][td="bgcolor:#C0C0C0"]
E​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td]
0​
[/td][td][/td][td]
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]
1​
[/td][td][/td][td]
2​
[/td][td="bgcolor:#E5E5E5"]
2​
[/td][td]D2: =MATCH(C2, $A$1:$A$36) - 1[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]
2​
[/td][td][/td][td]
A​
[/td][td="bgcolor:#E5E5E5"]
10​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]
3​
[/td][td][/td][td]
W​
[/td][td="bgcolor:#E5E5E5"]
32​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td]
4​
[/td][td][/td][td]
Z​
[/td][td="bgcolor:#E5E5E5"]
35​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td]
5​
[/td][td][/td][td]
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td]
6​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td]
7​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
9​
[/td][td]
8​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
10​
[/td][td]
9​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
11​
[/td][td]
A​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
12​
[/td][td]
B​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
13​
[/td][td]
C​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
14​
[/td][td]
D​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
15​
[/td][td]
E​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
16​
[/td][td]
F​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
17​
[/td][td]
G​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
18​
[/td][td]
H​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
19​
[/td][td]
I​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
20​
[/td][td]
J​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
21​
[/td][td]
K​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
22​
[/td][td]
L​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
23​
[/td][td]
M​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
24​
[/td][td]
N​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
25​
[/td][td]
O​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
26​
[/td][td]
P​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
27​
[/td][td]
Q​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
28​
[/td][td]
R​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
29​
[/td][td]
S​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
30​
[/td][td]
T​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
31​
[/td][td]
U​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
32​
[/td][td]
V​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
33​
[/td][td]
W​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
34​
[/td][td]
X​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
35​
[/td][td]
Y​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
36​
[/td][td]
Z​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[/table]
 
Upvote 0
Match function worked great, thank you! Here is the result, side by side:

[TABLE="width: 455"]
<!--StartFragment--> <colgroup><col width="65" span="7" style="width:65pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 65"]Colmn 1[/TD]
[TD="class: xl65, width: 65"]Colum 2[/TD]
[TD="class: xl65, width: 65"]Column 3[/TD]
[TD="class: xl63, width: 65"][/TD]
[TD="class: xl63, width: 65"][/TD]
[TD="class: xl63, width: 65"][/TD]
[TD="class: xl63, width: 65"][/TD]
[/TR]
[TR]
[TD="class: xl63"]0[/TD]
[TD="class: xl63"]0[/TD]
[TD="class: xl63"]0[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]1[/TD]
[TD="class: xl63"]1[/TD]
[TD="class: xl63"]1[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]2[/TD]
[TD="class: xl63"]2[/TD]
[TD="class: xl63"]2[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]Data[/TD]
[TD="class: xl63"]Index[/TD]
[TD="class: xl63"]Match[/TD]
[/TR]
[TR]
[TD="class: xl63"]3[/TD]
[TD="class: xl63"]3[/TD]
[TD="class: xl63"]3[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]7[/TD]
[TD="class: xl64"]7[/TD]
[TD="class: xl64"]7[/TD]
[/TR]
[TR]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]6[/TD]
[TD="class: xl64"]6[/TD]
[TD="class: xl64"]6[/TD]
[/TR]
[TR]
[TD="class: xl63"]5[/TD]
[TD="class: xl63"]5[/TD]
[TD="class: xl63"]5[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]W[/TD]
[TD="class: xl64"]#N/A[/TD]
[TD="class: xl64"]32[/TD]
[/TR]
[TR]
[TD="class: xl63"]6[/TD]
[TD="class: xl63"]6[/TD]
[TD="class: xl63"]6[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]F[/TD]
[TD="class: xl64"]#N/A[/TD]
[TD="class: xl64"]15[/TD]
[/TR]
[TR]
[TD="class: xl63"]7[/TD]
[TD="class: xl63"]7[/TD]
[TD="class: xl63"]7[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]3[/TD]
[TD="class: xl64"]3[/TD]
[TD="class: xl64"]3[/TD]
[/TR]
[TR]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]9[/TD]
[TD="class: xl63"]9[/TD]
[TD="class: xl63"]9[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]10[/TD]
[TD="class: xl63"]A[/TD]
[TD="class: xl63"]10[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]11[/TD]
[TD="class: xl63"]B[/TD]
[TD="class: xl63"]11[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]12[/TD]
[TD="class: xl63"]C[/TD]
[TD="class: xl63"]12[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]13[/TD]
[TD="class: xl63"]D[/TD]
[TD="class: xl63"]13[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]14[/TD]
[TD="class: xl63"]E[/TD]
[TD="class: xl63"]14[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]15[/TD]
[TD="class: xl63"]F[/TD]
[TD="class: xl63"]15[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]16[/TD]
[TD="class: xl63"]G[/TD]
[TD="class: xl63"]16[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]17[/TD]
[TD="class: xl63"]H[/TD]
[TD="class: xl63"]17[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]18[/TD]
[TD="class: xl63"]I[/TD]
[TD="class: xl63"]18[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]19[/TD]
[TD="class: xl63"]J[/TD]
[TD="class: xl63"]19[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]20[/TD]
[TD="class: xl63"]K[/TD]
[TD="class: xl63"]20[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]21[/TD]
[TD="class: xl63"]L[/TD]
[TD="class: xl63"]21[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]22[/TD]
[TD="class: xl63"]M[/TD]
[TD="class: xl63"]22[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]23[/TD]
[TD="class: xl63"]N[/TD]
[TD="class: xl63"]23[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]24[/TD]
[TD="class: xl63"]O[/TD]
[TD="class: xl63"]24[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]25[/TD]
[TD="class: xl63"]P[/TD]
[TD="class: xl63"]25[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]26[/TD]
[TD="class: xl63"]Q[/TD]
[TD="class: xl63"]26[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]27[/TD]
[TD="class: xl63"]R[/TD]
[TD="class: xl63"]27[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]28[/TD]
[TD="class: xl63"]S[/TD]
[TD="class: xl63"]28[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]29[/TD]
[TD="class: xl63"]T[/TD]
[TD="class: xl63"]29[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]30[/TD]
[TD="class: xl63"]U[/TD]
[TD="class: xl63"]30[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]31[/TD]
[TD="class: xl63"]V[/TD]
[TD="class: xl63"]31[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]32[/TD]
[TD="class: xl63"]W[/TD]
[TD="class: xl63"]32[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]33[/TD]
[TD="class: xl63"]X[/TD]
[TD="class: xl63"]33[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]34[/TD]
[TD="class: xl63"]Y[/TD]
[TD="class: xl63"]34[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
[TR]
[TD="class: xl63"]35[/TD]
[TD="class: xl63"]Z[/TD]
[TD="class: xl63"]35[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[/TR]
<!--EndFragment--></tbody>[/TABLE]
[TABLE="width: 455"]
<colgroup><col width="65" span="7" style="width:65pt"></colgroup><tbody><!--EndFragment--></tbody>[/TABLE]
 
Upvote 0
Or dispense with the list and use

=SEARCH(C2, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ") - 1
 
Upvote 0
To go from a Decimal digit to Base36 "digit"...

=CHAR(A1+48+7*(A1>9))

To go from Base36 "digit" to Decimal digit...

=CODE(A1)-48-7*ISTEXT(B1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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