+ Reply to Thread
Results 1 to 6 of 6

formula to determine students' final restult based on multiple criteria

  1. #1
    Registered User
    Join Date
    11-19-2007
    Posts
    7

    formula to determine students' final restult based on multiple criteria

    Hello.

    How do I make a formula that gives the result (pass/fail) of students' grade based on an exam. They must pass Mathematics, English and Science. If they fail any of these core subjects, they will fail the exam. They must also pass either Geography or History.
    E.g
    if a student passes all three of the core subjects but fail both Geography and History, he fails.
    If a student passes all three core subject but only fails in Geography, he passes.

    I hope my question is not confusing. I tried the "if" function but got confused because of the different criteria needed to get the result.

    Any help is greatly appreciated.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Assuming you show "pass" or "fail" in 5 cells, e.g. A2:E2, A2:C2 are the compulsory passes.

    =IF(AND(COUNTIF(A2:C2,"pass")=3,COUNTIF(D2:E2,"pass")>0),"pass","fail")

  3. #3
    Registered User
    Join Date
    11-19-2007
    Posts
    7
    I'm sorry for not being clear the first time. My mistake.

    From the attached picture: blue cells = must pass; yellow cells = must pass at least one subject; grey cells = result.

    Grades A, B, C, D = pass
    Grade U = Fail

    Picture 4.png

    Thank you for the fast response

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If your first grades are in row 4 try this formula in AE4 copied down

    =IF(AND(SUM(Z4:AC4)>3,F4<>"U",J4<>"U",L4<>"U"),"P","F")

  5. #5
    Forum Contributor
    Join Date
    10-08-2006
    Location
    Walnut, CA
    MS-Off Ver
    2003,2010, Office 365
    Posts
    114
    Or this on cell AE4
    =IF(OR(F4="U",J4="U",L4="U"),"F",IF(AND(P4="U",V4="U"),"F","P"))

  6. #6
    Registered User
    Join Date
    11-19-2007
    Posts
    7

    Smile

    That worked great, 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