{"id":1147,"date":"2018-07-01T14:56:54","date_gmt":"2018-07-01T14:56:54","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=1147"},"modified":"2023-11-02T19:41:32","modified_gmt":"2023-11-02T19:41:32","slug":"eomonth","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/","title":{"rendered":"EOMONTH function"},"content":{"rendered":"\n

The EOMONTH function in Excel is used to calculate the end of a month’s date, based on a given date. It’s a handy tool for various financial and date-related calculations in spreadsheets.<\/p>\n\n\n\n

Syntax<\/h2>\n\n\n\n

EOMONTH(start_date, months)<\/strong><\/p>\n\n\n\n

Arguments<\/h2>\n\n\n\n
start_date<\/strong><\/td>The initial date for which you want to find the end of the month.<\/td><\/tr>
months<\/strong><\/td>The number of months to add to the start_date. It can be positive or negative to find future or past end-of-month dates. (Optional)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

How to use<\/h2>\n\n\n\n

The EOMONTH function is straightforward to use. Simply follow these steps:<\/p>\n\n\n\n

1. Start by selecting the cell where you want the result to appear.<\/p>\n\n\n\n

2. Type the formula<\/p>\n\n\n\n

=EOMONTH(start_date, months)<\/code><\/pre>\n\n\n\n

into the selected cell.<\/p>\n\n\n\n

3. Replace ‘start_date’ with the cell reference or a date you want to work with. If you want to use the current date, you can simply type it as text within quotation marks, e.g., “2023-11-02”.<\/p>\n\n\n\n

4. If you want to find the end of the month for a date in the future or the past, enter the number of months you’d like to add or subtract within the ‘months’ argument. This argument is optional; if omitted, Excel assumes you want to find the end of the month for the ‘start_date’ with no additional months.<\/p>\n\n\n\n

5. Press Enter, and Excel will calculate and display the end-of-month date in the selected cell.<\/p>\n\n\n\n

Examples<\/h2>\n\n\n\n

Let’s look at some examples to see how the EOMONTH function works:<\/p>\n\n\n\n

Example 1:<\/strong> Finding the end of the current month:<\/p>\n\n\n\n

=EOMONTH(\"2023-11-02\")<\/code><\/pre>\n\n\n\n

This formula will return the end of November 2023, which is 30th November 2023.<\/p>\n\n\n\n

Example 2:<\/strong> Finding the end of the next month:<\/p>\n\n\n\n

=EOMONTH(\"2023-11-02\", 1)<\/code><\/pre>\n\n\n\n

This formula will return the end of December 2023, which is 31st December 2023, as it adds one month to the start date.<\/p>\n\n\n\n

Example 3:<\/strong> Finding the end of the previous month:<\/p>\n\n\n\n

=EOMONTH(\"2023-11-02\", -1)<\/code><\/pre>\n\n\n\n

This formula will return the end of October 2023, which is 31st October 2023, as it subtracts one month from the start date.<\/p>\n\n\n\n

Example 4:<\/strong> Using cell references:<\/p>\n\n\n\n

=EOMONTH(A2, B2)<\/code><\/pre>\n\n\n\n

If cell A2 contains a date, and cell B2 contains the number of months to add or subtract, this formula will calculate the end of the month based on the values in those cells.<\/p>\n\n\n\n

Additional Information<\/h2>\n\n\n\n

The EOMONTH function is quite versatile and can be handy in financial planning, scheduling, and various other scenarios where you need to work with date calculations. It’s worth noting that the function returns a serial number, which can be formatted as a date for better readability in your spreadsheet.<\/p>\n","protected":false},"excerpt":{"rendered":"

The EOMONTH function in Excel is used to calculate the end of a month’s date, based on a given date. It’s a handy…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[180],"yoast_head":"\nEOMONTH function<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EOMONTH function\" \/>\n<meta property=\"og:description\" content=\"The EOMONTH function in Excel is used to calculate the end of a month’s date, based on a given date. It’s a handy...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-01T14:56:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-02T19:41:32+00:00\" \/>\n<meta name=\"author\" content=\"Tomasz Decker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Decker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"EOMONTH function\",\"datePublished\":\"2018-07-01T14:56:54+00:00\",\"dateModified\":\"2023-11-02T19:41:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/\"},\"wordCount\":410,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"keywords\":[\"done\"],\"articleSection\":[\"functions\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/\",\"url\":\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/\",\"name\":\"EOMONTH function\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"datePublished\":\"2018-07-01T14:56:54+00:00\",\"dateModified\":\"2023-11-02T19:41:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/eomonth\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EOMONTH function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EOMONTH function","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/","og_locale":"en_US","og_type":"article","og_title":"EOMONTH function","og_description":"The EOMONTH function in Excel is used to calculate the end of a month’s date, based on a given date. It’s a handy...","og_url":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/","article_published_time":"2018-07-01T14:56:54+00:00","article_modified_time":"2023-11-02T19:41:32+00:00","author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"EOMONTH function","datePublished":"2018-07-01T14:56:54+00:00","dateModified":"2023-11-02T19:41:32+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/"},"wordCount":410,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"keywords":["done"],"articleSection":["functions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/","url":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/","name":"EOMONTH function","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"datePublished":"2018-07-01T14:56:54+00:00","dateModified":"2023-11-02T19:41:32+00:00","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/functions\/eomonth\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/functions\/eomonth\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"EOMONTH function"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/1147"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=1147"}],"version-history":[{"count":3,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/1147\/revisions"}],"predecessor-version":[{"id":16382,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/1147\/revisions\/16382"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=1147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=1147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}