Count out of date record

JoePr

New Member
Joined
Aug 10, 2009
Messages
15
I have a tracker for training and want to count how many records are out of date based on team and whether or not they are active. Column B says if Leaver, Column D has the team and column E - H have the records.

If column B is Blank (active record) then how many records in Column E are more than 11 months old (ie ready for annual refresher) then group the answers by team. a sample of the info is below, I couldn't attach an excel sample. I am creating tables and charts on a second tab.

Hope someone can help:confused:

[TABLE="width: 1386"]
<colgroup><col><col><col><col><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Leaver (X)[/TD]
[TD]Name[/TD]
[TD]Team[/TD]
[TD]Info[/TD]
[TD]Bias[/TD]
[TD]H&S[/TD]
[TD]Basic Fire Awareness[/TD]
[TD]Fraud[/TD]
[TD]Business Continuity[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]AEA[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]25/02/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD] [/TD]
[TD]AEA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]AEA[/TD]
[TD="align: right"]18/09/2017[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD] [/TD]
[TD]BSP[/TD]
[TD="align: right"]03/05/2019[/TD]
[TD="align: right"]03/05/2019[/TD]
[TD="align: right"]03/05/2019[/TD]
[TD="align: right"]03/05/2019[/TD]
[TD="align: right"]03/05/2019[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]BSP[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]01/07/2014[/TD]
[TD="align: right"]16/08/2013[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]BSP[/TD]
[TD="align: right"]01/08/2018[/TD]
[TD="align: right"]01/01/2015[/TD]
[TD] [/TD]
[TD="align: right"]01/01/2015[/TD]
[TD="align: right"]01/01/2015[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]BSP[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD="align: right"]25/02/2019[/TD]
[TD="align: right"]13/02/2014[/TD]
[TD="align: right"]25/02/2019[/TD]
[TD="align: right"]26/02/2019[/TD]
[TD="align: right"]01/02/2013[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD="align: right"]25/02/2019[/TD]
[TD="align: right"]16/01/2018[/TD]
[TD="align: right"]25/02/2019[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]16/01/2018[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD="align: right"]28/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD="align: right"]08/03/2019[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD="align: right"]19/02/2019[/TD]
[TD="align: right"]06/12/2017[/TD]
[TD="align: right"]19/02/2019[/TD]
[TD="align: right"]06/12/2017[/TD]
[TD="align: right"]19/02/2019[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD="align: right"]21/09/2019[/TD]
[TD="align: right"]10/07/1905[/TD]
[TD="align: right"]21/09/2019[/TD]
[TD="align: right"]21/09/2019[/TD]
[TD="align: right"]21/09/2019[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]PMO[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]VH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD] [/TD]
[TD]VH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]VH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]VH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD] [/TD]
[TD]VH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]VH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]

[/TD]
[/TR]
</tbody>[/TABLE]


Joe
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Put the the following formula into any free column on row 2, this will present either a 1 or a 0. If it's a 1 then it meets the criteria of B2 being blank and E2 being more than 11 months old, if its a 0 then it doesn't meet that criteria.

Code:
=COUNTIFS(B2,"",E2,"<="&TODAY()-334)

Does this help?
 
Upvote 0
How about


Book1
BCDEFGHIJKLMNOPQ
1Leaver (X)NameTeamInfoBiasH&SBasic Fire AwarenessFraudBusiness ContinuityInfoBiasH&SBasic Fire AwarenessFraud
2AEA08/03/201925/02/201908/03/201908/03/201908/03/2019AEA10000
3xAEABSP11022
4AEA18/09/2017PMO03012
5xBSP03/05/201903/05/201903/05/201903/05/201903/05/2019VH00000
6BSP08/03/201908/03/201908/03/201901/07/201416/08/2013
7BSP01/08/201801/01/201501/01/201501/01/2015
8BSP
9PMO25/02/201913/02/201425/02/201926/02/201901/02/2013
10PMO25/02/201916/01/201825/02/201917/01/201816/01/2018
11PMO28/03/201908/03/201908/03/201908/03/201908/03/2019
12xPMO19/02/201906/12/201719/02/201906/12/201719/02/2019
13PMO21/09/201910/07/190521/09/201921/09/201921/09/2019
14PMO
15xPMO
16PMO
17VH
18xVH
19VH
20VH
21xVH
22VH
Sheet4
Cell Formulas
RangeFormula
M2=COUNTIFS($B$2:$B$22,"<>x",$D$2:$D$22,$L2,E$2:E$22,"<"&EDATE(TODAY(),-11))


Copy formula down & across
 
Upvote 0
Hi, thanks for your response, and yes this works perfectly, but I need to know the results by team, so how many in AEA (1), BSP (1) so need to add another criteria which is the team in column D. I have tried this, but get a "#VALUE!" error

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]=COUNTIFS(Tracker!B2:B500,"",Tracker!E2:E500,"<="&TODAY()-334,Tracker!D3:D500,"AEA")[/FONT]
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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