# allyhub sheet trace

> What a cell depends on and what depends on it: its formula, where it is written, the places it reads and the cells that read it

Source: https://allyhub.com/docs/reference/cli/sheet-trace · AllyHub 0.10.0
Index of all docs: https://allyhub.com/llms.txt

## Usage

```bash
allyhub sheet trace [sheet] [cell] [options]
```

## Arguments

| Argument | Type | What it is |
| --- | --- | --- |
| `<sheet>` | string | The sheet, by its file or its id in allyhub.yaml |
| `<cell>` | string | The cell: Summary!B5, or B5 on the first sheet |

## Options

| Option | Type | Default | What it does |
| --- | --- | --- | --- |
| `--all` | boolean | `false` | Every cell that reads it, not the first 50 |

## Global options

`--dir <value>`: the project's folder; default the one around where it is run. `--json`: print the result as JSON.

## Examples

```bash
allyhub sheet trace finance/budget 'Summary!B1'
```

## Exit codes

`0` when it succeeds; the others are listed in [Exit codes](https://allyhub.com/docs/reference/cli/exit-codes.md).

## In the work

**sheets**: Making a sheet

[`sheet capabilities`](https://allyhub.com/docs/reference/cli/sheet-capabilities.md) → [`sheet import`](https://allyhub.com/docs/reference/cli/sheet-import.md) → [`sheet calc`](https://allyhub.com/docs/reference/cli/sheet-calc.md) → `sheet trace` → [`sheet diff`](https://allyhub.com/docs/reference/cli/sheet-diff.md) → [`inspect sheet`](https://allyhub.com/docs/reference/cli/inspect-sheet.md) → [`sheet`](https://allyhub.com/docs/reference/cli/sheet.md) → [`frames`](https://allyhub.com/docs/reference/cli/frames.md) → [`check`](https://allyhub.com/docs/reference/cli/check.md) → [`dev`](https://allyhub.com/docs/reference/cli/dev.md) → [`render`](https://allyhub.com/docs/reference/cli/render.md)
