Google Sheets MOD Function

This post will guide you how to use Google Sheets MOD function with syntax and examples in Google Spreadsheets.

Description

The Google Sheets MOD function returns the remainder of two numbers after division. So you can use the MOD function to get the remainder after a number is divided by a divisor in Google Sheets. And the returned result will have the same sign as divisor.

The MOD function is a build-in function in Google Sheets and it is categorized as a Math and Trigonometry Function.

Syntax

The syntax of the MOD function is as below:

=MOD (number, divisor)

Where the MOD function arguments are:

  • number – This is a required argument.The number that you want to get the remainder.
  • divisor – This is a required argument. The number that you want to divide number.

Note:

  • If the divisor is 0, then the MOD function will return the #DIV/0! Error.
  • The MOD function returns a result in the same sign as the divisor.

Google Sheets MOD Function Examples

The below examples will show you how to use Google Sheets MOD Function to get the remainder after number is divided by divisor.

1# to get the remainder of 6/5, enter the following formula in Cell B1.

=MOD(6,5)

google sheets MOD function1

2# 1# to get the remainder of -6/5, enter the following formula in Cell B1.

=MOD(-6,5)

google sheets MOD function1

See Also: Add Hours to Time in Google Sheets

Related Posts

Add Minutes to Time in Google Sheets
Add Minutes to Time in google sheets1

Adding whole hours or decimal minutes to a given time in google sheets is a fairly simple process. You can do this by using the Start_time+TIME(0,minutes,0) and Start_time+minutes/1440 functions. In this add minutes to time guide, we will show you ...

Add Hours to Time in Google Sheets
Add hours to time in google sheets1

Adding whole hours or decimal hours to a given time in Google Sheets is a fairly simple process. You can do this by using the Start_time+TIME(hours,0,0) and Start_time+hours/24 functions. In this add hours to time guide, we will show you ...

Google Sheets COUNTIFS Function
google sheets COUNTIFS function1

This post will teach you how to use Google Sheets COUNTIFS function with syntax and examples in Google Spreadsheets. Description The Google Sheets COUNTIFS function returns the count of cells in a range that meet one or more criteria. It ...

Google Sheets POWER function
google sheets POWER function1

This post will guide you how to use Google Sheets POWER function with syntax and examples in Google Spreadsheets. Description The Google Sheets POWER function returns the result of a number raised to a given power. So you can use ...

Google Sheets PI function
google sheets PI function1

This post will guide you how to use Google Sheets PI function with syntax and examples in Google Spreadsheets. Description The Google Sheets PI function returns the value of mathematical constant PI. The returned value is 3.14159265358979 and ti will ...

Google Sheets LN Function
google sheets LN function1

This post will guide you how to use Google Sheets LN function with syntax and examples. Description The Google Sheets LN function returns the natural logarithm of a given number.  And the natural logarithms are based on the constant e ...

Google Sheets INT Function
google sheets int function1

This post will guide you how to use Google Sheets INT function with syntax and examples. Description The Google Sheets INT function returns the integer portion of a given number. And it will round a given number down to the ...

Google Sheets FLOOR Function
google sheets floor function1

This post will guide you how to use Google Sheets FLOOR function with syntax and examples. Description The Google Sheets FLOOR function returns a number rounded down to the nearest multiple of significance. So it will return a rounded number. ...

Google Sheets EXP Function
google sheets exp function1

This post will guide you how to use Google Sheets EXP function with syntax and examples. Description The Google Sheets EXP function returns e raised to the power of a number.  The constant e is equal to 2.71828182845904, and it ...

Google Sheets FACT Function
google sheets FACT function1

This post will guide you how to use Google Sheets FACT function with syntax and examples. Description The Google Sheets FACT function returns the factorial of a given number.  The factorial of a given number is equal to 1*2*3…* number. ...

Sidebar