Sum by Group
The Sum by group step calculates the sum of all values in one or more columns. This functionality is similar to the SUMIF function in Excel.
Take a look at this Parabola University video to watch the Sum by group step at work.
Input/output
Our input data has 39 rows of order information showing the quantity sold, food type, customer username, and payment type per order.
![](https://cdn.prod.website-files.com/663559c9207f91d5a1ba91e4/67a54d891933553a29fe5f2a_66070e01b8758029dd76d424_Sum%2520By%2520-%2520Input.png)
After we connect this data to the step, it'll produce an output of 9 rows that sum quantities sold per food type in the "Quantity Sold" column.
![](https://cdn.prod.website-files.com/663559c9207f91d5a1ba91e4/67a54d891933553a29fe5f2d_66070e2d12ce4dd3526b47f3_Sum%2520By%2520-%2520Output.png)
Default settings
Once connected to your flow, this step will auto-select a column to find the total amount per data group/category like quantity sold per food type. The result will display your grouped values and the total sum of them as a new table.
![](https://cdn.prod.website-files.com/663559c9207f91d5a1ba91e4/67a54d891933553a29fe5f1a_66070e62371dbee3a334728c_Sum%2520By%2520-%2520Showing%2520Default%2520Options.png)
Custom settings
If you'd like to choose other columns for your sum calculation and which rows the calculation is grouped by, you can change the auto-selected ones by clicking into the blue boxes on the left-side toolbar.
![](https://cdn.prod.website-files.com/663559c9207f91d5a1ba91e4/67a54d891933553a29fe5f14_66070e7166fa79728bc702f6_Sum%2520By%2520-%2520Showing%2520Group%2520Options.png)
You can also select multiple columns to sum and multiple rows to group by, or choose which columns to exclude.
![](https://cdn.prod.website-files.com/663559c9207f91d5a1ba91e4/67a54d891933553a29fe5f11_66070e8108587e7dbe206bf0_Sum%2520By%2520-%2520Showing%2520Sum%2520options.png)