<< Go back to all functions

EOMONTH

The EOMONTH function in Google Sheets is a useful tool to determine the date representing the last day of a month that falls a specified number of months before or after another date. Whether you're calculating due dates, tracking project timelines, or analyzing financial data, the EOMONTH function simplifies the task. Read on to learn more about its syntax, parameters, and applications.

Function Syntax and Parameters

Syntax: EOMONTH(start_date, months)

Parameters:

  • start_date: The starting date from which to calculate the ending date.
  • months: The number of months before or after the start_date.

Step-by-Step Tutorial

  1. Using EOMONTH to calculate the last day of the current month:

    • Example: =EOMONTH(TODAY(), 0)
    • Result: Returns the date representing the last day of the current month.
  2. Using EOMONTH to calculate the last day of the previous month:

    • Example: =EOMONTH(TODAY(), -1)
    • Result: Returns the date representing the last day of the previous month.
  3. Using EOMONTH to calculate the last day of a future month:

    • Example: =EOMONTH(TODAY(), 3)
    • Result: Returns the date representing the last day of a month that is three months after the current month.

Use Cases and Scenarios

  1. Project Management: Determine the end date of a project based on the start date and the number of months.

  2. Financial Planning: Calculate the payment due date by adding a specific number of months to the invoice date.

  3. Inventory Management: Track the expiration date of products or materials based on the manufacturing date and the estimated shelf life.

Related Functions

  • TODAY: Returns the current date.
  • DATE: Creates a date by specifying the year, month, and day.

Related Articles