Convert numbers to letters and letters to numbers A=1, B=2 etc
There is a formula here http://www.ozgrid.com/forum/showthread.php?t=64360 for Excel, I'm interested in how to do the original answer posted on numbers for iOS
All I want is to be able to do is input names and get a numerical output of the name for example Michael = 13 9 3 8 1 5 12 & Totals 51.
If anyone can clearly explain how I would be able to do this on numbers I would be very appreciative.
This was the answer for excel but it doesn't work and I can't find a solution for iOS.
for an upper case alphabet use the formula =CODE(A2)-64 that will give A as 1, B as 2 and so on
for a lower case alphabet use the formula =CODE(A2)-96 that will give a as 1, b as 2 and so on
where the alphabet is in cell A2
Or, right click on the sheet name tab, choose View Code and modify to suit.
'Remove for 0=a Option Base 1 '1=a Private Sub Worksheet_Change(ByVal Target As Range) Dim MyArray Dim lloop As Long MyArray = Array("a", "b", "c", "d", "e", "f", "g", _ "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", _ "r", "s", "t", "u", "v", "w", "x", "y", "z") With Target(1, 1) If .Column = 3 Then 'Column C Only If IsNumeric(.Value) Then If .Value >= LBound(MyArray) And .Value <= UBound(MyArray) Then Target(1, 1).NumberFormat = """" & UCase(MyArray(Target(1, 1))) & """" End If End If End If End With End Sub
iPad Air, iOS 8.4