Ghost Sheet

MATCH with 1: which band a value falls in

How do I find a band with INDEX and MATCH?

This is the task for this topic. It is part of the plan; the level check before it is free.
C2Type a formula for C2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1NameYears of serviceLeave days
2Grace Obi9.1
3Tomas Novak6.1
4Lena Park2
5Omar Haddad13.2
6Ravi Menon12.3
7Eli Brooks5
8Nora Kelly3
9Felix Wong4.4
10Maya Singh10
11Owen Reyes13.6
12Iris Lund16
13
14
15
16
17
18
19
20
21
22
23
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
MATCH(value, sorted column, 1) gives the position of the last band start that is not above the value; INDEX then returns that band’s result. It is the approximate lookup that works in every version and on any column order.
The shape of the formula
=INDEX(results, MATCH(value, sorted band starts, 1))
How to remember it
1 in MATCH means “the step I am standing on”.
The usual mistake
Using 1 on an unsorted list. MATCH stops at the wrong place without any error.

Keep practicing

Updated