In the source sheet of my pivot table; contains two columns; one for the names and another for the scores. As the thread title suggests, I want to display all names and their corresponding scores of those with even number scores.
An alternative way to accomplish this is to create a third column and ran an IF formula to check which numbers are odd. And then include this third column to the pivot table and use it as the filter.
But is there a way to do the same without modifying the source?
You can loop through the pivot items and then divide them by 2 to check if they are even numbers or not and if they are not then simply hide them. See this example. Please amend it to suit your needs. Also, I have not done any error handling. I am sure you can take care of that…
CODE
SCREENSHOT
Before:
After: