moshin123

New Member
Joined
Jan 23, 2017
Messages
7
So i was given this question by my teacher and i solved it.

1. Copy the data onto a new worksheet.
2. It has been decided to offer a place if an applicant has a PASS in ANY THREE SUBJECTS for
the next academic year. Modify the formula to cater for the new rule.

HINT: There are 4 possibilities: (P,P,P,F), (F,P,P,P), (P, F,P,P) and (P,P,F,P). You will need to
Use both AND and OR Logical operators.
3. Change data for all possibilities and check each row’s outcome thoroughly


the solution is =IF(OR(AND(G33="Pass",H33="Pass",I33="Pass",J33="Pass"),AND(G33="Pass",H33="Pass",I33="Pass",J33="Fail"),AND(G33="Fail",H33="Pass",I33="Pass",J33="Pass"),AND(G33="Pass",H33="Fail",I33="Pass",J33="Pass"),AND(G33="Pass",H33="Pass",I33="Fail",J33="Pass")), "Yes","No")

however, the question is how would i make this shorter
and can u explain why it works
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Last edited:
Upvote 0
Do you have to use AND and OR operators? If not, you can simplify the formula to

=IF(COUNTIF(G33:J33,"Pass")>=3,"Yes","No")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,729
Members
449,049
Latest member
MiguekHeka

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top