+ Reply to Thread
Results 1 to 14 of 14

Absence Tracker with rolling 6 months Bradford Factor

  1. #1
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Absence Tracker with rolling 6 months Bradford Factor

    Hello,

    I'm new to excel and i'm trying to make a sickness & holiday tracker with a rolling 6 month bradford factor trigger system built into to it.

    I think I've figured out how to log single sick days and consecutive sick days but i'd like them to flag up based on the last six months per colleague.

    The trigger points criteria would be 5 days of single sick days or more or 3 occasions of more than 1 day in a 6 month rolling period and I guess a simple red flag trigger if that condition is met?

    I've a few key code that i'd like to be included for example S = sickness, M = Migraine etc... just for reference but I want it all to be included in my total (just red keys from column NL)

    I'm sure there will be more questions but any help will be gratefully received.
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Absence Tracker with rolling 6 months Bradford Factor

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

    "H" stand for Holiday.
    Same apply with other, only you need change "H" to "S" ...... so on.

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


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Re: Absence Tracker with rolling 6 months Bradford Factor

    Thank you.

    Any ideas on the rolling 6 months?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,856

    Re: Absence Tracker with rolling 6 months Bradford Factor

    Try the following in cell NE4: =SUMPRODUCT(COUNTIFS(B4:ND4,NL$5:NL$10,B$2:ND$2,">="&EDATE(NM$1,-6),B$2:ND$2,"<="&NM$1))
    Note that the formula may be copied down column NE without modification.
    Note that the formula references cell NM1 which, for test purposes, may contain 12/31/2020 so that cell NE4 will display 3 just as it does now.
    After testing you may place =TODAY() in cell NM1.
    Let us know if you have any questions.
    Last edited by AliGW; 12-19-2019 at 01:58 AM.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Re: Absence Tracker with rolling 6 months Bradford Factor

    Quote Originally Posted by JeteMc View Post
    Try the following in cell NE4: =SUMPRODUCT(COUNTIFS(B4:ND4,NL$5:NL$10,B$2:ND$2,">="&EDATE(NM$1,-6),B$2:ND$2,"<="&NM$1))
    Note that the formula may be copied down column NE without modification.
    Note that the formula references cell NM1 which, for test purposes, may contain 12/31/2020 so that cell NE4 will display 3 just as it does now.
    After testing you may place =TODAY() in cell NM1.
    Let us know if you have any questions.
    Thanks JeteMc.

    I moved the formula into NI4 is this is where I wanted it and if i use the date 31/12/2020 in column NM1 it returns a number for that date but if I change it to =today() the number disappears?

    Also can I change a cell reference to a text reference? i.e NL5 to "s" if so how can this be added in?

    thanks for your help.
    Attached Files Attached Files
    Last edited by paulanderson; 12-19-2019 at 08:45 AM.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,856

    Re: Absence Tracker with rolling 6 months Bradford Factor

    The reason that the number disappears when you change NM1 to =TODAY() is that today's date is 12/19/2019 and the dates of the absences in the file are between 12/10/2020 and 12/19/2020, so they are not in the past six months, but rather in the future.
    If you want the formula to reference "s":
    1. Select cell NM1
    2. Select the Name Box which is window furthest to the left of the formula bar
    3. Type s into the name box window and press the Enter key
    4. Modify the formula to read: =SUMPRODUCT(COUNTIFS(B4:ND4,NL$5:NL$10,B$2:ND$2,">="&EDATE(s,-6),B$2:ND$2,"<="&s))
    Let us know if you have any questions.

  7. #7
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Re: Absence Tracker with rolling 6 months Bradford Factor

    Silly me, now I see.

    I works and thank you very much.

    Much appreciated.

    A few curious questions regards the above.

    Can it be possible to count more than one reference in a formula i.e. S M & A for example?

    I also want to count 3 instances of more than on consecutive occasion in 6 months is this possible also?

    When it get to the end of the year how can it be made to roll into a new year whilst tracking the last 6 months?

    Many thanks for your help.

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,856

    Re: Absence Tracker with rolling 6 months Bradford Factor

    In looking around at what others have done I don't feel as if the set up on the 2020 sheet is optimal for accomplishing a Bradford Score.
    If the days that a person is absent are put in a table as modeled in columns A:C on Sheet 1 then the formulas are not difficult.
    Note that the table has to be sorted by Name and then by Date (oldest to newest) in order for this to work.
    1. Column E, which can not be part of the table, identifies instances using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2. Cells H3 and down display the number of days absent using: =SUMPRODUCT(COUNTIFS(Table1[Name],G3,Table1[Reason],Absence,Table1[Date],">="&EDATE(Cur_Date,-Months)))
    3. Cells I3 and down display the number of instances using: =SUMIFS(E$2:E$13,Table1[Name],G3)
    4. Cells J3 and down display the Bradford Score using: =I3^2*H3
    5. Cell H1 contains the current date and may be changed to =TODAY() as discussed earlier
    6. Cell J1 contains the number of months involved in the rollover
    7. Cells N2:N4 are absence codes to be counted
    8. Cells O2:O4 are holidays
    Let us know if you have any questions.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Re: Absence Tracker with rolling 6 months Bradford Factor

    Thanks for looking for a solution but happy the with sheet I've got, and it should do the job.

    Is it possible to count consecutive sick days similar to the formula you provided originally? that would do fine if it can be modified, if not it's fine

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,856

    Re: Absence Tracker with rolling 6 months Bradford Factor

    I let this sit for a couple of days in hopes that someone else might provide the solution you want. Sorry not to have been of more help, however if you should change your mind about the layout just respond to this thread an I will receive a notification. I hope that you have a blessed day.

  11. #11
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Re: Absence Tracker with rolling 6 months Bradford Factor

    No worries thanks for your help.

    I did see this formula: =SUM(--(FREQUENCY(IF(A1:A10=1,ROW(A1:A10)),IF(A1:A10<>1,ROW(A1:A10)))>1)) this works for counting consecutive 1's, does anybody know if it could be changed to "S" for example or any text?

  12. #12
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Re: Absence Tracker with rolling 6 months Bradford Factor

    What I actually need is the formula in NH4 (this counts the amount of occurrences) to be on a rolling 6 month date like the formula in NL4 (this counts single sick days).

    is this possible?
    Attached Files Attached Files

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,856

    Re: Absence Tracker with rolling 6 months Bradford Factor

    Assuming that any letter entered in a cell is an absence that should be counted try the following array entered formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Edit: If on the other hand you only want to count certain letters such as S, L and HD then try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by JeteMc; 02-07-2020 at 10:51 AM. Reason: Added second formula

  14. #14
    Registered User
    Join Date
    12-15-2019
    Location
    Cumbria
    MS-Off Ver
    365
    Posts
    58

    Re: Absence Tracker with rolling 6 months Bradford Factor

    Quote Originally Posted by JeteMc View Post
    Assuming that any letter entered in a cell is an absence that should be counted try the following array entered formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Edit: If on the other hand you only want to count certain letters such as S, L and HD then try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This appears to be perfect!!

    Thanks JetMc, i'll test and report back.

    Cheers.

+ 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. Rolling 12 months - Bradford Factor results
    By firzon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-28-2019, 10:10 AM
  2. Calculating absence period triggers in 6 & 12 rolling months
    By Cyberstu101 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-30-2019, 09:27 AM
  3. staff absence tracker inc rolling year
    By BIDD in forum Excel General
    Replies: 4
    Last Post: 09-16-2019, 02:58 PM
  4. [SOLVED] Sickness tracker with a rolling 12 months
    By sophie-edge24 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-05-2019, 12:59 AM
  5. [SOLVED] Sickness tracker with a rolling 12 months
    By sophie-edge24 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-04-2019, 04:30 PM
  6. Replies: 9
    Last Post: 09-22-2015, 08:47 AM
  7. Bradford Factor
    By francesjan48 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-03-2012, 09:02 AM

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