FP

FormulaPilot

Spreadsheet formula tools

Open generator
Lookup & Reference

Lookup & Reference formulas

Reference formulas for pulling values across tables, finding matches, and building reliable lookup patterns.

Frequently asked questions

When should I use HLOOKUP instead of INDEX/MATCH?

HLOOKUP is simpler for straightforward horizontal lookups. INDEX/MATCH is more flexible when the header row position may change or when you need a two-way lookup.

Why use INDEX/MATCH instead of VLOOKUP for two-way lookups?

VLOOKUP can only look up by row, not by column. INDEX/MATCH is the standard solution for intersection lookups because both MATCH calls work independently.

Why use FALSE in VLOOKUP?

FALSE forces an exact match, which is almost always what you want for IDs, invoice numbers, and other lookup keys.

Why use -1 in XLOOKUP?

The search mode argument of -1 tells XLOOKUP to search from last to first, which returns the last matching row.