Choose what identifies a row
Choose the delimiter and whether the first record is a header. Select a single column for a ticket number, or select both station and shelf if the pair identifies a location. Pick by column number when headings repeat.
Decide how to handle an empty key
With empty keys excluded, a row with an empty string in any selected column stays with the other rows. Include empty keys to allow matching empty strings in the same position. A cell containing only a space still has a character.
Trace a group to the input
Read the selected values together. The pair A|B and C differs from A and B|C. Case and surrounding spaces count. A quoted line break stays in its cell. Source record numbers count logical CSV records, including the header when present.
Check both sets of rows
Compare each group’s count with its list of record numbers. Review the other rows before deciding what to keep. The JSON records the empty-key choice and the original cell strings. The JSON also lists the CSV positions where the export added an apostrophe for a formula-like prefix.