Computes the bin for a value using the provided lower bounds
Category: math
Syntax:
Returns: Integer
Context Filtering: ✓ Yes
Parameters
Allowed Column Types for value: INT, FLOAT, DECIMAL
Validation
- Minimum parameters: 2
- Maximum parameters: 10
Examples
Returns 1. All numbers lower than 50 are placed in bin 1 and all numbers 50 and greater are placed in bin 2
Result: 1
Incomes less than 100,000 are placed in bin 1; incomes 100,000 – 499,999 are placed in bin 2; incomes 500,000 and greater are placed in bin 3 Last modified on March 13, 2026