Students will be able to perform searches and logical tests using the operators AND, OR, NOT, >, <, =, >=, <=, <> in spreadsheet formulas and to apply these operators in the range of functions and features required by the Cambridge IGCSE ICT 0417 syllabus.
| Requirement | Covered? | Key points / notes |
|---|---|---|
| Basic arithmetic & functions (SUM, AVERAGE, IF, etc.) | ✔︎ | Operators appear inside functions, e.g. =IF(A2>50,"High","Low") |
| Order of operations (PEMDAS) & use of parentheses | ✔︎ | Arithmetic is evaluated before logical tests unless parentheses change the order. |
| Cell referencing – relative, absolute, mixed | ✔︎ | A1, \$A\$1, \$A1, A\$1 |
| Named cells/ranges | ✔︎ | Create a name (e.g. Sales) and use it: =SUM(Sales) |
| Lookup functions (VLOOKUP, HLOOKUP, XLOOKUP) | ✔︎ | Operators can be part of the lookup value; see section 7.4. |
| Conditional counting/summing (COUNTIF, COUNTIFS, SUMIF, SUMIFS) | ✔︎ | Comparison operators must be inside quotation marks, e.g. =COUNTIFS(A2:A100,">=200"). |
| FILTER (Google Sheets) / Advanced Filter (Excel) | ✔︎ | Both Google Sheets and Excel 365 support the dynamic‑array FILTER function. |
| Data validation & error checking | ✔︎ | Custom formulas often combine AND/OR, e.g. =AND(A2>0,A2<=100). |
| Formatting & presentation (number formats, conditional formatting) | ✔︎ | Conditional formatting can be driven by logical tests such as =B2<50. |
| Printing & page‑setup (margins, headers/footers) | ✔︎ | Set print area after filtering; use codes &[File], &[Page]. |
| Spreadsheet workflow (saving, exporting, sharing) | ✔︎ | Save as .xlsx for full functionality; export as .csv for raw data. |
| Operator | Meaning | Formula example | Result description |
|---|---|---|---|
| AND | True only if all conditions are true | =AND(A2>50, B2="Yes") | TRUE when A2 > 50 and B2 equals “Yes”. |
| OR | True if any condition is true | =OR(A2<20, C2="Pending") | TRUE when A2 < 20 or C2 equals “Pending”. |
| NOT | Inverts a logical value | =NOT(D2="Complete") | TRUE when D2 does not equal “Complete”. |
| Operator | Meaning | Formula example | Result description |
|---|---|---|---|
| > | Greater than | =A2>100 | TRUE if the value in A2 is larger than 100. |
| < | Less than | =B2<50 | TRUE if B2 is smaller than 50. |
| = | Equal to | =C2="Apple" | TRUE if C2 contains exactly “Apple”. |
| >= | Greater than or equal to | =D2>=75 | TRUE if D2 is at least 75. |
| <= | Less than or equal to | =E2<=30 | TRUE if E2 is 30 or lower. |
| <> | Not equal to | =F2<>"N/A" | TRUE if F2 does not contain “N/A”. |
IF, AND, OR…) are evaluated after any arithmetic inside their arguments.Example – combine arithmetic with a logical test:
=IF((A2*B2)+C2>100, "High", "Low")
A2 by B2.C2.| Reference | Type | When to use |
|---|---|---|
A1 | Relative | Changes when copied across rows or columns. |
\$A\$1 | Absolute | Never changes – ideal for constants such as tax rates. |
$A1 | Mixed (column absolute) | Column stays fixed; row adjusts when copied down. |
A$1 | Mixed (row absolute) | Row stays fixed; column adjusts when copied across. |
B2:B20).=SUM(Sales), =AVERAGE(Sales), =COUNTIF(Sales,">=200").When the criterion is a comparison, the operator must be inside quotation marks.
=COUNTIF(A2:A100,">=200") 'counts values ≥200=COUNTIFS(A2:A100,">=200", B2:B100,"<>", C2:C100,"Yes")
=SUMIF(D2:D50,">0",E2:E50) 'adds E where D > 0=SUMIFS(E2:E50, A2:A50,">=2023-01-01", B2:B50,"North")
=FILTER(A2:E100, (A2:A100>500)*(OR(B2:B100="North",B2:B100="East")))
The same formula works in Excel 365 because FILTER is a dynamic‑array function. In earlier versions of Excel use Data ► Advanced Filter with a criteria range.
=VLOOKUP(lookupvalue, tablearray, col_index, FALSE)=HLOOKUP(lookupvalue, tablearray, row_index, FALSE)=XLOOKUP(lookupvalue, lookuparray, return_array, "Not found", 0)
0 = exact match (most common in exam questions).-1 = exact match or next smaller item.1 = exact match or next larger item.Operators can be part of the lookup_value. Example – find the first price greater than 100:
=VLOOKUP(">100",A:B,2,FALSE)Validate that a numeric entry is between 0 and 100:
Data ► Data validation ► Criteria: Custom formula is=AND(A2>=0, A2<=100)
If the entry fails, an error message is displayed, reinforcing the use of AND and comparison operators.
Highlight scores below 50:
B2:B20).=B2<50 and choose a red fill.&[File] (file name) and &[Page] (page number)..xlsx for Excel, .gsheet for Google Sheets) to retain formulas, named ranges, and validation..csv when only raw data is needed (e.g., for database import).=AND(C2>=70, D2="South")
=COUNTIFS(C2:C16,">=70", D2:D16,"South")
=FILTER(A2:E16, E2:E16=TRUE)FILTER formula.E1:E2 where E1 contains the header and E2 contains TRUE..xlsx and also export the filtered data as .csv."North", not North.<> for “not equal to”. != is not recognised in spreadsheet formulas.=COUNTIF(A2:A10,">=200").AND, OR, NOT) return TRUE/FALSE; they cannot be used as arithmetic symbols.| Operator | Symbol in Formula | Typical Use |
|---|---|---|
| AND | AND(condition1, condition2, …) | All listed conditions must be true. |
| OR | OR(condition1, condition2, …) | At least one condition is true. |
| NOT | NOT(condition) | Inverts a TRUE/FALSE result. |
| > | A>B | Greater than. |
| < | A<B | Less than. |
| = | A=B | Equal to. |
| >= | A>=B | Greater than or equal to. |
| <= | A<=B | Less than or equal to. |
| <> | A<>B | Not equal to. |
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources, past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.