Skip to content
UniKit

VLOOKUP for CSV

Paste CSV, look a key up in one column and return another column of the same row: header names or column numbers, exact or approximate matching, all matches, case-insensitive by default, custom delimiters.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

CSV data

Lookup result

Output follows the data row order, one returned value per line; approximate matching expects the lookup column to be sorted ascending.

Paste CSV and a lookup value to see the match

What this tool does

  • Reconcile two tables: paste an exported CSV and use the name, order id or SKU as the key to pull the price, team or other fields from the same row.
  • Band lookups (salary grades, shipping tiers): switch on approximate matching to take the largest band not above the lookup value.
  • When one key maps to several rows (a team with many people, an order with many items), tick "return every matching row".

Example

Input

CSV: name,team,salary / Alice,Core,12000 / Bob,Growth,9800 / Cara,Core,15000
Lookup value: Core · lookup column "team" · return column "name" · return every matching row

Output

Alice
Cara

Both column fields accept header names; without "return every matching row" only the first hit (Alice) is returned, matching Excel behaviour.

Frequently asked questions

How does this differ from Excel VLOOKUP?

Same rules: it looks in the first column by default, ignores case, and approximate matching takes the largest key not above the lookup value while requiring sorted data. Differences: header names work instead of column numbers, every matching row can be returned at once, and no formula dragging is needed. Empty keys are skipped in both.

Why does it complain about the CSV format?

Two cases raise an error: an unterminated double quote, or rows with different field counts (for example a stray comma). A missing key is not an error — you get a "no match found" notice instead.

How much data is supported?

Up to 20000 data rows, lookup values up to 1000 characters, and four delimiters (comma, semicolon, tab, pipe). Everything is parsed locally; nothing is uploaded.

Why did approximate matching return a different row?

Approximate matching assumes the lookup column is sorted ascending, just like Excel: it returns the last key that is not greater than the lookup value. With unsorted data the result can look surprising — use exact matching instead.

Keywords:VLOOKUPcsv lookupapproximate matchall matches

Related tools