Trace Calculation Errors in LibreOffice Calc

LibreOffice Calc provides built-in auditing tools called the “Detective” to help users diagnose and fix formula issues within complex spreadsheets. When a formula returns an error code, visual trace arrows point directly from the offending data cells to the formula cell, pinpointing exactly where the calculation broke down. This guide explains how to activate, interpret, and remove these error trace arrows to troubleshoot your spreadsheets efficiently.

The Detective Tool: Trace Error

The feature responsible for visually diagnosing broken formulas in LibreOffice Calc is Trace Error, found within the Detective suite. When triggered on a cell displaying an error (such as #DIV/0!, #VALUE!, #REF!, or #N/A), Calc draws distinct arrows showing the chain of precedent cells contributing to the failure.

Meaning of the Trace Arrows

How to Show Error Trace Arrows

To locate the source of a formula breakdown using visual arrows:

  1. Click on the cell displaying the error code (e.g., #VALUE!).
  2. Open the top menu and select Tools.
  3. Hover over Detective.
  4. Click Trace Error (or use the shortcut Shift + F9 depending on your configuration).

Calc will instantly draw arrows across your spreadsheet, originating from the cells that contain invalid values, missing references, or division-by-zero occurrences, and ending at the selected error cell.

How to Remove Trace Arrows

Once you have identified and corrected the root cause of the error, you can clear the arrows from your sheet view:

  1. Go to Tools in the top menu.
  2. Select Detective.
  3. Click Remove All Traces.

Alternatively, recalculating the sheet with valid inputs will automatically resolve the underlying error message.