sanchovonbadgerson
New Member
- Joined
- Nov 13, 2017
- Messages
- 5
I need a little help please,
I have a large list of employees, each month they make mistakes in processing I have a report generated monthly which contains columns relating to their names and the types of error they have made - where each person may have made multiple errors of varying types
ideally I want to have a second tab which wil automatically pull through the names in ranking order of errors made in the dataset, they return the total number of errors, the type of most common error and the count of that type.
I appreciate that a pivot table could resolve most of this, but due to the volume of data each month and the eventual person who will have to compile the data in to a report this would be overly time consuming.
all help is greatly appreciated. Due to the system used at work - VBA is out, I need a formula based solution
thus far I can return a list of names in order of occurences by adding a check column to the source data with this:
=IF(F2="","",IF(COUNTIF(F$2:F2,F2)=COUNTIF($F$2:$F$9999,F2),COUNTIF($F$2:$F$9999,F2)+(ROW()/1000),""))
then on a results page this:
=IF(ROWS($1:1)>COUNT(Worksheet!A:A),"",INDEX(Worksheet!F:F,MATCH(LARGE(Worksheet!A:A,ROWS($1:1)),Worksheet!A:A,0)))
extracting the total number of errors relatively simple then with this
=IF(B3="","",COUNTIFS(Worksheet!F:F,B3,Worksheet!J:J,"Error made"))
but i then require the modal error from the list - and im struggling
a sample of the source data
[TABLE="width: 1755"]
<tbody>[TR]
[TD][/TD]
[TD]Reference[/TD]
[TD]Team[/TD]
[TD]Category[/TD]
[TD]Error By[/TD]
[TD]Error By Name[/TD]
[TD]Logged By[/TD]
[TD]Department[/TD]
[TD]Error[/TD]
[TD]Status[/TD]
[TD]Date Reported[/TD]
[TD]Date error Made[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4169321[/TD]
[TD]CS[/TD]
[TD]Procedure Error[/TD]
[TD]KW5[/TD]
[TD]Kieran Wilkinson[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Hold time too long[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]3621797[/TD]
[TD]CS[/TD]
[TD]Procedure Error[/TD]
[TD]AA4[/TD]
[TD]Ashley Allsopp[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Card DPA[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]254413[/TD]
[TD]CS[/TD]
[TD]Procedure Error[/TD]
[TD]AA4[/TD]
[TD]Ashley Allsopp[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Card DPA[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4392925[/TD]
[TD]CS[/TD]
[TD]Diaries[/TD]
[TD]KY2[/TD]
[TD]Keeley Sweeney[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Not added diary when should have[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
</tbody>[/TABLE]
I appreciate this is me basically asking someone to do a job for me, I can usually figure most things out but I am entirely self-taught and this one has me stumped.
Cheers in advance
I have a large list of employees, each month they make mistakes in processing I have a report generated monthly which contains columns relating to their names and the types of error they have made - where each person may have made multiple errors of varying types
ideally I want to have a second tab which wil automatically pull through the names in ranking order of errors made in the dataset, they return the total number of errors, the type of most common error and the count of that type.
I appreciate that a pivot table could resolve most of this, but due to the volume of data each month and the eventual person who will have to compile the data in to a report this would be overly time consuming.
all help is greatly appreciated. Due to the system used at work - VBA is out, I need a formula based solution
thus far I can return a list of names in order of occurences by adding a check column to the source data with this:
=IF(F2="","",IF(COUNTIF(F$2:F2,F2)=COUNTIF($F$2:$F$9999,F2),COUNTIF($F$2:$F$9999,F2)+(ROW()/1000),""))
then on a results page this:
=IF(ROWS($1:1)>COUNT(Worksheet!A:A),"",INDEX(Worksheet!F:F,MATCH(LARGE(Worksheet!A:A,ROWS($1:1)),Worksheet!A:A,0)))
extracting the total number of errors relatively simple then with this
=IF(B3="","",COUNTIFS(Worksheet!F:F,B3,Worksheet!J:J,"Error made"))
but i then require the modal error from the list - and im struggling
a sample of the source data
[TABLE="width: 1755"]
<tbody>[TR]
[TD][/TD]
[TD]Reference[/TD]
[TD]Team[/TD]
[TD]Category[/TD]
[TD]Error By[/TD]
[TD]Error By Name[/TD]
[TD]Logged By[/TD]
[TD]Department[/TD]
[TD]Error[/TD]
[TD]Status[/TD]
[TD]Date Reported[/TD]
[TD]Date error Made[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4169321[/TD]
[TD]CS[/TD]
[TD]Procedure Error[/TD]
[TD]KW5[/TD]
[TD]Kieran Wilkinson[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Hold time too long[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]3621797[/TD]
[TD]CS[/TD]
[TD]Procedure Error[/TD]
[TD]AA4[/TD]
[TD]Ashley Allsopp[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Card DPA[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]254413[/TD]
[TD]CS[/TD]
[TD]Procedure Error[/TD]
[TD]AA4[/TD]
[TD]Ashley Allsopp[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Card DPA[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4392925[/TD]
[TD]CS[/TD]
[TD]Diaries[/TD]
[TD]KY2[/TD]
[TD]Keeley Sweeney[/TD]
[TD]cd7[/TD]
[TD]Auditing[/TD]
[TD]Not added diary when should have[/TD]
[TD]Error Made[/TD]
[TD]31/10/2017[/TD]
[TD]30/10/2017[/TD]
[/TR]
</tbody>[/TABLE]
I appreciate this is me basically asking someone to do a job for me, I can usually figure most things out but I am entirely self-taught and this one has me stumped.
Cheers in advance