+ Reply to Thread
Results 1 to 4 of 4

Calender Dates

  1. #1
    Registered User
    Join Date
    01-07-2012
    Location
    Londob
    MS-Off Ver
    Excel 2007
    Posts
    5

    Calender Dates

    Hi

    I am trying to create dates in excel sheet, so when the year changes the day and dates change. But i only want to show the working days Monday to Friday going across in columns

    Eg Year 2012

    02/01/2012 03/01/2012 04/01/2012 05/01/2012 06/01/2012 09/01/2012 10/01/2012 11/01/2012 12/01/2012 13/01/2012
    Monday Tuesday Wednesday Thursday Friday Monday Tuesday Wednesday Thursday Friday



    I would like either in formula or macro when i change the year the dates change. I know there are not enough columns so will have each sheet by month or quarter

    Thanks

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Calender Dates

    Hello & Welcome to the Forum,

    Have you looked at the Workday function =WORKDAY(start_date,days,holidays)

    For the start_date you can enter the year, but have it be 1/1/2012 but displayed as yyyy and your good to go.
    HTH
    Regards, Jeff

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

    Re: Calender Dates

    Try this
    Please Login or Register  to view this content.
    which calculates the first workday of that year.
    If you have this list of holidays in Sheet1!A1:A12
    Please Login or Register  to view this content.
    then this variation will skip those holidays when calculating workdays:
    Please Login or Register  to view this content.
    For the remaining days, enter one of these regular formulas (depending on whether you're using a holiday list or not) and copy it across to the right
    Please Login or Register  to view this content.
    For 2012, this is the series of workdays (excluding the holidays I listed):
    Friday, January 13, 2012 Monday, January 16, 2012 Tuesday, January 17, 2012 Wednesday, January 18, 2012

    Notice that January 1st through the 12th is skipped because I listed them in the holidays.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    01-07-2012
    Location
    Londob
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Calender Dates

    Hi thank you both of you for your tips.

    I will try this .

    Once again thank you

+ 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