A clear weighted-total sanity check
For each row, multiply Amount by Units and sum the results:
| SKU | Amount | Units | Extended |
|---|---|---|---|
| SKU-101 | 125 | 2 | 250 |
| SKU-102 | 80 | 1 | 80 |
| SKU-103 | 75 | 3 | 225 |
| SKU-104 | 50 | 4 | 200 |
| SKU-105 | 200 | 1 | 200 |
| Total | 955 |
The native LibreOffice test returns 955. The Gnumeric function index also lists SUMPRODUCT as implemented, and the Calligra handbook explicitly documents a two-array form. Those are documentation checks, not executions in those applications.
Hidden edge cases
Array length mismatches, text in numeric columns, empty cells and error values require separate test rows. For financial or inventory spreadsheets, store numeric amounts as numbers rather than formatted strings. Always validate a sample output against hand multiplication before trusting large data migrations.