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

# SUMIF

SUMIF( `column`, `criteria` )

Sums the values in a `column` that are within a row meeting the specified `criteria`

### Arguments

| Input      | Description                                                                                                                             |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `column`   | Column to sum                                                                                                                           |
| `criteria` | Condition that must be met for values within `column` to be summed. `criteria` may reference the same or different column as `column` . |

### Output

Outputs sum of values in `column` that meet `criteria`

### Example

{% embed url="<https://datawrapper.dwcdn.net/zgGBd/2/>" %}
