How to Use GETPIVOTDATA with Dynamic Referencing in Excel

In Microsoft Excel, getpivotdata is an excellent function to look up data from a pivot table. While Excel itself suggests using this function while using pivot tables, it is not dynamic by default. ...