Formula to convert word to numbers (A-Z = 1-26)

RicardoCubed

Board Regular
Joined
Jul 10, 2013
Messages
206
Office Version
  1. 365
Platform
  1. Windows
Looking for a formula to calculate numeric equivalent of a word, say "ATTITUDE" to the sum total of represented letters using the numeric equivalent.
For example: A T T I T U D E = 100
1+20+20+9+20+21+4+5

Would like formula to work for any length word.

A = 1
B = 2
etc

Appreciate help.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Assuming all your text is always upper case, you can use this formula in any version of Excel, but in versions prior to XL365 or XL2021 you will have to commit the formula using CTRL+SHIFT+ENTER...

=SUM(IFERROR(CODE(MID(A1,ROW($1:$99),1))-64,0))

However, Fluff is correct... you should add your Excel version number to your profile (see his message for how to do it).
 
Last edited:
Upvote 0
If you have 2021 or 365 another, similar, option
Fluff.xlsm
AB
1
2ATTITUDE100
3Hit37
Data
Cell Formulas
RangeFormula
B2:B3B2=SUM(CODE(MID(UPPER(A2),SEQUENCE(LEN(A2)),1))-64)
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.

Thanks also for updating your profile. (y)
 
Upvote 0

Forum statistics

Threads
1,215,168
Messages
6,123,408
Members
449,098
Latest member
ArturS75

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