Shample Intel
Menu
Catalog quality guide

Inspect stored XLSX values, not just displayed zeros

Download a real synthetic workbook containing text and numeric identifiers, and test why display formatting cannot recover missing zeros.

File formatsUpdated Guide slug: xlsx-text-versus-numeric-barcodes

The issue to look for

An XLSX cell may display twelve digits while storing a shorter numeric value. A custom format is presentation; a parser that reads the stored value does not necessarily see those displayed zeros.

What this check can tell you

The reproducible workbook contains one inline text cell and one numeric cell. With inference disabled, the output exposes the difference directly.

A transparent review

  1. Download the synthetic XLSX and inspect the two identifier rows.
  2. Use the local cleaner with inferred UPC repair disabled to reproduce this fixture's options.
  3. Compare the intact text 012345678905 with numeric storage 12345678905.
  4. Export source-confirmed identifier columns as text values in a single worksheet.

How to read the result

  • The shared parser reads inline/shared strings and numeric cell values. It does not apply spreadsheet number-format styles to rebuild leading zeros. With default inference enabled, an eligible eleven-digit value may separately receive the one-zero inferred repair.
  • Only a first standard worksheet in a single-sheet workbook is accepted. Formula cells are rejected rather than evaluated. Export calculated values as CSV if you need a values-only interchange.

Limits to keep in view

  • The input block describes cell storage; the download is the actual workbook.
  • This does not promise legacy XLS support.
  • Neither inferred padding nor a numeric display format verifies the original identifier.
Illustrative sample

Synthetic fixture: synthetic-xlsx-text.xlsx

This small synthetic example makes the transformation and observation visible. It is an educational illustration, not a claim that a supplier file or external registry was verified.

Fixture ID
xlsx-text
Published fixture reference
xlsx-text
Filename
synthetic-xlsx-text.xlsx
Encoding
XLSX
Options
{"repairUpcs":false}

Input

A1 inlineStr "UPC"; B1 inlineStr "SKU"
A2 inlineStr "012345678905"; B2 inlineStr "TEXT-CELL"
A3 numeric 12345678905; B3 inlineStr "NUMERIC-CELL"
Repair option: disabled

Output

{
  "checks": {
    "validIdentifiers": 1,
    "invalidIdentifiers": 1,
    "repairCount": 0
  },
  "cleanedRows": [
    {
      "UPC": "012345678905",
      "SKU": "TEXT-CELL"
    },
    {
      "UPC": "12345678905",
      "SKU": "NUMERIC-CELL"
    }
  ]
}

Observation: Text cells keep their zero. Numeric storage has already lost it; display number formats are not used to reconstruct identifiers.

Download synthetic fixture

Sources