+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Convert a letter to a number

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    Brisbane, Australa
    MS-Off Ver
    Excel 2007
    Posts
    1

    Convert a letter to a number

    Hi there, really sorry if this is a basic newbie question which I am sure it is! I have surfed through the threads so far and done a bit of Googling but am still lost. I am getting stuck between, VLOOKUPs, If - then- and also the Substitute option but really have no idea

    On a sheet I have several cells containing a drop down box with the options of E,H,G,L

    I would then like to use a formula which will take that value and convert it to a number in another cell in the next column or so over so I might create a graph from the numerical values.

    EG: a selection of E in the drop down would put a 10 in another cell, a selection of H in the drop down would put an 8 in another cell, a selection of G in the drop down would put a 6 in another cell and a selection of L in the drop down would put a 3 in another cell.

    Sorry to break it down so much for all you experts but I am trying to hit a deadline and am starting to get desperate as I can't nut this out to complete my work! Any help would be greatly appreciated!
    Cam

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936

    Re: Convert a letter to a number

    Your explanation is very vague. You said "... On a sheet I have several cells ..."
    Then you said:
    "...a selection of E in the drop down would put a 10 in another cell, a selection of H in the drop down would put an 8 in another cell..."

    Hum?? "... another cell..." Does that mean that the "other cell" depends on the value selected from the dropdown?? Hopefully, you meant the same cell but different values in that cell based on the dropdown choice.

    Now, working with the vagueness, say your dropdown is in A1 and you want the value in "... another cell ..." to reflect A1. Then in
    ... that other cell ...
    put something like:
    Please Login or Register  to view this content.

    P.S. sample workbooks help so much ......
    Last edited by protonLeah; 10-25-2011 at 10:43 PM.
    Ben Van Johnson

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Convert a letter to a number

    See if this workbook is on the lines you are thinking.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,254

    Re: Convert a letter to a number

    Hi Cam and welcome to the forum.

    You could also create a VLookup Table with the letters and the numbers next to them. Use this table to return the numbers for the letters.
    See the attached for the example.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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