EOMONTH Exercise: End of Month and Week Number

Reading time: 3 minutes

Months do not all have the same number of days. This is why you should never add 30 to a date to reach the end of a month. EOMONTH returns the last day of any month, before or after a given date, and it handles leap years for you.

The following exercise shows you how to work with months, weeks and weekdays.

What you will practice in this exercise

You work on a list of employees and their hire date. You answer 6 questions, one formula per question:

  • Last day of the hire month (EOMONTH with 0)
  • Last day of the following month (EOMONTH with 1)
  • Last day of the previous month (EOMONTH with -1)
  • ISO week number of a date (ISOWEEKNUM)
  • ISO week number of another date (ISOWEEKNUM)
  • Day of the week of a date (WEEKDAY type 2)

Practice with exercises

EOMONTH — End of month and ISO week
🔒 Members only

EOMONTH — End of month and ISO week
Find the end of month, ISO week number and weekday of a date.

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 *

EOMONTH Exercise: End of Month and Week Number

Reading time: 3 minutes

Months do not all have the same number of days. This is why you should never add 30 to a date to reach the end of a month. EOMONTH returns the last day of any month, before or after a given date, and it handles leap years for you.

The following exercise shows you how to work with months, weeks and weekdays.

What you will practice in this exercise

You work on a list of employees and their hire date. You answer 6 questions, one formula per question:

  • Last day of the hire month (EOMONTH with 0)
  • Last day of the following month (EOMONTH with 1)
  • Last day of the previous month (EOMONTH with -1)
  • ISO week number of a date (ISOWEEKNUM)
  • ISO week number of another date (ISOWEEKNUM)
  • Day of the week of a date (WEEKDAY type 2)

Practice with exercises

EOMONTH — End of month and ISO week
🔒 Members only

EOMONTH — End of month and ISO week
Find the end of month, ISO week number and weekday of a date.

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 *