Cats and Code
A Feline-Friendly Space on the Interwebs

Merge Spreadsheets

←   Return

Two Cats

DEMO

This utility can merge two spreadsheets (as csv files) that have a matching column. The matching column must appear first file on both spreadsheets, but they do not have to have the same number of rows. The code loops through each row in the first, searching for a match in the second file, so the resulting merged file will be the same length as the first.

Convert at CSV File to a DATABASE

file structure

Click here to download files
MERGE/inc

MERGE/data

Each field is separated by the delimiter '%%%'.