A distance table is the best way to understand INDEX. Cities are in rows and in columns, and the distance is at the crossing. INDEX simply reads the cell at a given row and column number. Once you see it on a map of distances, the function becomes obvious.
The following exercise shows you how to read a two-way table with INDEX.
What you will practice in this exercise
You work on a table of distances between French cities. You answer 6 questions, one formula per question:
- Distance Paris → Marseille (INDEX with row and column numbers)
- Distance Lyon → Bordeaux
- Distance Lille → Marseille
- Distance Bordeaux → Paris (the table read in the other direction)
- Distance Marseille → Lyon
- Distance Lille → Lille (the diagonal of the table)
Practice with exercises
INDEX — Distances between cities
Read a two-way table: find the distance between two cities with INDEX.
Related articles
All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.