New Tool Radar

AI for Data & Spreadsheets

How to Check AI-Extracted Weights and Units Against the Source

Check AI-extracted weights and units against the source so grams are never added to kilograms in your totals.

Schematic illustration for How to Check AI-Extracted Weights and Units Against the Source: three numbered steps - List weight and unit; Check unit per row; Convert to one unit.

A weight of 500 g read as 500 kg is a thousand times too large, and a total built on mixed units is meaningless. Weights must be checked with their unit attached, and converted to one unit before any total is calculated.

Prerequisites

  • The source document
  • The extracted sheet with weights
  • A copy of the source file, so the original stays untouched.

Steps

  1. Add a unit column next to every weight column if the extraction merged them into one cell.
  2. Read each weight and its unit in the sheet against the same row in the source.
  3. Flag any row where the unit differs, such as g against kg, and correct it from the source.
  4. Convert all weights to one unit, such as kilograms, and record the conversion in a note on the sheet.
  5. Recompute the total in the single unit and compare it with any total printed in the source.

Worked example: Fictional parcel weights checked

The practice table below is a fictional five-parcel weight list. The kg column is each weight converted to kilograms, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.

Parcel Weight Unit Kg
Books 2500 g 2.50
Clothes 3 kg 3.00
Shoes 1200 g 1.20
Toys 4 kg 4.00
Food hamper 6500 g 6.50
Total 17.20

Expected result. Five weights checked, each unit matches the source, and the converted total is 17.20 kg. UNTESTED: no AI extraction was run for this guide; the table shows the expected values a check should produce.

Limits

  • Weights with different units must never be summed in one column.
  • A weight stored as text, such as 2.5 kg in one cell, will not add into a SUM.

Sources

See all