+ Reply to Thread
Results 1 to 6 of 6

Creating a PASS or Fail Condition - School Schedules

  1. #1
    Registered User
    Join Date
    07-20-2010
    Location
    South Afriva
    MS-Off Ver
    Excel 2003
    Posts
    3

    Post Creating a PASS or Fail Condition - School Schedules

    I have created a spreadsheet that calculates Learnersí marks. Iíve got all totals, averages, but my problem is creating a condition that will give me a final remark, determining a PASS or FAIL of a learner.

    Creteria for promotion:

    1. A learner must have obtained a minimum of 40% in English (itís a must);
    2. Must atleast have 2 more 40% in any of the subjects;
    3. Lastly, a learner must atleast achieve 30% in any of the remaining subjects;

    Meaning 3 of 40% (1 from english and any other 2 subjects) and 3 of 30% from any of the remaining subjects.

    Please help, I am busy working on the school mark schedules
    Attached Files Attached Files
    Last edited by phanuelmas; 07-21-2010 at 03:55 AM. Reason: I was adding an attachment - Dammy

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

    Re: Creating a PASS or Fail Condition - School Schedules

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: Creating a PASS or Fail Condition - School Schedules

    As outlined already a sample file will help as the setup is not very clear...

    For ex. is English always in A1 etc ?
    Are the values in the cells the numeric marks only (45) or are they strings (English = 45) ?

    Based on:

    Quote Originally Posted by phanuelmas
    3 of 40% (1 from english)
    3 of 30% from the remaining subjects.
    and assuming per your sample that English mark is always in A1 and that the cells contain the numeric marks only:

    =IF(AND(A1>=40,SMALL(A2:A7,2)>=40,SMALL(A2:A7,5)>=30),"Pass","Fail")

    above edited: missing an argument
    Last edited by DonkeyOte; 07-21-2010 at 03:16 AM.

  4. #4
    Registered User
    Join Date
    07-20-2010
    Location
    South Afriva
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Creating a PASS or Fail Condition - School Schedules

    I've included an attachment for better reference. thank for your reply

  5. #5
    Registered User
    Join Date
    07-20-2010
    Location
    South Afriva
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Creating a PASS or Fail Condition - School Schedules

    Quote Originally Posted by royUK View Post
    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    I've included an attachment. thanks for you response.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: Creating a PASS or Fail Condition - School Schedules

    Still not crystal clear, however, adapting the prior suggestion per the attachment

    K6:
    =IF(A6="","",IF(AND(B6>=40,SMALL(C6:H6,2)>=40,SMALL(C6:H6,5)>=30),"Pass","Fail"))
    copied down

+ 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