In Excel: use =VLOOKUP(lookup_value, table_range, column_number, FALSE) — the FALSE forces an exact match.
On this page7
Make sure the value you are searching for sits in the leftmost column of your table.
Type =VLOOKUP( then the lookup value, the table range, and the column number to return.
Add FALSE as the fourth argument for an exact match, then press Enter.
Wrap it in IFERROR to handle missing keys gracefully.
What this does
VLOOKUP finds a value in the first column of a table and returns a value from a column to its right on the same row — the classic way to pull a price from a product code or a name from an ID. The fourth argument is the one that bites: FALSE (or 0) demands an exact match, which is almost always what you want; TRUE assumes the first column is sorted and does an approximate match. Before you build the flow, confirm the workbook is stored where the connector can reach it and that the data has the shape the action expects. A flow that cannot find its file or table fails rather than guessing. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel to lookup table function power automate”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a workflow that saves repeating the same clicks every week, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
With product codes in column A and prices in column B, =VLOOKUP("SKU-204", A2:B100, 2, FALSE) returns the price next to SKU-204. The 2 means “second column of the range”. If the code is not found you get #N/A — wrap it as =IFERROR(VLOOKUP(...), "not found") to show a friendly message instead. Lookups are how separate tables talk to each other — joining orders to customers, codes to descriptions, IDs to prices. Mastering VLOOKUP (and its successor XLOOKUP) turns a pile of sheets into a connected model. Name each step for what it does and note which account owns the connection. When a password or permission changes, that connection is the first place a flow breaks.
In Google Sheets
Power Automate's Excel Online (Business) actions work on Excel workbooks in OneDrive for Business or SharePoint; a Google Sheets file needs the separate Google Sheets connector, whose actions and requirements differ. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. The short version of “excel to lookup table function power automate”: test on a copy, read the run history and keep an eye on the connection it depends on. Automation saves time only while it keeps running, so plan for the run that fails.
Common mistakes
- Omitting FALSE, so
VLOOKUPreturns a wrong approximate match on unsorted data. - Counting the column number from the sheet rather than from the start of the table range.
- Looking up a value that is not in the leftmost column —
VLOOKUPonly looks right. - Breaking the formula by inserting a column inside the table; use
XLOOKUPorINDEX/MATCHfor resilience.
Frequently asked questions
VLOOKUP or XLOOKUP?
XLOOKUP is the modern replacement: it can look left, defaults to exact match, and does not break when columns move. Use it where available; VLOOKUP for older files.
Why do I get #N/A?
The lookup value is not found, or it does not match exactly (stray spaces, text-vs-number). Trim the data and confirm both sides are the same type.
Can VLOOKUP look to the left?
No — it only returns columns to the right of the key. Use INDEX/MATCH or XLOOKUP to pull values from a column on the left.