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

1. ## 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

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

Try

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

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

You Absolute star Jonmo1 thank you so much worked perfectly

4. ## 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. ## Re: Formula for pass,fail,credit(if,and,or)

Tried both and they both work thanks very much

6. ## 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 -

Incase your issue is not solved, you can undo it as follows -

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.

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

here what means by MIN?

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

MIN is the MINIMUM (smallest) value

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

#### 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