To use the INDIRECT or GETPIVOTDATA functions in Excel:
- Create a defined cell name by selecting the cell you want to give the name to and typing the desired name into the Name box next to the Formula bar.
- In the formula, enter either the INDIRECT or GETPIVOTDATA functions.
- Select the cell that contains the named range.
- Copy and paste the formula to any other cells, rows, and columns.
- Use the Ctrl+Shift+Enter combination to enter the array formula