Arrow left
Back to product guides
Google Sheets Formulas

MOD Function in Google Sheets: Explained

In this article, you will learn the MOD function and how to use it. 

What is the MOD formula in Google Sheets?

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.

How to use the MOD function in Google Sheets

  1. Type “=MOD” or go to “Insert”“Function” (or directly navigate to the “Functions” icon)  “Math”“Mod”.
  2. Input a dividend and a divider by cell reference and manual input
  3. Press the “Enter” key.
How to insert the MOD formula from the menu bar in Google Sheets

The general syntax is as follows:

=MOD(dividend, divider)

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.

How to use the MOD function in Google Sheets.

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.

What are the other formulas related to mathematics and statistics

If you don’t get the solution you are looking for in this article, or you have further questions related to mathematics or statistics, you may find the answers in the following articles.

Go to the following articles to learn basic formulas in Google Sheets.

How to Do Math in Google Sheets for Beginners

ADD Function in Google Sheets: Explained

MINUS Function in Google Sheets: Explained

DIVIDE Function in Google Sheets: Explained

MULTIPLY Function in Google Sheets: Explained

PRODUCT Function in Google Sheets: Explained

How to Use SUM Function in Google Sheets

How to Use SUMPRODUCT Formula in Google Sheets

How to Use MAX Function in Google Sheets

How to Use MIN Function in Google Sheets

How to Use MEDIAN Function in Google Sheets

How to Use AVERAGE Formula in Google Sheets

How to Use MODE Function in Google Sheets

Navigate to the pages below 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

AVERAGEIF Function in Google Sheets: Explained - average the figures that meet a standard

AVERAGEIFS Function in Google Sheets: Explained - average the figures that meet multiple standards

AVERAGE.WEIGHTED Function in Google Sheets: Explained - use this formula to calculate the weighted average

MAXIFS Function in Google Sheets: Explained - seek for the maximum value that meets specific criteria

MINIFS Function in Google Sheets: Explained - seek for the minimum value that meets specific criteria

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 containing 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

You can learn about other Google Sheets formulas and tips that are not mentioned here on this page: LiveFlow‘s How to Guides

Analyze your live financial data in a snap

Are you learning this formula to visualize financial data, build a financial model, or conduct financial analysis? In that case, LiveFlow may help you automate manual workflows and update numbers in real-time. You can access various financial templates on our website, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. You can also customize these templates as you want without breaking the automated data inflow.

To learn more about LiveFlow, book a demo.

Automate any custom financial dashboard in Google Sheets with LiveFlow

Learn how to do this step-by-step in the video below 👇

Do you need personal help?

Our team of real people are here to help you any time between 9am and 10pm EST.
Check Icon
Email us at: help@liveflow.io
Check Icon
Call us at +1 (415) 650-1711