Logical Functions
Advanced

At least two of three

A majority rule that AND and OR cannot express on their own.

Task:

A candidate goes through to final interview when at least two of the three interviewers voted Yes. In E2:E6 show Through or Not through.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

6 rows × 5 columns5 cells you fill in
ABCDE
1CandidatePanel 1Panel 2Panel 3Result
2C-11YesYesNo
3C-12NoYesNo
4C-13YesYesYes
5C-14NoNoNo
6C-15YesNoYes
What this exercise teachesMay contain the answer

Two of three can be written as OR of three ANDs — (1 and 2) or (1 and 3) or (2 and 3) — but that grows badly with every extra panel member. Counting votes and comparing with a threshold stays one line however big the panel gets. COUNTIF(B2:D2,"Yes")>=2 is the same idea when the cells sit side by side.