VLOOKUP & Merge CSV Files
Match two CSV files on a shared column and add columns from one to the other, like VLOOKUP or a join. Private: runs in your browser.
How to use
Paste or load two CSV files. File A is your main table and file B is the lookup table. Choose the matching column in each, for example customer_id, and the columns you want to bring over from B. Rows that match get the new values, and the tool counts the matched and unmatched rows. It works like VLOOKUP in Excel: when B has the same key more than once, the first match is used. Everything stays in your browser.
- Enter your details.
- Results update instantly.
- Adjust the values to see how they change.
More tools
Frequently asked questions
How is this different from VLOOKUP in Excel?
The result is the same idea: for each row in A it finds the first matching row in B and copies the columns you choose. It also lets you keep or drop rows that have no match.
What is the difference between keep all rows and only matches?
Keep all rows (a left join) keeps every row from A and leaves the new columns blank when there is no match. Only matches (an inner join) drops rows from A that are not found in B.
Can I match on a column number?
Yes. Type the column name exactly as in the header, or its position, such as 1 for the first column.
Is it free?
Yes. Everything is free, with no sign-up and no limits.
Is my data stored or sent?
No. Calculations run in your browser and nothing you enter is sent or stored.
Can I rely on these results?
They use standard published formulas and give estimates for general information.