How can I filter a table with multiple criteria.



I am trying to filter a Pivot table.

I have written a formula:


I got the first result succesfully, but next step I don't know how can I get the result expect.

I have added an image and the link of sample file below


6 Replies


And what rules should be applied to get from "The first result" to "The result expect"?


@Detlef Lewin 

Thank you for your response

Actually, I want to get the expected result directly from the pivot table, with the rule that the criteria in column K are sorted from highest to lowest combined with high values in column I. The expected result is 5 items with percentages from highest to lowest.


So, you want the Top 5 based on field "Total Late" and sorted from highest to lowest based on field "% of late", correct?


@Detlef Lewin 

yes, Lewin, that's correct. That's the result expect.

best response confirmed by small_village (Contributor)


But it is not the expected result you show in the workbook.



@Detlef Lewin 

Thank you for your help

That's the best way for this case