+ Reply to Thread
Results 1 to 5 of 5

Convert words into a numeric value

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Convert words into a numeric value

    Hello,

    I am trying to convert words into a numeric value by assigning numbers to each letter. If I use ;

    A = 1
    B = 2
    C = 3 etc

    Down to, Z=26

    I have the formula , =SUMPRODUCT(CODE(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))-96) which works perfectly.

    I have been trying to create a new formula that will allow me to assign different values to the alphabet (not 1 to 26) but have not been successful.

    Most formulas I try only give me the first letter in a word. I would like to type a word in a cell and have a formula that will assign specific values to each letter and add them up. In the adjacent cell.

    Any help will be greatly appreciated.

    Thank you.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Convert words into a numeric value

    Please attach a sample workbook with the expected output for better understanding.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    08-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: Convert words into a numeric value

    Hi,

    Not sure if this is what you want but, can the value of "a" be anything...?

    In that case, you can define the value of "a" in any cell and use that as referance in your formula.

    Assuming value of "a" is defined in cell A2, use the below formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by [email protected]; 11-28-2012 at 08:07 AM. Reason: working

  4. #4
    Registered User
    Join Date
    11-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Convert words into a numeric value

    Thank you for the formula. I will try it and see how I go. I have attached a spreadsheet which might better outline what I am trying to achieve.
    It is a type of numerology. "Table A" is the values I would like to assign to letters A to Z. "Table 1" is using simple numerology with the values of the alphabet being 1 to 26 with the third column reducing the calculated value down to a number between 1 and 9. Notice how in this table the value of all the letters of the word in the cell are added together.
    In "Table 2" I am trying to achieve the same thing as "Table 1" but using the values for A to Z as listed in "Table A". So far I have been unsuccessful as the formula only calculates the value of the first letter in the word rather than calculating all the letters in the word and adding them together.
    Thank you everyone for your help.

    numerology .xlsx

  5. #5
    Registered User
    Join Date
    11-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Convert words into a numeric value

    i have found a solution on another thread but would love to see if someone could correct my equation in Table 2 to add the correct values of all the letters in the word rather than just give the value of the first letter. cheers to anyone who can help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1