You can create a UDFD function like the worksheet functions
=numerology(A1:B26,D1)
Create a two column table with the character in A1 to A26 and th
values in column B1 to B26. Puit the word Joy in cell D1. You ca
change the worksheet locations like any other worksheet function.
Then in VBa put the code below. From worksheet type Alt-F11. then i
VBA window from menu Insert - Module. Post the code below into th
module view window. e=Enter the formula above after the code is pu
into the module.
Function numerology(table As Range, word As String) As Variant
numerology = 0
For i = 1 To Len(word)
char = Mid(word, i, 1)
'lookup character in table
Set c = table.Columns(1).Find(what:=char, _
LookIn:=xlValues, lookat:=xlWhole)
If c Is Nothing Then
numerology = "Cannot find char : " & char
Else
numerology = numerology + c.Offset(0, 1)
End If
Next i
End Functio