Lookup and reference functions (reference)

Applies To
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016

Important

Try using the new XLOOKUP function, an improved version of VLOOKUP that works in any direction and returns exact matches by default, making it easier and more convenient to use than its predecessor.

To get detailed information about a function, click its name in the first column.

Note

Version markers indicate the version of Excel a function was introduced. These functions aren't available in earlier versions. For example, a version marker of 2013 indicates that this function is available in Excel 2013 and all later versions.

Function Description
ADDRESS function Returns a reference as text to a single cell in a worksheet
AREAS function Returns the number of areas in a reference
CHOOSE function Chooses a value from a list of values
CHOOSECOLS function
Office 365 button
Returns the specified columns from an array
CHOOSEROWS function
Office 365 button
Returns the specified rows from an array
COLUMN function Returns the column number of a reference
COLUMNS function Returns the number of columns in a reference
DROP function
Office 365 button
Excludes a specified number of rows or columns from the start or end of an array
EXPAND function
Office 365 button
Expands or pads an array to specified row and column dimensions
FILTER function Office 365 button Filters a range of data based on criteria you define
FORMULATEXT function
Excel 2013
Returns the formula at the given reference as text
GETPIVOTDATA function
Excel 2010
Returns data stored in a PivotTable report
HLOOKUP function Looks in the top row of an array and returns the value of the indicated cell
HSTACK function
Office 365 button
Appends arrays horizontally and in sequence to return a larger array
HYPERLINK function Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet
INDEX function Uses an index to choose a value from a reference or array
INDIRECT function Returns a reference indicated by a text value
LOOKUP function Looks up values in a vector or array
MATCH function Looks up values in a reference or array
OFFSET function Returns a reference offset from a given reference
ROW function Returns the row number of a reference
ROWS function Returns the number of rows in a reference
RTD function Retrieves real-time data from a program that supports COM automation
SORT function Office 365 button Sorts the contents of a range or array
SORTBY function Office 365 button Sorts the contents of a range or array based on the values in a corresponding range or array
TAKE function
Office 365 button
Returns a specified number of contiguous rows or columns from the start or end of an array
TOCOL function
Office 365 button
Returns the array in a single column
TOROW function
Office 365 button
Returns the array in a single row
TRANSPOSE function Returns the transpose of an array
UNIQUE function Office 365 button Returns a list of unique values in a list or range
VSTACK function
Office 365 button
Appends arrays vertically and in sequence to return a larger array
VLOOKUP function Looks in the first column of an array and moves across the row to return the value of a cell
WRAPCOLS function
Office 365 button
Wraps the provided row or column of values by columns after a specified number of elements
WRAPROWS function
Office 365 button
Wraps the provided row or column of values by rows after a specified number of elements
XLOOKUP function Office 365 button Searches a range or an array and returns an item corresponding to the first match it finds. If a match doesn't exist, then XLOOKUP can return the closest (approximate) match.
XMATCH function Office 365 button Returns the relative position of an item in an array or range of cells.

Important

The calculated results of formulas and some Excel worksheet functions may differ slightly between a Windows PC using x86 or x86-64 architecture and a Windows RT PC using ARM architecture. Learn more about the differences.