Predict the matching records
Open shipments.csv as text. It contains six data records and the columns shipment, status and location. Select column 2 and compare against ready, with no leading or trailing spaces.
S-200 and S-203 match. S-201 has Ready with a capital R, S-202 has a space after ready, S-204 has an empty status, and S-205 has held. None of those four strings equals ready.
Save both groups and the trace
Run the row partition and check 2 matching plus 4 remaining records, for 6 in total. Download the two matrices and full report. Compare them with matching.expected.json, remaining.expected.json and report.expected.json.
The matching source record numbers are 2 and 5 because record 1 is the header. S-203 has a line break inside its location. That break does not create another shipment or change its logical record number.
Follow the subset back to a delimited file
Paste the matching matrix into JSON-to-CSV/TSV. Choose comma and keep the default formula-like refusal policy. The result has the three original headings and two data records in source order.
Repeat for the remaining matrix if you need a separate review file. Save it with a different name. The four rows have not been deleted or labelled invalid; they simply did not equal the selected string.
Make the next decision explicit
If your business treats Ready and ready as equivalent, document that separate rule before applying any transformation. This exercise intentionally observes the original text and does not make that decision.
Keep all six original records and the full report until the downstream review is complete. A matching status does not prove a shipment is authorized, current or complete.