Dashboard Mode - AND and OR functions
Goal
Check if students passed both Math and English, or at least one subject, using AND and OR functions.
Check if students passed both Math and English, or at least one subject, using AND and OR functions.
| Student | Math Score | English Score |
|---|---|---|
| Alice | 85 | 78 |
| Bob | 55 | 65 |
| Charlie | 90 | 45 |
| Diana | 40 | 30 |
| Eva | 70 | 88 |
=AND(B2>=60, C2>=60)=OR(B2>=60, C2>=60)=COUNTIF(D2:D6, TRUE)=COUNTIF(E2:E6, TRUE)+----------------------+-------------------------+ | Passed Both Subjects? | Passed At Least One Subj | | (KPI Card 1) | (KPI Card 2) | +----------------------+-------------------------+ | Summary Table (Counts) | +-----------------------------------------------+ | Sample Data | +-----------------------------------------------+
Add a filter to select students by name. When you pick a student, the KPI cards and summary table update to show results only for that student.
If you filter to show only students with Math Score >= 60, which KPI card shows TRUE for all visible students?