> For the complete documentation index, see [llms.txt](https://docs.tabula.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tabula.io/data-transformation/formulas/aggregate-functions/sumif.md).

# SumIf

Gets the sum of all values in the column filtered by the condition

```mathematica
Sum(column1, column1 > 128) → 768
Sum(column2, column2 < Pi()) → 1178
```

#### Inputs

`SumIf(column, [condition])`

* `column` - A column to calculate the sum for
* `[condition]` - **\[optional]** - Condition to filter values in the column
