First define exactly what needs counting
A report can contain individual transactions, daily subtotals, and a grand total. If you ask AI to add a numeric column, the same handover can enter the calculation several times. Every number in the original report may still be correct. The error comes from selecting which rows to add.
Start with a precise question: how many laminators were handed out on 1–2 September across all rental locations? Count the quantity of equipment handed out, rather than spreadsheet rows. One transaction may include several machines. A daily subtotal describes a group of transactions and does not record an additional handover.
Microsoft’s PivotTable guidance shows that subtotals can appear above or below their groups. A row’s position alone therefore does not establish its role. Before analysis, explicitly record what each row represents and which transactions it covers.
Label each row’s role and scope
Add the original row number, role, and scope description to a working copy. Useful roles are transaction, subtotal, grand total, header, and needs review. Specify the period, rental location, and other selection conditions in the scope. For a total row, preserve the known list of included transactions or a reference to the corresponding group.
The W3C tabular data model distinguishes a row’s position in the table from its number in the original source and also permits provenance information. Preserve that connection in a separate field before sorting. The roles proposed here are working labels for this check, rather than a classification established by W3C.
Assign roles using labels, formulas, calculation ranges, or explanations from the report owner. Bold formatting and an empty order number may justify investigation but are insufficient evidence on their own. List unresolved rows separately. Until their effect is known, the final answer’s completeness cannot be considered confirmed.
A fictional example: four transactions and three totals
Consider a fictional complete register covering every rental location. The assigned numbers refer to source rows. Row 1 records transaction 21 on 1 September: two laminators. Row 2 records transaction 22 on the same date: three machines. Row 3 contains the daily subtotal: five. Rows 4 and 5 record transactions 23 and 24 on 2 September: one and four machines respectively.
Row 6 contains the subtotal for 2 September: five machines. Row 7 contains the period’s grand total: ten. Adding all seven numbers gives 30. The transactions account for 10 machines handed out: two, three, one, and four. The same quantity is represented at three levels: transactions, days, and the entire period.
For a transaction-based calculation, select rows 1, 2, 4, and 5. Rows 3 and 6 check the daily sums; row 7 checks the period. A separate calculation using the two daily subtotals also gives 10 if the groups are complete and do not overlap. Never include a total alongside the transactions it covers.
Give AI the selection rule and request an explanation
Example instruction: “Calculate the quantity of equipment handed out using rows whose role is transaction. First list the original numbers of the selected rows. Separately list excluded totals and explain their exclusion. Compare the transaction sum with the daily subtotals and grand total. If they disagree, show both values; do not adjust transactions to match a control total or add missing records.”
The expected answer for the fictional register should identify four selected rows and a sum of 10. Each daily check should give five. A correct number alone is insufficient: without the calculation’s membership, you cannot tell whether the model used transactions or simply repeated the final row.
You can provide the rows and explanations as ordinary text in a SeaGenera Playground text conversation. Write out roles and scope even when indentation and color convey them in the original spreadsheet. Define the data boundaries before submitting the request: the model needs a clear description of which records the report includes.
Check the selected rows before checking arithmetic
Compare the selected numbers with the source: this example requires exactly rows 1, 2, 4, and 5. Independently add the quantities by hand or with spreadsheet tools. Then check each group and the entire period. Agreement on the grand total is useful but does not replace checking which rows belong in the calculation.
Microsoft states that Excel’s SUBTOTAL function skips nested SUBTOTAL results to prevent double counting. When you pass only numeric values to a model, those special calculation rules are not recorded in the values. A correct formula in the original workbook therefore does not replace explicitly describing row roles in the supplied data.
Prepare two diagnostic versions of the example. First reorder the rows while preserving their original numbers and labels: the selected transactions and sum should remain unchanged. Next change only the grand control total from 10 to 11. An acceptable answer should keep the transaction sum at 10 and report a discrepancy of one machine.
Account for filters, incomplete details, and limits
Before reconciliation, establish which rows are hidden or filtered out. According to Microsoft, SUBTOTAL excludes filtered rows; treatment of manually hidden rows depends on the function variant. Record whether the question concerns all transactions or only the selected subset. Otherwise, transaction details and a control total may describe different sets.
If a diagnostic version removes row 5 with its four machines, the remaining transaction details sum to six while the recorded grand total stays at ten. Show both figures and the discrepancy of four. That difference does not establish how many transactions are missing, their dates, or whether the control total itself is reliable.
This method supports adding comparable quantities when group membership is known. Equipment handovers do not necessarily equal unique devices: the same laminator could have been rented out again. Counting unique items requires identifiers and a separate counting rule. The preparation deliverables are the selected rows, a separate control-total sheet, and a list of questions still requiring confirmation.
