Enter non-existant value in page field of Pivot Table

Reise

New Member
Joined
Sep 19, 2014
Messages
1
Hi,

I have have built a report whereby the report filter (page field) for multiple pivot tables and charts is controlled by a single cell. That cell is controlled through a data vaidation list to specify which options are available.

The problem I am having is that not all of the datasets used to populate the pivot tables and charts contain all of the options in the data validation list. Thus, when one of those is selected, multiple warning messages appear and the respective pivot tables function as if I had chosen (All) as the page field level filter.

I want to either hide the warning messages (and I will build in a workaround to hide the table if it shows all) or make the table/chart empty when a non-existant item is chosen as the page field filter.

Is this possible? And if so, how?

Thanks
Reise




If my explanation above is not clear here is a brief example:

Two of the tables show counts of employee absences grouped into several absence length categories as column headers. These counts are by business cost centre and the cost centres are grouped into regions. For example:

Region
<5 days
5-10 days
10-20 days
...
Total
East Region
x
y
z
...
...
North Region
a
b
c
...
...
West Region
j
k
l
...
...
...
...
...
...
...
...
Total
...
...
...
...
...

<TBODY>
</TBODY>


On another sheet this is broken down to the next level, so within East Region there are several directorates listed as row headings. If one of the regions has had no absences during the respective period then when that region is chosen in the data validation cell there is an error message and the table fills with all cost centres for the business. I want it to either be empty or to just hide the message.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,651
Messages
5,838,576
Members
430,557
Latest member
MK15

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top