What does it do?

Gives you the remainder after dividing one number with another

Formula breakdown:

=MOD(number1, number2)

What it means:

=MOD(a numberdivided by this number)

In Excel it is very easy to divide two numbers.

But how about if you need to get the remainder from a division operation?

For example, divide 13 by 4:

  • Divide the two numbers (i.e. 13 / 4)
  • Get the quotient (which is 3)
  • Multiply it back to the divisor (3 * 4)
  • Subtract it from the original number (13 – 12)
  • And I have the remainder! (1)


So, 4 goes into 13 three times with a remainder of 1.

Thankfully we can do the above complex and manual calculation with ease using Excel’s MOD formula!

I explain how you can do this below:



STEP 1: We need to enter the MOD function:



STEP 2: The MOD arguments:


What is the first number that we plan to divide?

Reference the cell that contains the first number:



What is the divisor?

Reference the cell that contains the second number:

=MOD(C9, D9)


STEP 3: Do the same for the rest of the cells by dragging the MOD formula all the way down using the left mouse button.

Now you are able to get the remainders of all the division operations!


If you like this Excel tip, please share itEmail this to someone


Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Calculate the Compound Interest with Excel’s... What does it do?Calculates the compound interestFormula breakdown:=FV(rate, nper, pmt, )What it means:=FV(interest rate, number of periods, periodic payment, initial amount)Say that you turn 18 years today (CONGRATS!) and you find out that your parents...
RANDBETWEEN Function for Excel Dates What does it do?Generates random dates, in between a start date and an end dateFormula breakdown:=RANDBETWEEN(bottom, top)What it means:=RANDBETWEEN(starting date for random date generation, end date for random date generation) If you need to ...
Change Phone Area Codes with Excel’s REPLACE Formu... What does it do?Replaces part of a text string, based on the number of characters you specify, with a different text stringFormula breakdown:=REPLACE(old_text, start_num, num_chars, new_text)What it means:=REPLACE(this cell, starting from this number, all the ...
10 + 1 Ways to Round Numbers in Excel This is a guest post by Alan Murray from Computergaga.There are many ways to round numbers in Excel. These techniques will typically involve formatting the values, or using formulas.This post will look at 10 rounding functions of Excel, and then look at some formatting te...