Is it possible to have multiple label filters in a pivot table? I see that I can use 'contains' which could work but I am having issue with the syntax if this is possible.
I'm thinking something like contains "apples", "banannas" should work Any insight would be appreciated.
Best Answer
To answer your question - no you cannot have more than one label filter or more than one value filter on a single pivot.
Raystafarian did not understand you question..
Workaround 1
Filter on the table for the first label filter, then copy and paste the filtered table into a new table and then pivot on the new data set(table).. not a best option but will certainly get the job done
Workaround 2
IF you can work through an if or statement this will work great for your purpose and you can have as many label filters as your heart desires.
Basically you would create an additional column on your data set that will return whether or not the label contains the value/string you are looking for, then you can pivot using the new column.
First the basic formula with one criteria:
a. The
SEARCH()
function searches a cell for the "apple" text and returns the character number where that text begins within the cellb. The
ISNUMBER()
function will return a true or false value if the search is successfuleg1. if the search function is not successful an error will return(not a number) so the
ISNUMBER()
function will be false.eg2. if search function is successful a number will be returned, so the
ISNUMBER()
function will be truec. The
IF()
statement will return the personalized message "Contains" if true and "Does not Contain" if falseNow the formula with multiple criteria
just throw an or statement before your first logic, which is
ISNUMBER(SEARCH())
and so on for as many more criteria as you want