+ Reply to Thread
Results 1 to 4 of 4

Rolling 3 Month Calendar

  1. #1
    Registered User
    Join Date
    10-08-2010
    Location
    Groton, CT
    MS-Off Ver
    Excel 2003
    Posts
    6

    Exclamation Rolling 3 Month Calendar

    Hello,

    I am trying to create a calendar that tracks employee's vacation days for three months at a time. So, I want dates on top as first row headers and employee names on the side. The manager would just put Xs in the cells to show they are on vacation that day. I only want to show this month and two months after at a time. After this month is over it should hide and then show the next three months. Any thoughts?

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Rolling 3 Month Calendar

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Rolling 3 Month Calendar

    Requires VBA. There is no way (that I know of) to automatically or selectively hide columns without an explicit Hide Column command, so you needs macros to figure out which columns to hide. Allow macros to run for this to work.

    I used three rows to show the date: year, month, day. That allows the columns to be as narrow as possible. The entire date is stored for all three; formatting dictates which value is seen.

    There are radio buttons in the upper left that will allow you to choose whether to show all dates, or only the current month plus the following two months.

    To add more dates, select the last column and fill to the right.

    Now that I've done all that I'm going to recommend you do this by using rows for dates instead of columns, because Excel 2003 is limited to 256 columns, which is doesn't even get you 9 months. (I'm assuming you aren't using this to track over 256 employees.)

    EDIT: With all due respect to royUK I proceeded because I felt it was clear to me what you were looking for.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Rolling 3 Month Calendar

    I produced a similar sheet, where employee requests for time off where in a table, and the calendar scrolled showing a 4-8 week period, always starting at the current date. the entire sheet used no macros only conditional formatting and a few fomulas to achieve the effect, in the exel 2007 version it also showed company holidays and weekends highlighted!

    As the calendar is dynamic it will last for ever, all you have to do is update employee requests in the table!

    if this sounds interesting I will dig through my archives and post the sheet (its on my desk top, I will have to blow the dust off it!)
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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