Hi everyone,
I have a little questions regarding filtering pivot tables automatically based on input from a single data validation cell outside of the pivot table (as opposed to selected the filter from a drop-down menu.
I already brwosed the forums here and fround a relatively similar topic (http://www.mrexcel.com/forum/excel-questions/625300-pivot-table-filter-reference-cell.html). However, I unfortuantely did not succeed to adapt the proposed solutions to my own situation. Perhaps someone here is willing to help me out.
What I am looking for:
I hope someone is able to help me with this little challenge/adapt the earlier proposed codes to fit my situation. Anyways, thanks a lot for looking into it!
I have a little questions regarding filtering pivot tables automatically based on input from a single data validation cell outside of the pivot table (as opposed to selected the filter from a drop-down menu.
I already brwosed the forums here and fround a relatively similar topic (http://www.mrexcel.com/forum/excel-questions/625300-pivot-table-filter-reference-cell.html). However, I unfortuantely did not succeed to adapt the proposed solutions to my own situation. Perhaps someone here is willing to help me out.
What I am looking for:
- I have one sheet("Pivots") in my workbook with several Pivottables.
- On my worksheet "Dashboard" I have a dropdown/data validation menu in cell B1, in which users can select a period (month+year). This generates a text string in C1 with a similar value. (I know - a bit tedious, chose this for several other reasons). Cell C1 is also a named range, "SelectedPeriod".
- I want to filter my pivottables on the "Pivots" sheet based on the value in cell C1 (other filters are already present as well, they should stay where they are). The relevant fieldname in the pivottabel is "PeriodVBA". If there is no entry in cell C1 no additional filtering should occur.
I hope someone is able to help me with this little challenge/adapt the earlier proposed codes to fit my situation. Anyways, thanks a lot for looking into it!