Google Sheets MOD Function: Syntax, Examples & Tips

The MOD function returns the remainder after dividing one number by another, useful for determining even/odd values or periodicity.
Google Sheets
MOD(dividend, divisor)

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is a MOD Function?
  3. A Practical Example
  4. MOD Formula
  5. Result of the Formula
  6. Why Use MOD?
  7. Key Takeaways:
  8. Example use case

Parameters

dividend:
The number or cell reference from which you want to find the remainder when divided by the divisor.

divisor:
The number or cell reference by which you want to divide the dividend. This value must not be zero, as division by zero is undefined.

What is a MOD Function?

The MOD function in Google Sheets is a mathematical function used to return the remainder of a division operation. It is particularly useful in various scenarios, such as determining if a number is even or odd, cycling through a list, or performing calculations that require periodicity. The MOD function takes two arguments: the dividend and the divisor.

In simpler terms, MOD helps you find out what is left over after dividing one number by another.

A Practical Example

Imagine you are analyzing sales data and want to determine which sales representatives have achieved their targets based on a specific quota.

Sales Data Table:

SalesRepSalesAmount
Alice1500
Bob2200
Charlie800
David3000

You have a target quota of 1000 sales. You want to find out how many sales representatives exceeded this target and by how much.

MOD Formula

To achieve this, you would use the MOD function as follows:

Google Sheets
=MOD(B2, 1000)

In this formula:

  • B2 is the cell containing the SalesAmount for each SalesRep.
  • 1000 is the target quota.

Result of the Formula

When you apply the MOD formula to the Sales Data Table, the output would look like this:

SalesRepSalesAmountRemainder
Alice1500500
Bob2200200
Charlie800800
David30000

In this case, the MOD function shows how much each sales representative's sales amount exceeds or falls short of the target quota of 1000.

Why Use MOD?

MOD is beneficial because it provides a simple way to analyze numerical data and identify patterns. It can help in various scenarios, such as determining even or odd numbers, cycling through lists, or checking for divisibility. The function is straightforward and easy to use, making it a valuable tool for anyone working with numerical data in Google Sheets.

Key Takeaways:

  • MOD: A mathematical function that returns the remainder of a division operation.
  • Versatile: Useful for various applications, including data analysis, budgeting, and performance tracking.
  • Simplicity: Easy to implement and understand, making it accessible for users of all skill levels.
  • Common Use Cases: Ideal for determining even/odd numbers, checking divisibility, and analyzing sales performance.

MOD is an essential function for anyone working with numerical data in Google Sheets, providing a powerful way to enhance data analysis and reporting capabilities.

Happy spreadsheeting!

Example use case

You have a list of sales transactions in Column A and their corresponding amounts in Column B. Use the MOD formula to identify every second transaction's amount, allowing you to analyze patterns or trends in your sales data efficiently.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.