Use DIVIDE to divide one number by another.
You could use DIVIDE to determine the average monthly bonus of your sales team.
Syntax
DIVIDE(Dividend, Divisor)
Arguments
| Argument | Data type | Description |
| Dividend | Number | The number to divide. |
| Divisor | Number | The number to divide by. |
Calculation engine functionality differences
| Behavior | Classic | Polaris |
0 as the Divisor | For
| Returns NaN See the Additional information section for more details. |
Additional information
When the divisor is 0, use the “/” operator to return 0. The “/” operator is preferred in Polaris to avoid returning NaN.
Excel equivalent
Examples
This example shows how to use the DIVIDE function to track unit costs across different shipments.
In this module called Shipment scenarios, the columns are dimensioned by a list called Shipments. The line items used are Shipment status, Total spend, Units received, and Price per unit, all using the Number format.
Here, the “/” operator and "IF THEN ELSE" are used in cases where DIVISOR is 0.
| Shipment A | Shipment B | Shipment C | |
| Shipment status | Completed | Canceled | Inactive |
| Total spend | $ 10,000 | $ 200 | $ 0 |
| Units received | 2,000 | 0 | 0 |
Price per unit (using DIVIDE)
| $ 5 | NaN | NaN |
Price per unit (using the “/” operator)
| $ 5 | $ 0 | $ 0 |
Price per unit (using “IF-THEN-ELSE”)
| $ 5 | $ 0 | $ 0 |