+ Reply to Thread
Results 1 to 4 of 4

Add 1 month to a date to give the EOM of following month

  1. #1
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Add 1 month to a date to give the EOM of following month

    Hi All,

    Recently I've undertaken a lot of Excel learning and my brain is swamped, so forgive me if the answer to the following is obvious...

    In one cell I have the date 31/08/2016. In another cell I'm trying to generate the 'End of Month' date of the following month, that being 30/09/2016.

    My current formula:
    =DATE(YEAR($C$8),MONTH($C$8)+1,DAY($C$8))
    is generating a result of 01/10/2016 when the result I want is 30/09/2016. No doubt this is something to do with the formula adding 31 days oppose 30, but how do I overcome this?

    The date of 31/08/2016 is of course in cell C8
    Last edited by STUARTXL; 08-31-2016 at 03:40 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,748

    Re: Add 1 month to a date to give the EOM of following month

    =EOMONTH(C8,1)

    the 2nd element defines how many months to go ahead
    0 - this month
    1 - the next month - 1 month ahead
    2 - 2 months ahead
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: Add 1 month to a date to give the EOM of following month

    try this

    =EOMONTH($C$8,1)

  4. #4
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Add 1 month to a date to give the EOM of following month

    So obvious. Thanks guys. Think I need a rest.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula to give week number of a month according to date of the month
    By tukae in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2016, 11:14 PM
  2. [SOLVED] Formula to give Begining and end of month date
    By rizmomin in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-17-2016, 08:51 AM
  3. Replies: 6
    Last Post: 03-03-2013, 01:41 AM
  4. Replies: 5
    Last Post: 10-04-2012, 07:06 AM
  5. [SOLVED] Making a cell give the date the fist monday of the month
    By frankday in forum Excel General
    Replies: 10
    Last Post: 09-30-2012, 06:53 PM
  6. [SOLVED] VBA to identify the current month and previous month based on system date
    By ravikumar00008 in forum Excel General
    Replies: 10
    Last Post: 07-26-2012, 10:04 AM
  7. [SOLVED] Excel month dropdown list to generate day of week and date for selected month
    By aaaaaaaa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2010, 02:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1