+ Reply to Thread
Results 1 to 8 of 8

Yearly Roster - Day count to date.

  1. #1
    Registered User
    Join Date
    03-22-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    19

    Yearly Roster - Day count to date.

    Hi

    I'm trying to make a Yearly roster rotation template. How do i make it so that it can display what day corresponding to the correct date/month/year.
    For example: 1st January 2018 starts Monday..... to 31st January 2018 ends Wednesday.

    Also, how do i make it continue to February immediately after the end of january?

    Its a bit confusing and i'm unable to provide a template since I haven't been succesful with this.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Yearly Roster - Day count to date.

    If you put 1/1/2018 in a cell and drag it down or across, Excel will automatically increment the days. When it gets to 1/31/2018, the next will be 2/1/2018, etc. If you want to see the day name, then custom format:
    dddd, dd/mm/yyyy. dddd being the day name.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    03-22-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    19

    Re: Yearly Roster - Day count to date.

    Quote Originally Posted by protonLeah View Post
    If you put 1/1/2018 in a cell and drag it down or across, Excel will automatically increment the days. When it gets to 1/31/2018, the next will be 2/1/2018, etc. If you want to see the day name, then custom format:
    dddd, dd/mm/yyyy. dddd being the day name.
    Edit* ignore this comment. I just re-read it properly. give me a second to trial this out.


    Edit ** Is there a formula which allows me to change the YEAR.
    So assumed Cell A1=Changeable year... Could i perhaps do =DATE($A$1,1,1) , =DATE($A$1,1,1+1).
    Based on that example. it doesn't seem to work that way :S
    Last edited by natkemon; 06-20-2018 at 09:29 PM.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Yearly Roster - Day count to date.

    With the year in A1, yes, use =DATE($A$1,1,1) in some cell (A2?). Then in the cells below use =A2+1 and drag this one down

  5. #5
    Registered User
    Join Date
    03-22-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    19

    Re: Yearly Roster - Day count to date.

    Thats very helpful. Now in 2020, it is a leap year. Based on this spreadsheet, How do i accomodate for that leap year? Any recommendations/suggestions?

    In other words, how do i make my Month headers (february) extend 1 more column based on the extra day .
    Attached Files Attached Files

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Yearly Roster - Day count to date.

    In other words, how do i make my Month headers (february) extend 1 more column based on the extra day .
    I believe manipulating the physical size of ranges is going to require VBA ... which I do not know enough about.

    The only formula wise approach that I can think of is to commit 29 columns to February and fill in the 29th only on leap years. Also include a helper cell (or named formula in Name Manager) that calculates leap years. The leap year formula ... in D2(?) could be
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    returns 1 for leap years 0 if not.

    If statically "stretching" the February merged cell is acceptable I still see challenges ahead that also include a work around for the merged cells. Merged cells almost always cause havoc for formulas.

    If this is acceptable please let us know.
    Last edited by FlameRetired; 06-21-2018 at 07:23 PM.
    Dave

  7. #7
    Registered User
    Join Date
    09-02-2021
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    1

    Re: Yearly Roster - Day count to date.

    Im following this, how to access your file?

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Yearly Roster - Day count to date.

    Hello aileenbarcelon. Welcome to the forum.

    To access the file (download it) just click on the link in post #5. Follow the prompts and the workbook will open in Excel.

    In the event you wish to post a solution please take note that this thread is just over 3 years old and there has been no activity in it for about the same. It's not likely the thread owner is going to return to see it.

    Again welcome aboard.

+ 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. [SOLVED] Adaptive Yearly Month Count
    By DemRulesDoe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2017, 11:20 PM
  2. [SOLVED] Conditional Formatting for yearly roster
    By Ratu in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-04-2017, 09:22 PM
  3. Replies: 2
    Last Post: 03-29-2016, 06:15 PM
  4. Formula to count clinics that have at least one student listed in roster
    By owenpga in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-29-2016, 09:11 PM
  5. [SOLVED] Yearly count and date lookup formula
    By Christopherdj in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-12-2015, 05:12 PM
  6. roster making macro as per shift count
    By DJ1890 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-30-2013, 09:48 AM
  7. Yearly cell count of a certain value
    By Hidai in forum Excel General
    Replies: 3
    Last Post: 01-10-2011, 04:54 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