+ Reply to Thread
Results 1 to 4 of 4

Sick Absence counting

  1. #1
    Registered User
    Join Date
    04-30-2010
    Location
    oxford england
    MS-Off Ver
    Excel 2007
    Posts
    10

    Sick Absence counting

    Hi , I am preparing a leave calculation chart for my team . I can get it to calculate number of days leave and sickness etc but need to put something in that counts the number of periods someone is off sick . Hope this makes some sense . Is there a formula I can put into i7 that can do this automatically ? Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,450

    Re: Sick Absence counting

    This counts periods of sickness using a formula:-

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


    But if you are ill Monday, work tuesday and off wednsday then that is two periods.



    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    04-30-2010
    Location
    oxford england
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Sick Absence counting

    Thanks although when I cut and paste the =sickper(j7:nj7) into cell i7 it throws up a #name? error .

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,406

    Re: Sick Absence counting

    That's because you didn't copy code into your workbook.

    Pres All+F11 to open VBA editor
    Insert Module
    Copy-paste above solution
    Save workbook as .xlsm

    Then use your formula.

+ 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. Counting the number of periods (not days) of absence in Excel
    By petedacreep in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-20-2016, 09:42 AM
  2. Calculate sick absence by days per month.
    By Pegs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2013, 06:57 AM
  3. [SOLVED] Counting number of days sick per condition
    By burnsie in forum Excel General
    Replies: 3
    Last Post: 03-08-2013, 05:42 AM
  4. Counting Instances of Sick
    By boblardo in forum Excel General
    Replies: 6
    Last Post: 03-12-2012, 08:55 AM
  5. how much sick time used
    By kharwell812 in forum Excel General
    Replies: 8
    Last Post: 12-21-2008, 07:35 PM
  6. IF,or IF--so sick of IF's
    By heathercor in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2006, 01:01 PM
  7. [SOLVED] Counting the number of times someone called in sick
    By smskater in forum Excel General
    Replies: 3
    Last Post: 09-16-2005, 07:05 PM
  8. Counting Vacation or Sick Days within a Specified Time Period
    By Rhonda Hewett in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 12:37 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