+ Reply to Thread
Results 1 to 12 of 12

formula for finding best GCSE grade

  1. #1
    Registered User
    Join Date
    08-11-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    9

    formula for finding best GCSE grade

    Hi

    hope someone can help, i was asked by maths teacher if i knew how to find best GCSE grade in spreadsheet, e.g. a student has sat a maths exam in Nov and then Jan, and maybe has a predicted grade. find the best grade from the 3 coloumns but could be even more coloumns depending on how many assessments the student has done. grades will be A-G, U, X.

    thanks in advance

    H

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: formula for finding best GCSE grade

    You may try:
    =IFERROR(CHAR(MIN(CODE(UPPER(A1:M1)))),"")
    entered by pressing Ctrl+Shift+Enter
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Registered User
    Join Date
    08-11-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: formula for finding best GCSE grade

    Hi, i have attached a file to better explain what i mean, thank you
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: formula for finding best GCSE grade

    Izandol's solution works like a charm, just use B2:D2 instead of A1:M1

  5. #5
    Registered User
    Join Date
    08-11-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: formula for finding best GCSE grade

    Sorry, do i enter the code =IFERROR(CHAR(MIN(CODE(UPPER(B2:D2)))),"") in cell E2?

    i just tried this but get a blank cell, but when i click on fx it is showing formula result as correct, e.g. first row as A

    thanks

  6. #6
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: formula for finding best GCSE grade

    You probably forgot to confirm the formula with Control+Shift+Enter. (Not just Enter.)

  7. #7
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: formula for finding best GCSE grade

    Yes it is entered in cell E2 but must be entered by Ctrl+Shift+Enter and not Enter alone. In the formula bar you will see:
    {=IFERROR(CHAR(MIN(CODE(UPPER(B2:D2)))),"")}
    if you have done this correctly.

  8. #8
    Registered User
    Join Date
    08-11-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: formula for finding best GCSE grade

    thanks Izandol and estige it was my mistake bt not Ctrl+Shift+Enter.

    just want to check if i understand the code, CHAR = ABC, etc and min would be starting from A, upper = Z

    is it possible for this to work if the grades coloumns are not next to each other and theres other coloumns inbetween that might have numbers but i dont want to use them.

  9. #9
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: formula for finding best GCSE grade

    Your understanding is correct.

    You may use:
    =IFERROR(CHAR(MIN(CODE(UPPER(IF(ISNUMBER(--(B2:M2&"0")),"Z",B2:M2))))),"")
    this will ignore blank cells and numbers.

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

    Re: formula for finding best GCSE grade

    this non array does the same thing as the first formula
    =IFERROR(CHAR(MIN(INDEX(CODE(UPPER(B2:D2)),0))),"")
    "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

  11. #11
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: formula for finding best GCSE grade

    Here is one possibility if you want to look up cells that are not in a range (e.g. col B, D and F in stead of B, C and D):
    =IFERROR(CHAR(MIN(CODE(UPPER(B2)),CODE(UPPER(D2)),CODE(UPPER(F2)))),"")
    (Still array)

  12. #12
    Registered User
    Join Date
    08-11-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: formula for finding best GCSE grade

    thanks to everyone for the help

+ 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. finding grades based on grade range
    By vsbhogar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2013, 08:29 AM
  2. Conditional formatting to reflect exam grade compared to predicted grade
    By strangecharm in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-20-2012, 09:33 AM
  3. Student grade inputting and grade percentage calculations
    By confusedteacher in forum Excel General
    Replies: 2
    Last Post: 10-23-2011, 07:50 PM
  4. GCSE STUDENT MATHS COURSEWORK HELP!! Creating a Broken Trend
    By Lord_Saruxi in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-27-2006, 02:59 PM
  5. Gcse Student In Desperate Need Of Help!!!
    By Lord_Saruxi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-27-2006, 02:15 PM

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