+ Reply to Thread
Results 1 to 7 of 7

Enter first date of the year only and will populate the rest of the months

  1. #1
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Enter first date of the year only and will populate the rest of the months

    Hi,

    I was trying to create a calendar with the months located on separate sheets.

    I want the connection by just entering the first day of the year and it will populate the whole year.

    Connecting January and February is ok but the problem I'm having is when March is connected to February due to the year if it falls on a leap year or not leap year.

    If it's not leap year then the connection is blank so March dates are all error, if it falls on a leap year then its ok.

    Please see my attached sample on what I'm trying to do.

    Also, the Week number shows error if the leap year date is blank in February.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Enter first date of the year only and will populate the rest of the months

    You can use this in E5 of the Feb sheet:

    =MAX(Jan!$5:$5)+1

    and similar for the other sheets, each looking back to the previous sheet.

    Hope this helps.

    Pete

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Enter first date of the year only and will populate the rest of the months

    Try this formula in cell E5 of the worksheet "Mar":

    =MAX(Feb!AF5:AG5)+1

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Enter first date of the year only and will populate the rest of the months

    The calendar is done for you with array formulas, so you just need to change the year in Jan!D3 that all will adjust.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-01-2024
    Location
    UK
    MS-Off Ver
    O365
    Posts
    5

    Re: Enter first date of the year only and will populate the rest of the months

    File attaches
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Re: Enter first date of the year only and will populate the rest of the months

    Hi Everyone,

    Thank you very much for the help.

    I use Pete_UK and Phuocam formula and it works.

    Thank you very much.

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Enter first date of the year only and will populate the rest of the months

    Good to hear it - thanks for the rep.

    Pete

+ 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. How to calculate rest months till the end of year?
    By toplisek in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2022, 06:20 AM
  2. Calendar with months, year, per date
    By adrenaline19 in forum Office 365
    Replies: 7
    Last Post: 01-31-2021, 08:05 PM
  3. project figures for rest of this year based on last 18 months?
    By prometheusfox in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-25-2016, 10:14 AM
  4. [SOLVED] VBA Insert Current Month, Year and subsequent months/year for 15 months
    By MichiganWilliams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2014, 03:49 PM
  5. [SOLVED] Return 12 Months from Year End Date
    By PDBartlett in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2014, 06:39 AM
  6. Replies: 4
    Last Post: 08-15-2012, 05:24 AM
  7. Counting Months year to date.
    By WKM in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 05-18-2010, 03:08 AM

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