+ Reply to Thread
Results 1 to 19 of 19

Calculating Number Of Sick Days In A Rolling Year - Exc

  1. #1
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Calculating Number Of Sick Days In A Rolling Year - Exc

    Hi

    I want to create a spreadsheet to record 12 months rolling period of employee sickness, can anyone help with the formula? Or have an example of a spreadsheet?

    Thanks

    SanTestfile.xlsx
    Last edited by sansan88; 08-21-2015 at 11:11 AM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    It would be far easier to give you an appropriate solution if we had sight of the way you capture sick data in the first place, but the attached is a quick demonstration of how you could do it.
    Should point you in the right direction at least.

    BSB
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Thanks BSB, attached my spreadsheet, are you able to help me?

    really appreciated. thanks

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Have a look at the blue cells in the attached.
    Does that help at all?

    BSB
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Thanks, for example; name1 should have 2 occasions, but the blue cells has counted 0? are you able to fix the formula?

    Many Thanks again

    San

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    As of today's date a rolling year would start at 21/08/2014, therefore, any instances of sickness "Name 1" has recorded in your data would pre-date this rolling year and the numbers in the blue cells are correct.

    BSB

  7. #7
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    ok i see thank you. I also need a formula to work out number of occasions they have been off sick, would you be able to help?

    Many thanks

    San

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    If someone was off sick for 2 days would you consider that 1 occasion?
    And do you need occasions within the rolling year?

    BSB

  9. #9
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Hi, yes i would count that as 1 occasion and yes it would be great to have the occasions within the rolling year.

    Many BSB

  10. #10
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Your current sample data would give the same results for occasions as days as all instances are only one day long.
    So I've changed the date in the green cell to provide a 2 day sickness and added a new blue column for occasions.

    BSB
    Attached Files Attached Files

  11. #11
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    For counting occasions, the below formula in cell L3 and copied down would be better.

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


    Does the same thing, just more efficient.

    BSB

  12. #12
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Many thanks, very appreciated your help

  13. #13
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Hi BSB

    There is a few errors on the formula that you had provided me, please can you help me? thanks

    DJ should only have 26 days in rolling period?

    attached testfile2
    Attached Files Attached Files
    Last edited by sansan88; 08-24-2015 at 04:14 AM.

  14. #14
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Really appreciated if anyone could help solve this problem? thanks

  15. #15
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    In K3 and copy down:

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


    Change the 100's in the formula to a suitable row number as necessary.
    You could set this up with dynamic named ranges so you don't have to make that adjustment manually. It would adapt along with the data as more rows are added.


    BSB

  16. #16
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Attached version with dynamic named ranges included.

    Press Ctrl + F3 to see the named ranges and how they work.

    BSB
    Attached Files Attached Files
    Last edited by BadlySpelledBuoy; 08-24-2015 at 06:01 AM.

  17. #17
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Thanks BSB. it works! you are a star. thank you

  18. #18
    Registered User
    Join Date
    08-25-2010
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    85

    Multiple if statement

    Hi BSB

    link to the spreadsheet, I wander if you know about if/vlookup statement

    attached spreadsheet.

    Many thanks

    San
    Attached Files Attached Files

  19. #19
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Number Of Sick Days In A Rolling Year - Exc

    Hi San,

    I'm pretty sure I know the answer to this latest question, but forum rules dictate that you ask a new question in a new thread.

    Do that then PM me when done and I'll pop up with the answer.

    BSB

+ 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. Calculating number of sick days in a rolling year
    By nikkie456 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-18-2016, 05:53 PM
  2. Replies: 0
    Last Post: 06-11-2015, 03:12 AM
  3. Sick pay rolling year conundrum
    By y_not in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-21-2013, 06:06 PM
  4. Calculating number of days in leap year
    By raw_geek in forum Excel General
    Replies: 9
    Last Post: 03-16-2012, 11:39 AM
  5. Calculating accrual of sick days
    By wbcsc in forum Excel General
    Replies: 6
    Last Post: 04-13-2010, 02:57 PM
  6. Calculating Sick Days
    By Poppachuck in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-10-2009, 06:58 PM
  7. Adding sick occurances in a rolling year
    By jarontea in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2008, 05:14 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