Filter in Pivot Table Field List Clearing when The Pivot Table Is Refreshed

SteveP29

New Member
Joined
Jul 1, 2007
Messages
36
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have a pivot table that takes data from a table, some of the data in the table takes data from another sheet within the workbook via lookup.

If there is no data in the other sheet, the table and then consequently, the pivot table displays the #N/A error as expected.

I have filtered the fields in the Field list (1st image)
The errors are still showing when I close the Field List.
When I refresh the pivot table, I am expecting the errors not to be removed from the pivot table, just leaving me the data I need.
This is not happening and when I check the Field List, the filters have been removed (2nd image).

I hope that explanation makes sense.

Can anyone suggest how I ensure the #N/A errors don't show on the pivot table?
Thanks.
 

Attachments

  • PT1.jpg
    PT1.jpg
    224 KB · Views: 25
  • PT2.jpg
    PT2.jpg
    158.3 KB · Views: 30

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi

If the entire entry involving the #N/A has to be removed, please add a helper column in the source data, say 'error' which would return "Yes" or "No" when an error is encountered
This could be kept as a page filter in the pivot table, and the errors can be removed

In case #N/A have to be replaced with blank, please go to Pivot Table Analyze--->Pivot Table (dropdown)--->Options--->Layout &Format(1st tab)--->Please tick 'for error values show' and type in the value that you may want to show (it could be blank also) in case of an error
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

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
Back
Top