Power Pivot Table - Outside calculations

AshleyH7

New Member
Joined
Feb 9, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a power pivot table I am using to summarize some data. I am using it as a daily report and outside the pivot table I pull out and summarize specific data related to individual departments.

Two of the Lines I want to combine the total units produced. Which works fine, when both lines are run on both shifts. However, when the line is not run, it returns a REF error, as the data I am requesting it to SUM is not available.

Is there a way, or formula to eliminate the REF error, like a if this field exists add it to the others, if it doesn't then just add the others??


Thanks in advanced.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Wrap it in IFERROR. For example:

Excel Formula:
=IFERROR(GETPIVOTDATA(...),0)+IFERROR(GETPIVOTDATA(...),0)
 
Upvote 1
Solution
Wrap it in IFERROR. For example:

Excel Formula:
=IFERROR(GETPIVOTDATA(...),0)+IFERROR(GETPIVOTDATA(...),0)
You are AMAZING and my new favorite person. I do not believe I didn't think of that!

Thank you so much!!!
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
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