Excel MOD function

Returns the remainder of a division. MOD(number,2)=0 means the number is even. In Spanish Excel it is called RESIDUO.

Syntax

English Excel

=MOD(number, divisor)

Spanish Excel (Mexico)

=RESIDUO(número, núm_divisor)

Spanish Excel (Spain, Latin America)

=RESIDUO(número; núm_divisor)

ArgumentWhat it is
numberThe number to divide.
divisorWhat to divide by.

Example

INT drops the decimals, rounding down, and MOD(number, divisor) gives the remainder of a division. Together they turn minutes into hours and minutes, or pieces into packs and leftovers.

=MOD(B2,60)

Common mistake

A divisor of 0 gives #DIV/0!. The result takes the divisor’s sign: MOD(-3,2) is 1.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice MOD

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

INT and MOD

INT drops the decimals, rounding down, and MOD(number, divisor) gives the remainder of a division. Together they turn minutes into hours and minutes, or pieces into packs and leftovers.

Example=MOD(B2,60)ENTERO = INTRESIDUO = MOD
Step 1/2

In C2, calculate each movie’s full hours.

C2
ABCDE
1MovieMinutesHoursMinutes left
2Movie A142
3Movie B95
4Movie C181
5Movie D60
6Movie E118
7

Tip: while typing, click a cell or drag across several to insert their reference.

Frequently asked questions

What is MOD called in Spanish?
In Spanish Excel it is RESIDUO. The formula =MOD(B2,60) is written =RESIDUO(B2;60) (or with commas in Mexico).
Why does MOD use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common MOD mistake?
A divisor of 0 gives #DIV/0!. The result takes the divisor’s sign: MOD(-3,2) is 1.