Get the local build — $9
mergingverification

Row counts first, merge second

A per-file row count is the cheapest integrity check in data work. It takes a second and it catches the two failures that otherwise surface days later: a file that was skipped, and a file that was merged twice.

The arithmetic you should always do

Sum of per-file rows must equal the merged row count minus header rows. If it does not, something was skipped or duplicated. This single check catches the most common merge bugs, including your own output file being merged back in.

Print it in the report, not in your head: file, rows, detected header row, sheet names. Then the check is a glance, not a calculation.

What the numbers reveal

One file with 3 rows among files of 500: probably a failed export. One file with exactly double the others: probably merged twice, or contains a duplicate sheet. Zero rows: the header was detected on the last row.

Step by step

  1. Run a count over the folder before merging.
  2. Compare against the expected count from the source systems.
  3. Investigate anything that surprises you before merging.
  4. After merging, confirm the total matches.

The command, concretely

2024-01_销售.xlsx   60 rows   header row 2   sheets: 明细
2024-02_销售.xlsx   60 rows   header row 2   sheets: 明细
2024-03_销售.xlsx   60 rows   header row 2   sheets: 明细
---------------------------------------------
3 files           180 rows

What goes wrong

Counting the header as a row

Off-by-one that makes every file look like it has one extra record. State whether the count includes the header.

Counting hidden sheets

A workbook with a hidden Sheet2 full of notes contributes rows you did not expect. List sheet names in the report.

Questions people actually ask

Can I count without merging?

Yes — reading only the sheet dimensions is much faster than reading every cell.

Why does the count differ from what Excel shows?

Excel's used range often extends past the last real row because of formatting. Count rows that have at least one non-empty cell.

Do it now, in this browser

Drop the folder in, check the detected header, merge. Nothing is uploaded — the file is processed in the tab. Free for one-off merges; the unlimited local build is $9.