Stock count cleanup

A stock count or inventory export with SKU and Quantity columns, from a warehouse sheet or a stock system.

Processed locally in your browser. File contents are not uploaded. No account needed.

Before and after

Made-up rows from the sample file, run through the same code Rote Workspace runs, when this page was built. Removed rows are struck through; changed cells are highlighted — point at one for its old value.

Data Workspacestock-count.csv5 rows · 4 columns · UTF-8 Processed locally

Original

Before: the sample file
RowSKUProductQuantityLocation
2mug-blueBlue Mug1,200Warehouse A
3MUG-RED (has spaces at its edges)Red Mug35 (has spaces at its edges)Warehouse A
4 (removed)
5kettle-9Kettle8Shop
6tea-01Tea Set12Shop

Result

After: Stock count cleanup
RowSKUProductQuantityLocation
5KETTLE-9 (changed)Kettle8Shop
2MUG-BLUE (changed)Blue Mug1200 (changed)Warehouse A
3MUG-RED (changed)Red Mug35 (changed)Warehouse A
6TEA-01 (changed)Tea Set12Shop

4 rows × 4 columns after the fixes · was 5 × 4 · 6 cells changed

· marks a space at the start or end of a value. The dots are not in the data; they show spaces you would otherwise not see.

What it does

  1. Remove empty rowsOn the sample: 1 row removed
  2. Trim spaces in every columnOn the sample: 2 cells changed
  3. UPPER-case "SKU"On the sample: 3 cells changed
  4. Read "Quantity" as numbers (decimal mark: dot, 1,234.56); values that are not numbers are left as they areOn the sample: 1 cell changed
  5. Sort the rows by "SKU" (A to Z); blank and unreadable values go lastOn the sample: 3 rows moved

Your file needs these columns, spelled exactly: SKU, Quantity. If one is missing or renamed, the workflow tells you which step it breaks and does not run.

How to use it

  1. Download the workflow

    A small .json file with the steps above — no data. Want to try it first? Use the sample file (made-up rows).

  2. Open your export

    In the Data Workspace, choose your file. It is processed in your browser, not uploaded.

  3. Import, review, run

    Workflow → Import, choose the file — or skip the download: under Workflow → Templates, press Check & open. Each step is checked against your columns; press Run on this file, then Download.