+ Reply to Thread
Results 1 to 5 of 5

How do I replace text with numbers?

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    NY
    MS-Off Ver
    excel 2010
    Posts
    3

    How do I replace text with numbers?

    I'm trying to quickly analyze essentially letter grades for my sister's high school, by creating a frequency graph and trying to quickly check for any patterns, yet it won't let me use the =freq () function as long as I'm using the letters themselves as the labels. Help!

    And if I were trying to create an average or a standard deviation for it, would i have to change the letter grades to a number representation, or can I just use the letters themselves?

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

    Re: How do I replace text with numbers?

    Attach a sample workbook.

    When you are in Advanced reply, click on the paperclip to open the upload window.

    View Pic
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    12-13-2012
    Location
    NY
    MS-Off Ver
    excel 2010
    Posts
    3

    Re: How do I replace text with numbers?

    Essentially, what I'm attempting to do is to create a macro that would "letter 1" and "FINAL" columns and correlate it to a number A-Z:1-26, so that I can calculate a difference between letter 1 and the final score, so that I can analyze how well each teacher is doing on the whole. Or is there an easier way to approach this?
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How do I replace text with numbers?

    you could use 2 helpers to convert to numbers
    =CODE(SUBSTITUTE(B2,"*",""))-64 and =CODE(SUBSTITUTE(D2,"*",""))-64
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    12-13-2012
    Location
    NY
    MS-Off Ver
    excel 2010
    Posts
    3

    Re: How do I replace text with numbers?

    Thank you. One more question. How do I create a formula on a separate worksheet that references back to another worksheet? In this instance, I'm trying to get the average of the grades of students, and simply put it on a new worksheet so that my information is simply more organized.

+ 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