1. Excel basics: INDEX / MATCH, XLOOKUP, IFERROR and a two-way lookup
Back to all drills

Excel basics: INDEX / MATCH, XLOOKUP, IFERROR and a two-way lookup

Excel, medium, about 10 minutes

Brief

The deal team sends five target codes. Look up company name, sector and for each from the database above. One code does not exist: show n/a instead of an error. Then find the company with the highest EV, and look up the sector multiple for the chosen sector and year. , VLOOKUP or XLOOKUP are all fine.

Underlined terms can be tapped for a short explanation.

New to this? Read the intro and key terms

Your goal

Learn to pull data from a table by a key instead of copying it by hand. MATCH finds the row, INDEX returns the value, IFERROR catches keys that do not exist. Two MATCHes inside one INDEX look up by row and column at the same time.

Why this matters on the job

Lookups connect every model to its data: comps databases, mapping tables, scenario switches. INDEX / MATCH also works in older Excel versions that clients still use.

Terms used in this task

INDEX / MATCH
Two functions used together to look up a value: MATCH finds the position of a key in a column, INDEX returns the value at that position from another column. Works left and right, unlike VLOOKUP.
Multiple (EV / EBITDA)
A price tag relative to earnings. 9.0x EV / EBITDA means the business is valued at nine times its yearly EBITDA. Multiples make companies of different size comparable.
Median
The middle value of a sorted list. Unlike the average, one extreme peer does not drag it up or down, so it is the usual reference in a peer table.
Absolute reference ($)
A cell reference with dollar signs, such as $B$15. It stays fixed when you fill a formula across a row, which is what you want for one-off inputs like a tax rate.

Background reading

Formulas for this task: Lookups

Your work

Recommended: the tool you use on the job.

  1. 1. Download the workbook

    Inputs are in blue, the cells you fill are yellow. The brief is on the second sheet.

  2. 2. Build it in Excel and save

    Every yellow cell needs a formula. Keep the layout and the sheet names, and save as .xlsx.

  3. 3. Upload your file