SheetLint — quarterly-margin.xlsx

3 sheet(s) · 124 cells · 52 formulas · 11 check(s) run
High
5
Medium
4
Low
2
Not checked
1
Bonus!B2, B3B2 is part of a circular reference
circular_referenceconfidence 1.00

These cells depend on each other in a loop: Bonus!B2 → Bonus!B3 → Bonus!B2. Excel cannot settle on an answer, so it either shows zero or iterates to whatever its settings allow. Either way the number is not the one anybody intended.

Fix: Break the loop: one of these cells has to be an input rather than a calculation.
Detail
{
  "cycle": [
    "Bonus!B2",
    "Bonus!B3"
  ]
}
Headcount!D10D10 contains #REF!
broken_referenceconfidence 1.00

D10 reads =D8-#REF!. Excel writes #REF! into a formula when the cells it referred to are deleted, so this calculation has been broken since whenever that happened — and anything downstream of it is wrong too.

Fix: Work out what the formula was meant to reference and repoint it. Check what depends on this cell before trusting any total that includes it.
Detail
{
  "formula": "=D8-#REF!"
}
Margin!E5E5 does not match the other formulas in its column
inconsistent_formulaconfidence 0.90

7 of the 9 formulas in this column follow one pattern, for example E2: =B2*D2. E5 instead reads =B5*D6. Copied formulas should keep the same shape as they move, so a single difference is usually a reference that slipped.

Fix: Compare E5 with E2. If it should match, copy E2 over it.
Detail
{
  "axis": "column",
  "this_formula": "=B5*D6",
  "expected_like": "=B2*D2",
  "expected_at": "E2",
  "matching": 7,
  "total_formulas": 9
}
Margin!G8G8 holds a typed number where its column holds formulas
overwritten_formulaconfidence 0.85

7 cells in this column are calculated, such as G2: =E2-F2. G8 contains the typed value 9100. It will not update when its inputs change, and it looks identical to its neighbours on screen.

Fix: If G8 should be calculated, copy G2 over it. If the typed value is deliberate, move it to a clearly labelled input cell outside the calculated block.
Detail
{
  "axis": "column",
  "typed_value": 9100,
  "neighbours_calculate": "=E2-F2",
  "neighbour_at": "G2",
  "formulas_in_run": 7
}
Margin!E10, E9E10 sums E2:E8 but E9 holds data too
range_shortfallconfidence 0.80

E10 reads =SUM(E2:E8). The range ends at row 8, yet E9 immediately below it contains None. A row added under an existing total is not picked up unless the range is extended, and the total keeps looking plausible.

Fix: Extend the range to row 9, or convert the block to a table so ranges grow with it.
Detail
{
  "formula": "=SUM(E2:E8)",
  "range": "E2:E8",
  "first_excluded": "E9",
  "excluded_value": null
}
Margin!B12B12 uses TODAY
volatile_functionconfidence 0.90

B12 reads =TODAY(). TODAY and NOW change every time the file is opened, so the workbook will not reproduce the same figures tomorrow. Anything printed, emailed or reconciled from it cannot be tied back to the file.

Fix: For a report that must stay fixed, paste the date or value in once rather than calculating it.
Detail
{
  "formula": "=TODAY()",
  "functions": [
    "TODAY"
  ]
}
Headcount!D8, D5D8 includes 1 hidden row(s)
hidden_row_in_rangeconfidence 0.85

D8 reads =SUM(D2:D6), and its range covers D5, which are hidden. The figures are in the total but not on the screen, so the total cannot be checked by adding up what you can see. People also hide rows believing that removes them from a sum; with SUM it does not.

Fix: Unhide the rows, or use SUBTOTAL(109,…), which does skip hidden rows, if excluding them is the intention.
Detail
{
  "formula": "=SUM(D2:D6)",
  "hidden_cells": [
    "D5"
  ]
}
Headcount!B7Column B mixes text into 5 numbers
mixed_typesconfidence 0.70

B7 hold text such as 'TBC' in a column that is otherwise numeric. SUM and AVERAGE skip text silently, so the total is computed over fewer rows than it appears to cover.

Fix: Replace the text with a number, or move the note to a separate column.
Detail
{
  "numeric_cells": 5,
  "text_cells": [
    "B7='TBC'"
  ]
}
Margin!C13, B14C13 reads B14, which is empty
empty_referenceconfidence 0.70

C13 reads =E10*B14, but B14 has nothing in it. Excel treats an empty cell as zero, so the calculation produces an answer rather than complaining — which is why this kind of gap survives for months.

Fix: Either fill B14 in, or point the formula somewhere else.
Detail
{
  "formula": "=E10*B14",
  "empty": [
    "B14"
  ]
}
Bonus!B20.1 is written into B2
hardcoded_constantconfidence 0.60

B2 reads =B3*0.1. The value 0.1 is part of the formula rather than a cell of its own, so when it changes somebody has to find every formula containing it — and will miss one.

Fix: Put 0.1 in its own labelled cell and reference it, so there is one place to change it.
Detail
{
  "constant": "0.1",
  "formula": "=B3*0.1",
  "occurrences": 1,
  "column": "B"
}
Margin!I2, I3, I4, I5 +11.18 is written into I2:I9 (8 cells)
hardcoded_constantconfidence 0.60

I2 reads =E2*1.18, and 7 more cell(s) in column I carry the same 1.18. The value 1.18 is part of the formula rather than a cell of its own, so when it changes somebody has to find every formula containing it — all 8 of them.

Fix: Put 1.18 in its own labelled cell and reference it, so there is one place to change it.
Detail
{
  "constant": "1.18",
  "formula": "=E2*1.18",
  "occurrences": 8,
  "column": "I"
}

Not checked (1)

A check that could not run is not a check that passed.