PC Help: Microsoft Excel

Working out your remainder

Written by Scott Colvey, Computeract!ve

Mod (short for Modulus) is a useful Excel function that gives the remainder after performing a division calculation.

So ‘=Mod(10,3)’ (without the quote marks) gives the answer 1, which is the remainder after dividing 10 by 3. The Int function can be seen as a counterpart to Mod because it returns only the whole number result of a division and ignores the remainder, so ‘=Int(10,3)’ gives the answer 3.

Int and Mod are often used together, as in the example shown, where numbers of weeks can be converted into years and weeks instead of the decimal fraction of a year displayed in column B.

Advertisement

Reader comments

More from Computeractive

News

The latest home computing news

Downloads

The best PC tools, applications and more

Reviews

Independent opinions on new hardware and software

Step-by-step guides

Easy-to-follow projects with pictures

PC Help

Solve PC problems with our Q&A

Videos

PC projects demonstrated and product reviews

Articles

An in-depth look at how to get the best from your PC

Magazine

What's coming up in Computeractive

Forums

Get help with your PC problems from our readers

Competitions

Your chance to win computing prizes

Shopping

Great deals on products, services and more

Computeractive CD Rom 10
All 26 issues of Computeractive from 2007 on one CD-Rom.

Ultimate Guide to PC Troubleshooting
Everything you need to know to solve your PC problems.

Create your own calendars softwareCreate your own Calendars
The fun and easy way to create your own calendars!

Computeractive - Issue 280Computeractive Back Issues
Missed an issue? Click here to find a back issue

Blogs

Windows Watch

Windows Watch

Keeping an eye on the latest XP and Vista news

Got a Mac? Get anti-virus.

02 Dec 2008Apple Mac users have long boasted that, unlike their Windows (sorry, sorry, "PC") counterparts, they don't need to spend time and money...

Download Junkie

Download Junkie

Your daily dose of download discussion

Get the free commercial version of TuneUp Utilties 2007 worth £30

01 Dec 2008Only recently did we tell you about the fantastic new release of TuneUp Utilities 2009 , which will enable you to tweak,...

Advertisement

Free email newsletters

Techno babble demystified...

[Display all definitions]

Or type in any computer-related word and click "Go"

Advertisement

Computeractive is not reponsible for content of Google adverts

Primary Navigation

© Incisive Media Ltd. 2008. Incisive Media Limited, Haymarket House,
28-29 Haymarket, London SW1Y 4RX, is a company registered in the United Kingdom with company registration number 04038503

Search computeractive.co.uk