About this lesson

D9 LESSON 28 · PASS

XMATCH: finding positions in a telco's plan line-up in Google Sheets

In Google Sheets, XMATCH returns the position of a value in a list and matches exactly unless told otherwise: =XMATCH(B10,A2:A8). It's the newer version of MATCH. It can find the next smaller value without a sorted list, search from the bottom, and give INDEX a row and a column: =INDEX(D2:E8,XMATCH(B10,A2:A8),XMATCH(B12,D1:E1)).

Using Excel? Do this lesson in Excel.

=XMATCH(B10,A2:A8)

What you'll practise

Find a plan's row and a quarter's column with XMATCH and hand both to INDEX, pick the dearest plan under a budget from unsorted prices, and find the newest Home plan by searching from the bottom.

4 steps · 40 points · the cells outlined in gold below

  • XMATCH
  • INDEX with XMATCH
  • approximate match on unsorted data
  • search from the bottom

The data

ABCDE
1PlanTypePrice ($)Q3 FY26Q4 FY26
2Mobile LiteMobile25412.6398.1
3Home 50Home75288.3281.7
4Mobile PlusMobile45236.9251.4
5Business ProBusiness9564.267.8
6Home 100Home90173.5186.2
7Mobile MaxMobile6598.4117.3
8Home 250Home11041.752.9
9
10PlanMobile Plus
11Row
12QuarterQ4 FY26
13Column
14Subscribers (k)
15
16Budget ($)70
17Dearest plan
18Newest Home plan

Semester pass · A$49 for six months

This drill comes with the semester pass.

Every lesson, for A$49 every six months. Cancel any time and you keep the pass until the six months you've paid for run out.