+ Reply to Thread
Results 1 to 4 of 4

First day of month, last day of month, rolling down column

  1. #1
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    First day of month, last day of month, rolling down column

    Hello. How do I write a formula that gives me first day of month and last day of month (two seperate columns) rolling down with a formula?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: First day of month, last day of month, rolling down column

    Try this...

    Enter the first few dates in A1:A3...

    A1 = 1/1/2016
    A2 = 2/1/2016
    A3 = 3/1/2016

    Enter this formula in B1:

    =EOMONTH(A1,0)

    Format as Date then copy down to B3.

    Now, select A2:B3 then drag down the column as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: First day of month, last day of month, rolling down column

    Try these and copy down:

    Excel 2016 (Windows) 32 bit
    A
    B
    1
    =EOMONTH($D$1,ROWS($A$1:A1)-2)+1
    =EOMONTH($D$1,ROWS($A$1:A1)-1)
    Sheet: Sheet2

    where D1 contains your start date.
    Last edited by AliGW; 11-11-2016 at 02:36 PM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: First day of month, last day of month, rolling down column

    My beginning of the month is the same formula as AliGW (only with different references). My end of the month formula is different

    A
    B
    C
    D
    E
    1
    14/04/2016
    Beginning of Month
    End month
    2
    =EOMONTH($A$1,ROWS($1:1)-2)+1
    01/04/2016
    30/04/2016
    =EOMONTH(C2,0)
    3
    01/05/2016
    31/05/2016
    4
    01/06/2016
    30/06/2016
    5
    01/07/2016
    31/07/2016
    6
    01/08/2016
    31/08/2016
    7
    01/09/2016
    30/09/2016
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Replies: 3
    Last Post: 07-14-2015, 12:26 PM
  2. Replies: 3
    Last Post: 07-16-2014, 02:53 PM
  3. [SOLVED] Combine date (month) and text and still be able to add a month to next column
    By kinscy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-20-2014, 12:34 AM
  4. Replies: 10
    Last Post: 01-09-2014, 07:04 PM
  5. [SOLVED] Auto instert Month names for This month, Last month and Next month
    By hemal89 in forum Word Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2013, 12:01 PM
  6. [SOLVED] How do I set up 12-month rolling month cells in excel?
    By jbh in forum Excel General
    Replies: 2
    Last Post: 11-30-2005, 04:15 PM
  7. Replies: 7
    Last Post: 03-10-2005, 09:06 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