+ Reply to Thread
Results 1 to 8 of 8

Formula for pass,fail,credit(if,and,or)

  1. #1
    Registered User
    Join Date
    10-31-2013
    Location
    ireland
    MS-Off Ver
    Excel 2013
    Posts
    12

    Formula for pass,fail,credit(if,and,or)

    Hi Everyone I'm trying to know the formula to get make the rating say fail,pass,or credit as i have had a mess around with the if formula to no avail ill post the file as I,ve been at it for over 2 hours I'm a beginner and I don't know where else to turn
    I'm suppose to say if any of the 3 marks are under 60 its a fail,all over 60 is a pass and all over 80 is a credit,Its task 2 in the attachment
    I've tried =IF(B2>=60,AND(C2>=60,AND(D2>=60,"PASS","FAIL",)OR (B2>=80,AND(C2>=80,AND(D2>=80,"CREDIT") to no avail
    Attachment below any help is much appreciated
    Task 2
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula for pass,fail,credit(if,and,or)

    Try

    =IF(MIN(B2:D2)>=80,"Credit",IF(MIN(B2:D2)<60,"Fail","Pass"))

  3. #3
    Registered User
    Join Date
    10-31-2013
    Location
    ireland
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: Formula for pass,fail,credit(if,and,or)

    You Absolute star Jonmo1 thank you so much worked perfectly

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula for pass,fail,credit(if,and,or)

    Glad to help, thanks for the feedback..

    You could also use

    =LOOKUP(MIN(B2:D2),{0,60,80},{"Fail","Pass","Credit"})

  5. #5
    Registered User
    Join Date
    10-31-2013
    Location
    ireland
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: Formula for pass,fail,credit(if,and,or)

    Tried both and they both work thanks very much

  6. #6
    Administrator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,147

    Re: Formula for pass,fail,credit(if,and,or)

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  7. #7
    Registered User
    Join Date
    05-02-2016
    Location
    Bangladesh
    MS-Off Ver
    2007
    Posts
    1

    Re: Formula for pass,fail,credit(if,and,or)

    here what means by MIN?

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    16,518

    Re: Formula for pass,fail,credit(if,and,or)

    MIN is the MINIMUM (smallest) value

+ 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. Creating a formula to establish Pass/Fail Values
    By born2teachsc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-24-2013, 05:21 PM
  2. [SOLVED] Need a formula for pass/fail based on no. of Y answers but automatically fail if 3a is N
    By Researcher1111 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-15-2013, 10:20 PM
  3. Need a formula to Pass/Fail data entered based on several variables....
    By smurf0617 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2013, 01:10 PM
  4. Help with Pass / Fail Formula
    By milovisk in forum Excel General
    Replies: 4
    Last Post: 03-20-2012, 02:57 PM
  5. Formula Help with Pass/Fail function
    By Spyroviper in forum Excel General
    Replies: 3
    Last Post: 02-04-2009, 01:02 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