+ Reply to Thread
Results 1 to 5 of 5

Using VLOOKUP with letter grades to GPA number

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    Texas, USA
    MS-Off Ver
    Excel 2013
    Posts
    30

    Using VLOOKUP with letter grades to GPA number

    I am using a vlookup table to insert the numerical grade of a letter grade (B+ = 3.27, B = 3, B- = 2.37, etc) for GPA computation. It will only pull the first two grades (B = 3, B+ = 3.27). For the third grade (B-), it inserts the numerical grade for the first grade (B- = 3, not 2.37).

    Can you help me figure out how to get this so it will insert the correct numerical grade for the minus (A-, etc) grades? What formula am I missing?

    Thank you for any help you can give.
    Attached Files Attached Files
    Last edited by Sheila3434; 11-01-2012 at 01:06 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Using VLOOKUP with letter grades to GPA number

    the first formula in H13 should be: =VLOOKUP(F13,Table1,2,0)


    you were missing the 4th vlookup parameter. With 0, the matches are exact and will return the values when exact matches are found.

    With 1 or if it is omitted, the matches are "Fuzzy" and are only suited for tables where the search values are sorted correctly. A- and A behave oddly in that scenario. Include the "0" to resolve the issue.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-01-2012
    Location
    Texas, USA
    MS-Off Ver
    Excel 2013
    Posts
    30

    Re: Using VLOOKUP with letter grades to GPA number

    THANK YOU!!!! I did not know to add the 4th parameter. It works like a charm now. (To think I have spent years fussing with this trying to get it to work!!)

    I did not know that this site existed; but will not forget it.
    Last edited by Sheila3434; 11-01-2012 at 02:06 PM. Reason: misspelled word

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Using VLOOKUP with letter grades to GPA number

    I have marked this thread solved for you.
    In the future please select Thread Tools from the menu above and mark the thread as solved. Thanks.

  5. #5
    Registered User
    Join Date
    11-01-2012
    Location
    Texas, USA
    MS-Off Ver
    Excel 2013
    Posts
    30

    Re: Using VLOOKUP with letter grades to GPA number

    Thank you again. I thought I had seen something about marking this as solved; but couldn't locate it. I will know in the future.

+ 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