Formula to Calculate compliance percentage.

Drexl88

Board Regular
Joined
Jan 20, 2020
Messages
66
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have the below worksheet that is used to record staff training attendance and I want to include a formula at D/E/F:9 that returns a compliance percentage based on all staff (Count A10:A20) per course, and takes into consideration a number of things....

A. The start date of the employee and the "weeks to complete from appointment" (row 8) - For example, staff member 7 started on 01/08/20 and "course 2" allows for 6 weeks for the training to be attended. Therefore although the cell is blank they will not impact the percentage until the 6 weeks is up. As "course 1" requires completion in 1 week and the cell is blank they will have an impact on the percentage because that timeframe has elapsed from their start date.

B. The frequency the course should be attended (row 7). For example, staff 5 is out of date for course 1 as the renewal period is 12 months, but is compliant for course 3 as the renewal period is 36 months.

C. Where staff are marked as N/A they do not affect the overall percentage/compliance of that course.

I previously used =COUNT(F10:F75)/(COUNTIF($A10:$A20,"*")-COUNTIF(F10:F20,"*N/A*")) to calculate total staff with a date of completion minus those marked as N/A - however, this no longer does what I want.

Any help would be greatly appreciated.


1598274286458.png
a
 

Some videos you may like

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

NicoMellett

New Member
Joined
Nov 25, 2008
Messages
8
Can we ignore the N/A ones for compliance? E.g. if there are three staff, one is N/A and the other two are both compliant, does that give us 100% compliance? Or do we count N/A as non-compliant?
 

Drexl88

Board Regular
Joined
Jan 20, 2020
Messages
66
Office Version
  1. 365
Platform
  1. Windows
Hi,

Yes, they can be ignored. If they are marked as N/A the number of total applicable staff who require the training is reduced.
 

Drexl88

Board Regular
Joined
Jan 20, 2020
Messages
66
Office Version
  1. 365
Platform
  1. Windows
Can we ignore the N/A ones for compliance? E.g. if there are three staff, one is N/A and the other two are both compliant, does that give us 100% compliance? Or do we count N/A as non-compliant?
Hi,

Does this help? I have tried to work this out myself but am not getting very far.

Thx
 

Watch MrExcel Video

Forum statistics

Threads
1,122,587
Messages
5,597,034
Members
414,116
Latest member
sfullnet

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
Top