Match the columns first
Choose the delimiter. If each file starts with headings, use the header option. Every heading must match the first file at the same position, including spaces and letter case. Repeated headings and unnamed columns are compared by position too. In headerless mode the first record is data; check the column meanings yourself.
Put the files in order
Open files or paste each table as a separate input. Move the inputs into the order you want. Rows keep their order within each input. Matching records from two files both remain in the result.
Check the totals
Compare each input’s data-record count with its source and check the sum. With headings enabled, exclude each input’s header from its data count. The combined CSV starts with a single header row. A quoted note on two lines counts as one cell in one record.
Keep a copy you can check
JSON retains the original cell strings, including leading zeros, long integers and surrounding spaces. CSV output protects cells that could be read as formulas with a leading apostrophe. A mismatch in width or headings needs a correction to the input before you can combine it.