Cellgrids Cellgrids
Home › Excel formulas › Lookup and Reference functions

Excel Lookup and Reference Functions: Full List with Examples

By Rinkesh Shah, founder of Cellgrids.

Lookup and reference functions find a value in a table or point to another cell. VLOOKUP, XLOOKUP, INDEX and MATCH sit here and are the most asked functions in Excel interviews. Open any function for its syntax, arguments, a worked example and a free practice spreadsheet.

FunctionWhat it does
VLOOKUPLooks up a value in the first column of a range and returns a value from another column, same row.
HLOOKUPLike VLOOKUP but searches across the first row and pulls a value down a column.
XLOOKUPThe modern replacement for VLOOKUP — searches any column and returns from any other, no column counting needed.
INDEXReturns the value at a given row/column position within a range.
MATCHFinds the position of a value within a range — usually paired with INDEX.
CHOOSEPicks one value from a list based on a position number.
INDIRECTTurns a text string into an actual cell reference.
OFFSETReturns a range that's a certain number of rows/columns away from a starting cell.
ADDRESSBuilds a cell address as text from a row and column number.
ROWReturns the row number of a reference.
COLUMNReturns the column number of a reference.
ROWSCounts how many rows are in a range.
COLUMNSCounts how many columns are in a range.
TRANSPOSEFlips a range from rows to columns or vice versa.
LOOKUPA simpler, older lookup formula — requires sorted data.
FILTERReturns only the rows of a range that match a condition.
SORTSorts a range automatically as a formula, without changing the original data.
UNIQUEReturns a list of distinct values from a range.
HYPERLINKCreates a clickable shortcut that jumps to another location.
GETPIVOTDATAPulls a specific value out of a PivotTable.
AREASReturns the number of separate areas in a reference.
FORMULATEXTReturns a formula as text, so you can see it displayed in another cell.
XMATCHThe modern replacement for MATCH — more flexible matching and search options.
TAKEReturns a set number of rows or columns from the start or end of an array.
DROPExcludes a set number of rows or columns from an array.
EXPANDExpands an array to a specified size, padding with a chosen value.
HSTACKCombines arrays side by side into one array.
VSTACKCombines arrays on top of each other into one array.
TOCOLReturns an array as a single column.
TOROWReturns an array as a single row.
CHOOSEROWSReturns specific rows from an array by their position.
CHOOSECOLSReturns specific columns from an array by their position.
RTDRetrieves real-time data from a program that supports COM automation.
INDEX + MATCHCombines INDEX and MATCH to look up a value — more flexible than VLOOKUP since it can look left and doesn't break if columns are inserted.
VLOOKUP + IFERRORWraps VLOOKUP in IFERROR so that a failed lookup shows a clean message instead of a #N/A error.
INDEX + MATCH (2-way lookup)Uses two MATCH functions inside one INDEX to look up a value at the intersection of a specific row AND column — a 2D lookup.
INDEX + MATCH + IFERRORWraps an INDEX+MATCH lookup in IFERROR so a missing value shows a clean message instead of #N/A.
VLOOKUP + MATCH (dynamic column)Uses MATCH to find which column number to pull from, so VLOOKUP still works correctly even if columns get reordered.
XLOOKUP + IFNAWraps XLOOKUP in IFNA to show a clean fallback message when the lookup value isn't found.
INDEX + MATCH (multiple criteria)Uses an array-style MATCH to find a row that satisfies two conditions at once, then returns a value from that row.
HLOOKUP + MATCH (dynamic row)Uses MATCH to find which row number to pull from a horizontally laid-out table, instead of hardcoding it.
INDEX + MATCH + MAX (find the top item)Finds the highest number in a range, then uses MATCH+INDEX to pull back the LABEL associated with it.
INDEX + MATCH + MIN (find the bottom item)Finds the lowest number in a range, then uses MATCH+INDEX to pull back the LABEL associated with it.
INDEX + SMALL + IF (nth match, array formula)An advanced array formula that returns the Nth matching result when multiple rows meet the same condition (VLOOKUP only ever returns the first).
VLOOKUP + CHOOSE (reversed lookup)Uses CHOOSE to rearrange columns on the fly, letting VLOOKUP look up a value using a column that's positioned AFTER the result column (which plain VLOOKUP can't do).
INDEX + MATCH with wildcardsUses wildcard characters inside MATCH to find a partial text match instead of requiring an exact match.
VLOOKUP + ROW (fill down variant)Uses ROW() to automatically shift which row of results a dragged-down VLOOKUP pulls from.
INDEX + OFFSET + MATCH (dynamic lookup range)Combines OFFSET (to build a range that grows with the data) with INDEX+MATCH so the lookup keeps working as rows are added.
INDIRECT + MATCH (dynamic sheet reference)Uses INDIRECT to build a reference to a different sheet based on text, then searches it with MATCH.

Practice Lookup and Reference functions free

Type formulas in a real spreadsheet and get instant feedback.

Start practice → Formulas cheat sheet

Frequently asked questions

What are the main Excel Lookup and Reference functions?

Cellgrids lists 49 Excel Lookup and Reference functions. Popular ones include VLOOKUP, HLOOKUP, XLOOKUP, INDEX, MATCH. Each has its own page with syntax, arguments and an example.

How can I practice Excel Lookup and Reference functions online?

Open the free live spreadsheet on Cellgrids, type the function in a cell and check your answer. No Excel install or sign-up is needed to start.

Which Excel Lookup and Reference function should a beginner learn first?

Start with VLOOKUP. Looks up a value in the first column of a range and returns a value from another column, same row.

Other function categories