---
title: "EOMONTH function in Excel: syntax and examples | PracticeExcel"
description: "How to use EOMONTH in Excel and Google Sheets: month-end dates for invoices, deadlines and reports."
canonical_url: "https://practiceexcelonline.com/functions/eomonth"
locale: en
meta:
  "og:description": "How to use EOMONTH in Excel and Google Sheets: month-end dates for invoices, deadlines and reports."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~RU9NT05USCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBFT01PTlRIIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBtb250aC1lbmQgZGF0ZXMgZm9yIGludm9pY2VzLCBkZWFkbGluZXMgYW5kIHJlcG9ydHMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~RU9NT05USChzdGFydF9kYXRlLCBtb250aHMp%2Cp_Ii9mdW5jdGlvbnMvZW9tb250aCI%2Cs_OrQV4qmjPTwo3f9X.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "EOMONTH function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~RU9NT05USCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBFT01PTlRIIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBtb250aC1lbmQgZGF0ZXMgZm9yIGludm9pY2VzLCBkZWFkbGluZXMgYW5kIHJlcG9ydHMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~RU9NT05USChzdGFydF9kYXRlLCBtb250aHMp%2Cp_Ii9mdW5jdGlvbnMvZW9tb250aCI%2Cs_OrQV4qmjPTwo3f9X.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The EOMONTH function**

Returns the last day of the month a number of months before or after a date. 0 gives the end of the same month.

=

EOMONTH(

## **Syntax**

```
EOMONTH(start_date, months)
```

<dl><dt>**start_date **</dt>
<dd>The date to start from.</dd>
<dt>**months **</dt>
<dd>Months to move: 0 for this month, 1 for next, -1 for last.</dd></dl>

## **Examples**

B1=DAY(EOMONTH(DATE(2024,2,10),0))

|  | A | B |
| --- | --- | --- |
| 1 |  | **29** |

B1=MONTH(EOMONTH(DATE(2024,11,15),2))

|  | A | B |
| --- | --- | --- |
| 1 |  | **1** |

## **Practice EOMONTH**

- [**1****Days in the month with DAY and EOMONTH**→](https://practiceexcelonline.com/practice/edate-eomonth/days-in-month)

## **Read the guide**

- [**Excel for finance and accounting: the skills you actually use**](https://practiceexcelonline.com/learn/excel-for-finance)
- [**Dates in Excel: how they work and the formulas you need**](https://practiceexcelonline.com/learn/excel-dates)

## **Related functions**

- [**DATE**](https://practiceexcelonline.com/functions/date)
- [**MONTH**](https://practiceexcelonline.com/functions/month)
- [**NETWORKDAYS**](https://practiceexcelonline.com/functions/networkdays)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/eomonth#webpage","@type":"WebPage","description":"How to use EOMONTH in Excel and Google Sheets: month-end dates for invoices, deadlines and reports.","name":"EOMONTH function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/eomonth","breadcrumb":{"@id":"https://practiceexcelonline.com/functions/eomonth#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/eomonth"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/eomonth#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"EOMONTH function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/eomonth#article","description":"How to use EOMONTH in Excel and Google Sheets: month-end dates for invoices, deadlines and reports.","headline":"EOMONTH function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~RU9NT05USCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBFT01PTlRIIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBtb250aC1lbmQgZGF0ZXMgZm9yIGludm9pY2VzLCBkZWFkbGluZXMgYW5kIHJlcG9ydHMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~RU9NT05USChzdGFydF9kYXRlLCBtb250aHMp%2Cp_Ii9mdW5jdGlvbnMvZW9tb250aCI%2Cs_OrQV4qmjPTwo3f9X.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/eomonth#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/eomonth#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~RU9NT05USCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBFT01PTlRIIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBtb250aC1lbmQgZGF0ZXMgZm9yIGludm9pY2VzLCBkZWFkbGluZXMgYW5kIHJlcG9ydHMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~RU9NT05USChzdGFydF9kYXRlLCBtb250aHMp%2Cp_Ii9mdW5jdGlvbnMvZW9tb250aCI%2Cs_OrQV4qmjPTwo3f9X.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~RU9NT05USCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBFT01PTlRIIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBtb250aC1lbmQgZGF0ZXMgZm9yIGludm9pY2VzLCBkZWFkbGluZXMgYW5kIHJlcG9ydHMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~RU9NT05USChzdGFydF9kYXRlLCBtb250aHMp%2Cp_Ii9mdW5jdGlvbnMvZW9tb250aCI%2Cs_OrQV4qmjPTwo3f9X.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
