MOD Exercise: Check a Subscription Length

Reading time: 2 minutes

MOD returns the remainder of a division. If the remainder is 0, the number is a multiple. This simple idea answers many questions: is 24 months a whole number of years? Is a number even? Is today a renewal date?

The following exercise shows you how to use MOD with IF to test multiples.

What you will practice in this exercise

You work on a list of subscriptions with their length in months. You answer 6 questions, one formula per question:

  • Remainder of 24 months divided by 12 (MOD)
  • The same for 18 months
  • “Renewal” if the remainder is 0 (IF + MOD)
  • The same diagnosis for 15 months
  • Number of complete years (INT or QUOTIENT)
  • Is it a multiple of 24 months? (IF + MOD)

Practice with exercises

MOD + IF — Multiple tests
🔒 Members only

MOD + IF — Multiple tests
Detect multiples of 12 or 24 months with MOD and an IF diagnostic.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

MOD Exercise: Check a Subscription Length

Reading time: 2 minutes

MOD returns the remainder of a division. If the remainder is 0, the number is a multiple. This simple idea answers many questions: is 24 months a whole number of years? Is a number even? Is today a renewal date?

The following exercise shows you how to use MOD with IF to test multiples.

What you will practice in this exercise

You work on a list of subscriptions with their length in months. You answer 6 questions, one formula per question:

  • Remainder of 24 months divided by 12 (MOD)
  • The same for 18 months
  • “Renewal” if the remainder is 0 (IF + MOD)
  • The same diagnosis for 15 months
  • Number of complete years (INT or QUOTIENT)
  • Is it a multiple of 24 months? (IF + MOD)

Practice with exercises

MOD + IF — Multiple tests
🔒 Members only

MOD + IF — Multiple tests
Detect multiples of 12 or 24 months with MOD and an IF diagnostic.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *