+ Reply to Thread
Results 1 to 5 of 5

Giving grades a numerical value

  1. #1
    Registered User
    Join Date
    08-29-2014
    Location
    London, England
    MS-Off Ver
    Office 2010
    Posts
    7

    Giving grades a numerical value

    Hi all,

    As part of a bigger document that shows students the grade they have achieved after every 8 weeks ("a module") I came across a problem with the maths part of working out the students grade.

    The students are assessed over 4 different topics (A, B, C & D) all of which are worth equal weighting.

    Each student receives a "fine level" from a drop down list from cell AD4:AD25.

    I gave each fine level grade a numerical value, seen in cell I5.

    The issue that occurred this year is when a student receives different fine levels, the 'current working level' is skewed. The example shown in the attached should show 'Prep3' instead of 'Prep2'.

    I tried using an average in cell I10 instead but still could not work it out.

    I would like a much more robust way of working out the 'current working level' as an "average" from levels 'A' 'B' 'C' 'D' instead of a skewed level.

    Any help much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Giving grades a numerical value

    I changed your 20 nested ifs to this

    =VLOOKUP(E5,$AD$5:$AE$25,2,FALSE)

    and your sum() to average()

    if this is what you want you can change the other formulas by copying and pasting. See attached
    Attached Files Attached Files
    Happy with my advice? Click on the * reputation button below

  3. #3
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Giving grades a numerical value

    Yikes so first off you can use a simple VLOOKUP instead of that nasty IF statement.
    Take a look at the attached for a MUCH more simple way to manage nested ifs.

    Secondly, I have no idea what you are wanting help on.
    What cell are you wanting logic in? What logic do you want in it?
    Attached Files Attached Files
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Giving grades a numerical value

    Oh and by the way if the NA in your drop down is to capture the event when you get no values and an #NA error change the formula to

    =IFERROR(VLOOKUP(E5,$AD$5:$AE$25,2,FALSE),0.1)

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,882

    Re: Giving grades a numerical value

    First of all, you can simplify the formula you have in I5 to this:

    =IF(E5="NA",0.1,MATCH(E5,AD$6:AD$25,0))

    then copy down to I8. You can change the formula in I10 to this:

    =AVERAGE(I5:I8)

    and then you can change the formula in E10 to this:

    =IF(I10<1,"NA",INDEX(AD$6:AD$25,INT(I10)))

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Giving a letter a numerical value
    By imnotgoodatexcel in forum Excel General
    Replies: 20
    Last Post: 04-08-2014, 08:47 PM
  2. Replies: 3
    Last Post: 09-10-2012, 03:08 PM
  3. Converting certain grades to certain numerical values
    By breyenc in forum Excel General
    Replies: 5
    Last Post: 10-17-2010, 07:25 AM
  4. Comparing grades (text) to give a numerical score
    By andy_27 in forum Excel General
    Replies: 12
    Last Post: 11-04-2009, 09:33 AM
  5. [SOLVED] Giving Text a Numerical Value
    By ryanklein in forum Excel General
    Replies: 4
    Last Post: 03-21-2006, 11:35 PM
  6. Giving a letter a numerical value
    By Mullet2262 in forum Excel General
    Replies: 5
    Last Post: 03-08-2006, 09:23 PM
  7. [SOLVED] Giving Months Numerical Values
    By luvthavodka in forum Excel General
    Replies: 1
    Last Post: 12-09-2005, 07:00 AM

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