Edward_Les
New Member
- Joined
- Oct 13, 2017
- Messages
- 3
I would like help solving this problem, Finding the Top 5 of text filled column by the different Years in the data.
I have a set of data in one sheet that covers 3 Fiscal years FY15, FY16 and FY17 (Column named "Open_FY") and sub categories of issues (named SubCat) this are workplace issues like Hostile Work Environment, Dignity and Respect, Theft... so in another sheet I layout the data in tables and charts and one table is the top 5 subcategories by Open_FY...
I can get the Top 5 for the over all date with this formula: =INDEX(SubCat,MATCH(LARGE(FREQUENCY(MATCH(SubCat,SubCat,0),ROW(SubCat)-ROW('FY16-FY17 Recieved'!$M$1)+1)+ROW('Prepared Foods FY16-FY17.xlsx'!SubCat_Plus1)/10000,ROWS(R$109:R109)),FREQUENCY(MATCH(SubCat,SubCat,0),ROW(SubCat)-ROW('FY16-FY17 Recieved'!$M$1)+1)+ROW(SubCat_Plus1)/10000,0)))
But can't find a way to get the correct Top 5 by Open_FY, an ideas? Thank you!
Sample data:
[TABLE="width: 402"]
<colgroup><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]A 1[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Open FY[/TD]
[TD]Closed FY[/TD]
[TD]Category[/TD]
[TD]SubCategory[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Employment Practices[/TD]
[TD]Corrective Action[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Discrimination[/TD]
[TD]Hostile Work Environment[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Discrimination[/TD]
[TD]Hostile Work Environment[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Harassment[/TD]
[TD]Hostile Work Environment (Sexual)[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Management Standards of Behavior[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Discrimination[/TD]
[TD]Race[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Harassment[/TD]
[TD]Sexual Harassment[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Hourly Team Member[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Management Standards of Behavior[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Harassment[/TD]
[TD]Hostile Work Environment (Sexual)[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]19[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Safeguarding of Assets[/TD]
[TD]Theft of time[/TD]
[/TR]
[TR]
[TD]22[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Employment Practices[/TD]
[TD]Policy Inquiry/Clarification[/TD]
[/TR]
[TR]
[TD]23[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Harassment[/TD]
[TD]Race[/TD]
[/TR]
[TR]
[TD]24[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Health & Safety[/TD]
[TD]PPE/Supplies[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Safeguarding of Assets[/TD]
[TD]Theft of time[/TD]
[/TR]
[TR]
[TD]27[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]28[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Hourly Team Member[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Management Standards of Behavior[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]32[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Harassment[/TD]
[TD]Hostile Work Environment (Sexual)[/TD]
[/TR]
[TR]
[TD]33[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]34[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]36[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Safeguarding of Assets[/TD]
[TD]Theft of time[/TD]
[/TR]
[TR]
[TD]37[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Employment Practices[/TD]
[TD]Policy Inquiry/Clarification[/TD]
[/TR]
</tbody>[/TABLE]
Expected Return:
Top 3 FY 15
1. Disorderly Conduct
2. Hostile Work Environment
3. Job Duties
[TABLE="width: 338"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a set of data in one sheet that covers 3 Fiscal years FY15, FY16 and FY17 (Column named "Open_FY") and sub categories of issues (named SubCat) this are workplace issues like Hostile Work Environment, Dignity and Respect, Theft... so in another sheet I layout the data in tables and charts and one table is the top 5 subcategories by Open_FY...
I can get the Top 5 for the over all date with this formula: =INDEX(SubCat,MATCH(LARGE(FREQUENCY(MATCH(SubCat,SubCat,0),ROW(SubCat)-ROW('FY16-FY17 Recieved'!$M$1)+1)+ROW('Prepared Foods FY16-FY17.xlsx'!SubCat_Plus1)/10000,ROWS(R$109:R109)),FREQUENCY(MATCH(SubCat,SubCat,0),ROW(SubCat)-ROW('FY16-FY17 Recieved'!$M$1)+1)+ROW(SubCat_Plus1)/10000,0)))
But can't find a way to get the correct Top 5 by Open_FY, an ideas? Thank you!
Sample data:
[TABLE="width: 402"]
<colgroup><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]A 1[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Open FY[/TD]
[TD]Closed FY[/TD]
[TD]Category[/TD]
[TD]SubCategory[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Employment Practices[/TD]
[TD]Corrective Action[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Discrimination[/TD]
[TD]Hostile Work Environment[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Discrimination[/TD]
[TD]Hostile Work Environment[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Harassment[/TD]
[TD]Hostile Work Environment (Sexual)[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Management Standards of Behavior[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]FY15[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Discrimination[/TD]
[TD]Race[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]FY15[/TD]
[TD]FY15[/TD]
[TD]Harassment[/TD]
[TD]Sexual Harassment[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Hourly Team Member[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Management Standards of Behavior[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Harassment[/TD]
[TD]Hostile Work Environment (Sexual)[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]19[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Safeguarding of Assets[/TD]
[TD]Theft of time[/TD]
[/TR]
[TR]
[TD]22[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Employment Practices[/TD]
[TD]Policy Inquiry/Clarification[/TD]
[/TR]
[TR]
[TD]23[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Harassment[/TD]
[TD]Race[/TD]
[/TR]
[TR]
[TD]24[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Health & Safety[/TD]
[TD]PPE/Supplies[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Safeguarding of Assets[/TD]
[TD]Theft of time[/TD]
[/TR]
[TR]
[TD]27[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]28[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Hourly Team Member[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Management Standards of Behavior[/TD]
[TD]Inappropriate Language[/TD]
[/TR]
[TR]
[TD]32[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Harassment[/TD]
[TD]Hostile Work Environment (Sexual)[/TD]
[/TR]
[TR]
[TD]33[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Bid/Posting[/TD]
[/TR]
[TR]
[TD]34[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Workplace Violence[/TD]
[TD]Disorderly Conduct[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Work Assignment[/TD]
[TD]Job Duties[/TD]
[/TR]
[TR]
[TD]36[/TD]
[TD]FY16[/TD]
[TD]FY17[/TD]
[TD]Safeguarding of Assets[/TD]
[TD]Theft of time[/TD]
[/TR]
[TR]
[TD]37[/TD]
[TD]FY16[/TD]
[TD]FY16[/TD]
[TD]Employment Practices[/TD]
[TD]Policy Inquiry/Clarification[/TD]
[/TR]
</tbody>[/TABLE]
Expected Return:
Top 3 FY 15
1. Disorderly Conduct
2. Hostile Work Environment
3. Job Duties
[TABLE="width: 338"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]