Nylia Text.Text & list tools

Practical guide

All guides

Compare two inventory lists without losing leading zeros

Examples checked against the current Nylia Text processing code on 14 November 2026. All sample records are fictional.

A spreadsheet export can contain repeated product codes, while another list contains the codes you expected. This workflow finds the missing entries without uploading either list. Keep the original files: cleanup changes text, and a matching code does not prove that the underlying record is correct.

Run this worked example

This uses the same processing code as the tools, with fictional sample data only. Nothing is uploaded. Compare the actual output below with the explanation.

1. Extract one column, not entire rows

Download the fictional inventory CSV and open Extract CSV column. Load the CSV, choose comma as the delimiter, column 1, and enable the header-row option. Run the tool. The label containing a comma is quoted, so it remains one field rather than creating an extra column.

sku,label
001,"Notebook, blue"
002,"Pen set"
001,"Notebook, blue"
010,"Desk pad"

The extracted output should be:

001
002
001
010

2. Remove repeated codes deliberately

Copy that result to Remove duplicate lines. Leave Ignore case and Unicode normalization off for this example. The first 001 is kept and the later occurrence is removed. The result has three codes in their original order:

001
002
010

Review the removed-duplicates table before continuing. A repeated product code can represent two legitimate stock transactions; deleting repetitions is appropriate for a unique-code list, not for totaling sales or quantities. This tool does not merge records or add quantities.

3. Compare actual codes with a reference

Open Compare two lists. Put the cleaned output in list A. Paste the following into list B, or download the reference list:

001
003
010
ComparisonExpected resultMeaning
Common entries001, 010Present in both lists
Only A002In the export, not the reference
Only B003In the reference, not the export
Union001, 002, 010, 003Unique combined list in retained order

Comparison uses sets: repeated entries within either list collapse. If a code occurs three times in A and once in B, this does not report a quantity difference. For shared entries, the first original text from A is retained.

4. Export without changing identifiers

TXT and copying preserve the browser result. A spreadsheet may still turn 001 into 1 when opening CSV. Import the column explicitly as text rather than assuming double-clicking CSV will preserve leading zeros. Keep formula protection enabled for untrusted CSV values, but review its changes and your spreadsheet import settings.

Success check: the extracted column has four records, cleanup leaves three codes, and the comparison identifies 002 only in A and 003 only in B. A different outcome means the options or input need checking.

Before using real data

Confirm the selected column and delimiter on a small sample. Do not split complete CSV rows by commas manually; quoted commas and multiline fields need CSV parsing. If a selected field itself contains a line break, its displayed text spans several lines. Download CSV directly from extraction to preserve record boundaries rather than feeding that display into a one-item-per-line cleaner.