LearnExcel.io
Menu

Excel Lookup & Reference Functions

Written by ··Updated June 16, 2026

Excel’s Lookup & Reference functions let you search for values, pull data from other rows or columns, and build dynamic references that update as your data changes. The most-used ones are VLOOKUP, HLOOKUP, INDEX, MATCH, and the modern XLOOKUP, which together cover almost every lookup task you’ll meet in a spreadsheet.

Excel’s Lookup & Reference functions are essential for retrieving and managing data within a spreadsheet.

These functions allow you to search for specific values, reference data across ranges, and manipulate table structures.

Understanding how to use these Excel functions effectively can significantly enhance your ability to analyze and organize data in Excel.

This guide will explore some of the most commonly used Lookup and reference functions, their syntax, and practical applications. For step-by-step walkthroughs of the most popular ones, see our detailed guides on VLOOKUP, XLOOKUP, INDEX/MATCH, HLOOKUP, and MATCH — or start with the complete guide to Excel lookups.

Excel Lookup & Reference Functions Explained

Excel FunctionDescription
COLUMNReturns the column number of a specified cell. Useful for identifying the column position in formulas.
COLUMNSReturns the number of columns in a specified range or array. Helpful for dynamic range references in formulas.
HLOOKUPSearches for a value in the top row of a table and returns a value in the same column from a specified row.
INDEXReturns the value at a specified position in a range or array. Often used with MATCH for flexible lookups.
INDIRECTReturns the reference specified by a text string. Useful for creating dynamic cell references.
MATCHReturns the relative position of a lookup value in a range or array. Essential for index-based lookups.
OFFSETReturns a reference offset from a given starting point by a specified number of rows and columns.
ROWReturns the row number of a specified cell. Useful for identifying the row position in formulas.
ROWSReturns the number of rows in a specified range or array. Helpful for dynamic range references in formulas.
VLOOKUPSearches for a value in the first column of a table and returns a value in the same row from a specified column.
XLOOKUPA modern alternative to VLOOKUP and HLOOKUP that allows for flexible lookups in any direction with improved functionality.
FILTERFilters a range of data based on specified criteria. Ideal for extracting subsets of data based on conditions.

By mastering these Lookup & Reference functions, you can efficiently manage and analyze data in Excel, making your spreadsheets more powerful and insightful.

In addition to the functions listed, here are some additional Excel Lookup & Reference functions that can be useful:

Excel FunctionDescription
ADDRESSReturns a cell reference as a text string, given the row and column numbers.
CHOOSEChooses a value from a list of values based on an index number. Useful for creating dynamic formulas.
FORMULATEXTReturns the formula as a text string in a given cell. Useful for analyzing or documenting formulas in a spreadsheet.
HYPERLINKCreates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet.
LOOKUPPerforms a lookup of a value in a one-column or one-row range and returns a value from the same position in a second range.
TRANSPOSETransposes the rows and columns of an array or range. Useful for changing the orientation of data.
XMATCHA modern alternative to MATCH that provides more options for match types and search orders, available in Excel for Office 365 users.

Tips for Using Lookup & Reference Functions:

  • Combine Functions: Use multiple Lookup & Reference functions together to create more complex formulas.
  • Data Validation: Use these functions to validate data entries based on a reference list or range.
  • Dynamic Ranges: Utilize functions like OFFSET and INDIRECT to create dynamic ranges that adjust automatically as your data changes.

Common Pitfalls and How to Avoid Them:

  • Incorrect Range References: Ensure that your range references are accurate, especially when using functions like VLOOKUP or INDEX.
  • Array Formulas: Some functions, like INDEX, may require entering the formula as an array formula (using Ctrl + Shift + Enter) in older versions of Excel.
  • Match Types: Be cautious with the match type argument in functions like VLOOKUP and XMATCH to ensure you get the expected results.

Frequently Asked Questions

What’s the difference between VLOOKUP, XLOOKUP, and INDEX/MATCH?

All three retrieve a value from a table. VLOOKUP is the simplest but can only look right of the search column and breaks if columns are inserted. INDEX/MATCH pairs two functions to look in any direction and is more robust to column changes. XLOOKUP is the modern replacement for both — it searches any direction, has a built-in “if not found” argument, and needs no column index number. See our full XLOOKUP vs VLOOKUP vs INDEX/MATCH comparison for a side-by-side breakdown.

When should I use each lookup function?

Use VLOOKUP for quick lookups where the return value is to the right of the search column and the table layout is stable. Use INDEX/MATCH when you need to look left, or when columns are likely to be added or moved. Use XLOOKUP if you have Excel 365 or 2021 — it handles every case more cleanly. For a value across a row instead of a column, use HLOOKUP.

What’s the difference between HLOOKUP and VLOOKUP?

HLOOKUP searches for a value in the top row of a table and returns a value from a specified row in the same column. VLOOKUP searches the first column and returns a value from a specified column in the same row. In short: HLOOKUP works horizontally across rows, VLOOKUP works vertically down columns. See the HLOOKUP guide for examples.

How can I use VLOOKUP to return multiple values?

A single VLOOKUP returns only the first match. To return multiple values for one lookup key, combine INDEX and MATCH with helper columns, or use XLOOKUP or FILTER in Excel 365 to spill all matching results into a range.

What does MATCH do on its own?

The MATCH function returns the position (a number) of a lookup value within a row or column rather than the value itself. It’s most useful paired with INDEX, where MATCH finds the position and INDEX returns the value at that position — the basis of the flexible INDEX/MATCH technique.

How do I avoid #N/A errors in lookups?

#N/A means the lookup value wasn’t found. Common causes are extra spaces, mismatched data types (text vs. number), or using approximate match by accident. Set the last argument of VLOOKUP/HLOOKUP to FALSE for an exact match, wrap the formula in IFERROR to show a friendly message, or use XLOOKUP’s built-in if_not_found argument. Our complete guide to Excel lookups covers troubleshooting in depth.

Related guides

How To

How to Use Lookup in Excel

This blog post is a comprehensive guide on how to use Lookup in Excel. Learn to use Lookup functions to look for specific data within your spreadsheet to increase efficiency.

May 20, 2023

View all Excel Formulas and Functions guides →