+ Reply to Thread
Results 1 to 3 of 3

Calendar/Leave planner and calculator

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    D
    MS-Off Ver
    Excel 2010
    Posts
    6

    Calendar/Leave planner and calculator

    Hi all

    I've spent most of today stealing peoples excel sheets from here and there to make my own leave sheets for the boss as we keep messing up how much we have left.

    I've attached it so you can have a look.

    Essentially it has all the days of the year on a sheet. A column of names, a column of leave entitled and a column of leave remaining. The latter is where my problem lies.


    =B4-(COUNTIF(D4:CR4:D15:CR15:D26:CR26:D37:CR37,"=l")+(COUNTIF(D4:CR4:D15:CR15:D26:CR26:D37:CR37,"=h")/2))

    If I put h in it subtracts .5 a day and if I put in l it takes away a full day. This works lovely until I get to the next trilogy of months. It subtracts from every ones leave.

    Related is if the next row down adds a day it subtracts from mine? And so on

    I hope it's clearer when you see it.

    Thanks in advance
    Attached Files Attached Files
    Last edited by mingebag; 11-12-2012 at 05:27 AM.

  2. #2
    Registered User
    Join Date
    10-30-2012
    Location
    Modlin , Poland
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    42

    Re: Calendar/Leave planner and calculator

    hello,

    try now, should work

    kasia
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    D
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Calendar/Leave planner and calculator

    Awesome I see it was the brackets I missed out.

    Now to figure out adding hourly staff to it.

    Marked as solved so will starta new thread on the hourly bit no doubt :D

    Thanks again
    Last edited by mingebag; 11-12-2012 at 05:27 AM.

+ 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