About this lesson

D6 LESSON 26 · PASS

INDEX and MATCH: lookups to the left and two-way lookups

INDEX and MATCH look up in any direction: =INDEX(A2:A8,MATCH(B10,E2:E8,0)) finds B10 in column E and returns column A, which VLOOKUP can't. With two MATCHes it's a two-way lookup: =INDEX(B2:D8,MATCH(B11,A2:A8,0),MATCH(B12,B1:D1,0)). For one-direction lookups, XLOOKUP, a newer function in Microsoft 365 and Excel 2021, has replaced it: =XLOOKUP(B10,E2:E8,A2:A8).

Using Google Sheets? Do this lesson in Sheets.

=INDEX(A2:A8,MATCH(B10,E2:E8,0))

What you'll practise

Use INDEX and MATCH to look up a company from a ticker in the last column, pull one company's EBITDA for one year with a two-way lookup, then redo the first lookup with XLOOKUP.

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

  • INDEX and MATCH
  • left lookup
  • two-way lookup
  • XLOOKUP

The data

ABCDE
1EBITDA ($m)FY25FY26FY27Ticker
2Kimberley Cement148.6162.3171.9KMC
3Tasman Ports362.1388.4409.7TSP
4Otway Foods89.497.1104.8OTW
5Quokka Software58.274.693.5QSW
6Mallee Grain92.788.995.3MLG
7Coral Coast Resorts54.861.566.2CCR
8Wombat Energy228.5241.7236.4WBE
9
10TickerOTW
11Company
12YearFY26
13EBITDA ($m)

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.