+ Reply to Thread
Results 1 to 4 of 4

Formula to return next month end date after a month end date.

  1. #1
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253

    Formula to return next month end date after a month end date.

    Needing a formula in cell E25 that returns the next month end date after the entered month end date in cell E23. For example:

    Entering 11-30-07 in cell E23, Cell E25 = 12-31-07
    Entering 12-31-07 in cell E23, Cell E25 = 01-31-08
    Entering 01-31-08 in cell E23, Cell E25 = 02-29-08
    Entering 02-29-08 in cell E23, Cell E25 = 03-31-08
    Etc.

    If a problem, could live with using 02-28 instead of leap year dates 02-29.

    Thanks for any help you can give me. mikeburg

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Formula to return next month end date after a month end date.

    Let's see if I understand you correctly...

    With
    E23: (a date)

    These formulas return the last day of the following month:

    If you have the Anlaysis ToolPak add-in installed:
    E25: =EOMONTH(E23,1)

    or...If you don't have it installed:
    E25: =DATE(YEAR(E23),MONTH(E23)+2,0)

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253
    Works great! Thank you so very much. I am trying! mikeburg

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If E23 always has the last date of a month then to give the last day of the next month

    =E23+33-DAY(E23+32)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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