In this article, you will learn the MOD function and how to use it.
The MOD function works as an operator called the modulo operator (abbreviated as mod). When you assume 17 divided by 3, the quotient is 5, and the remainder is 2. In that case, we can say 17 mod 3 is equal to 2. In summary, the MOD formula returns a remainder for a dividend, and a divider entered.
The general syntax is as follows:
Dividend: a number to be divided by a divider
Divider: a number to divide by
Learn how to use the formula with examples. Look at the screenshot below.
The top example shows a case you input the arguments manually. The second one contains the SUM function and AVERAGE function for “dividend” and “divider”, respectively. As you can see, you can use a number, which is returned by a function, as an argument in the MOD formula. SUM(5,7) equals 12 and AVERAGE(4,6,5) is equal to 5. Thus, the second MOD formula returns 2. The third example includes two cell references as arguments.
Are you interested in other math-related functions in Google Sheets? Check these articles.
Go to the following articles if you want to learn basic formulas in Google Sheets.
Navigate to the pages below if you need to learn how to sum, count, or average numbers with a condition or multiple conditions.
How to Use SUMIF Function in Google Sheets - sum up the numbers that meet a criterion
SUMIFS Function in Google Sheets: Explained - sum up the numbers that meet multiple criteria
How to Use COUNTIF Function in Google Sheets - count the number of cells that meet a requirement
How to Use COUNTIFS function in Google Sheets - count the number of cells that meet multiple requirements
AVERAGEIFS Function in Google Sheets: Explained - average the figures that meet a standard
AVERAGEIF Function in Google Sheets: Explained - average the figures that meet multiple standards
Visit the following post if you are interested in learning how to count the number of specific cells.
COUNT Function in Google Sheets: Explained - count the number of cells containing numeric values (except for blank ones)
COUNTA Function in Google Sheets: Explained - count the number of cells incorporating all types of values including text and date except for blank ones
COUNTBLANK Function in Google Sheets: Explained - count the number of blank cells
COUNTUNIQUE Function in Google Sheets: Explained - count the number of unique cells
Are you learning this formula to build a financial model or financial KPI dashboard, or conduct financial analysis? If so, LiveFlow may help you to automate manual workflows and keep numbers updated in real time. For instance, you can easily compare your Budget versus Actual without any manual work. Furthermore, you can access other templates here, from the simple Income Statement and Operational KPI templates to Multi-Currency Consolidated Income Statement, Balance Sheet, and Cash Flow templates. You can also customize these templates as you want without breaking the automated data inflow.
To learn more about LiveFlow, book a demo.
Learn how to do this step-by-step in the video below 👇