A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Unfortunately, the GETPIVOTDATA function requires the source workbook to be open for it to work correctly.
Could you share the expected result? Then I can give suggestions on formula to get same result.