MOD

The MOD function divides one number by another and returns the remainder of the division. It is commonly used in calculations involving cyclic patterns, intervals, or determining whether a number is divisible by another number.

Syntax

MOD(dividend, divisor)

Arguments

  • dividend: The number to be divided.
  • divisor: The number by which the dividend is divided.

Return value

Returns the remainder after division.

Example

MOD(Planned Units, 2)

In this example, the MOD function is used to create the Remaining Units measure, which returns the remainder after dividing the Planned Units values by 2.

Excel equivalent

MOD

Microsoft, Azure, Copilot, Excel, Fabric IQ, Microsoft Entra, Microsoft Fabric, Microsoft Teams, OneLake, Outlook, Power Automate, Power BI and SharePoint are trademarks of the Microsoft group of companies. IBCS is a registered trademark of IBCS Association. All other trademarks are the property of their respective owners.

This community is operated independently by Lumel. Nothing on this site constitutes a representation or warranty by Microsoft.