Use Cases
| Scenario | Good for |
|---|---|
| Employee task statistics | Count in-progress tasks and completed tasks for an assignee |
| Period sales statistics | Calculate sales amount, order count, or average order value by date range |
| Duplicate data checks | Count duplicate names, phone numbers, or IDs |
| Regional reports | Aggregate business data by region, store, or channel |
Procedure
Create a conditional rollup field
Click the
+ icon on the right side of a field name, choose Conditional Rollup, and enter a field title, such as āTotal sales amountā.Set filter conditions
Add filter conditions, choose the field, condition type, and comparison value. The comparison value can be a static value or a field from the current table.
Scenario Practice
Team Task Volume Statistics
Tables- Tasks table
- Statistics table
- In the employee information table, create a Conditional Rollup field named āIn-progress tasksā
- Target table: Task assignments table
- Rollup field: Task ID
- Filter conditions:
- Field: Assignee -> Condition: Equals -> Value: Employee field from the current table
- Field: Task status -> Condition: Equals -> Value: āIn progressā
- Aggregate function: Count all
- Create another Conditional Rollup field named āCompleted tasksā
- Target table: Task assignments table
- Rollup field: Task ID
- Filter conditions:
- Field: Assignee -> Condition: Equals -> Value: Employee field from the current table
- Field: Task status -> Condition: Equals -> Value: āCompletedā
- Aggregate function: Count all
Find Duplicate Values
Tables- Customers table, with fields such as customer name and phone number
- In the customers table, create a Conditional Rollup field named āCustomer name duplicate countā
- Target table: Customers table (this table)
- Rollup field: Customer name
- Filter condition:
- Field: Customer name -> Condition: Equals -> Value: Customer name field from the current table
- Aggregate function: Count all
- Create a Formula field named āDuplicate flagā
- Set the formula to
IF(Customer name duplicate count > 1, "Duplicate", BLANK())
FAQ
What is the difference between Conditional Rollup and Conditional Lookup?
What is the difference between Conditional Rollup and Conditional Lookup?
Conditional Rollup returns one calculated value, which works well for totals, counts, and averages. Conditional Lookup returns a list of matching raw values, which works well for viewing detail data.

