--- title: "Use the SUMOF Function to Sum All Numbers Within a Block" slug: "sumof-function" description: "Learn to calculate totals with SUMOF by summing numeric data across Dimensions or filtered subsets in Pigment." tags: ["SUMOF", "Block Management", "functions ", "formula syntax", "Pigment Blocks", "Pigment Boards", "Modeling and Formulas"] updated: 2025-05-28T10:24:27Z published: 2025-08-22T12:00:18Z canonical: "kb.pigment.com/sumof-function" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.pigment.com/llms.txt > Use this file to discover all available pages before exploring further. # SUMOF function ## ​​​Description Sums all numbers of a Block. ## Syntax `SUMOF(Block)` ## Arguments | Argument | Type | Dimensions | Description | | --- | --- | --- | --- | | *Block* (required) | Any | Any | | ## Returns | Type | Dimensions | | --- | --- | | Number | No Dimension | ## Examples Employee is a Dimension List: | Formula | Result | Description | | --- | --- | --- | | `SUMOF(Employee.ID)` | 6 | | ## See also Related articles: [COUNTALLOF](/v1/docs/countallof-function) > [!TIP] > **More of a hands-on learner?** > > Talk to your Customer Success Manager about downloading the Functions and Modifiers in Pigment Application into your workspace. It includes examples of every formula and modifier in Pigment!