Absence Tracker

CI Dan

New Member
Joined
Oct 6, 2017
Messages
8
Hi all,
I'm trying to develop a absence tracker; I managed to cover most of the requirement apart from one that I need your help with.
Workbook contains dates in row 12 and each individual absence is recorded in rows below as 1, 0.5 (day) etc. We are measuring absence on rolling 12 months basic, the formula I used to calculate total number of absence days is: =SUMIFS(I13:AET13,$I$12:$AET$12,">="&$E$11,I13:AET13,"<="&NOW()) where E11 contain start date (today - 12 months). My issue sits with calculating number of occurrences. So for example: If an employee misses a week, comes back to work for a week and then misses another two days; how do I return value of 2 (as of two occurrences)?

Thanks in advance
Dan
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I *think* it's this but I haven't tested it:

Code:
=SUM(IF(FREQUENCY(IF($I$12:$AET$12>=$E$11,IF($I$12:$AET$12<=NOW(),IF($I$13:$AET$13<>"",COLUMN($I$13:$AET$13)))),IF($I$12:$AET$12>=$E$11,IF($I$12:$AET$12<=NOW(),IF($I$13:$AET$13="",COLUMN($I$13:$AET$13)))))>=1,1))

Entered as an array formula with Ctrl+Shift+Enter

WBD
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,020
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top