Formulas & lookup functions — quiz
12 questions covering this module. Logical, text, date, lookup and conditional aggregation functions.
Which is safer around a lookup formula?
- IFERROR
- IFNA
- ISERROR
- IFS
Answer: IFNA — IFNA catches only #N/A, leaving genuine errors like #REF! visible.
In IFS, what does a final TRUE condition do?
- Errors out
- Acts as the catch-all else branch
- Repeats the first test
- Is ignored
Answer: Acts as the catch-all else branch — Conditions evaluate in order; a trailing TRUE always matches, giving you an else.
Why does VLOOKUP break when someone inserts a column?
- It caches results
- col_index_num is a hard-coded position
- It requires sorted data
- It only works in Tables
Answer: col_index_num is a hard-coded position — The column index is a number, so inserting a column shifts what that number points at.
Which XLOOKUP argument finds the most recent matching record?
- match_mode = -1
- search_mode = -1
- if_not_found
- match_mode = 2
Answer: search_mode = -1 — search_mode = -1 searches from the bottom up, returning the last match first.
What does #SPILL! mean?
- The formula is wrong
- Something is blocking the spill range
- The file is too large
- Circular reference
Answer: Something is blocking the spill range — The formula is valid but cannot write its results because cells in the target area are occupied.
E2# refers to:
- Cell E2 only
- The entire spill range beginning at E2
- Column E
- An error value
Answer: The entire spill range beginning at E2 — The # operator captures the full dynamic spill range, however it resizes.
XLOOKUP returns #N/A on values that look identical. First check:
- The lookup range
- Trailing whitespace — wrap both in TRIM
- The match mode
- Data types
Answer: Trailing whitespace — wrap both in TRIM — Whitespace is invisible in the cell.
Which joins a range with a delimiter and skips blanks?
- CONCAT
- TEXTJOIN
- SUBSTITUTE
- TEXTSPLIT
Answer: TEXTJOIN — The second argument controls whether empties are ignored.
Which correctly calculates complete years between two dates?
- (B2-A2)/365
- DATEDIF(A2,B2,"y")
- YEAR(B2)-YEAR(A2)
- DAYS(B2,A2)
Answer: DATEDIF(A2,B2,"y") — Subtraction and division mishandles leap years.
Grouping by =TEXT(date,"mmm") sorts:
- Chronologically
- Alphabetically
- By value
- Randomly
Answer: Alphabetically — Apr before Jan. Use a zero-padded year-month instead.
SUMIFS differs from SUMIF in that:
- It is faster
- The sum range comes first rather than last
- It allows wildcards
- It handles dates
Answer: The sum range comes first rather than last — Mixing them gives a wrong number, not an error.
To compare against a value in B1, write the criteria as:
- ">B1"
- ">"&B1
- B1
- ">=B1"
Answer: ">"&B1 — The ampersand concatenates the operator with the cell value.