How to Link an Excel PivotTable to Word Using a Dynamic Range
Question details
The user needs to link an Excel PivotTable to a Word document in a way that allows the linked object to expand or contract automatically when the PivotTable size changes.

- Product
- Excel, Word
- Device & OS
- not provided
- Scenario
- Embedding or linking dynamic Excel reporting data into a Word document for automated report updates.
- Observed behavior
- A standard named range creates a fixed reference that does not resize, causing cut-off data or empty rows in Word when the PivotTable data updates.
Ensure both your Excel workbook and Word document are saved on your local drive before creating the link, as linking between unsaved or cloud-only temporary files may cause broken references.
Use a Dynamic Named Range in Excel to Link to Word
Define a dynamic range using Excel formulas that adjusts to your PivotTable's size, and then paste that dynamically named range into Word as a linked object.
A PivotTable cannot be directly referenced as a standard Excel Table in the Name Manager. By using formulas like OFFSET and COUNTA, you can create a named range that dynamically calculates the boundaries of your PivotTable. When this dynamic range is linked into Word, it will expand or shrink accurately.
In Excel, go to the Formulas tab and click 'Name Manager'. Click 'New', enter a name (e.g., 'DynamicPivot'), and in the 'Refers to' box, input an OFFSET and COUNTA formula that encompasses your PivotTable area.
Click the Name Box (located to the left of the formula bar), type the name you just created ('DynamicPivot'), and press Enter to select the area. Press Ctrl+C to copy the range.
Open your Word document, place your cursor where you want the PivotTable to appear. Go to the Home tab, click the arrow below 'Paste', and select 'Paste Special'.
In the Paste Special dialog, select the 'Paste Link' radio button, choose 'Microsoft Excel Worksheet Object' from the list, and click OK. The link is now dynamic.

Link the Entire Worksheet as an Alternative
If defining a dynamic range using formulas is too complex, you can dedicate an entire worksheet to the PivotTable and link the whole file into Word.
Easily Link Spreadsheets to Documents with WPS Office
WPS Office offers seamless integration between WPS Spreadsheet and WPS Writer. You can effortlessly copy and paste dynamic data ranges, ensuring your reports stay up to date without manually adjusting cell references.
- 1. Define the Range in WPS Spreadsheet: Open your workbook in WPS Spreadsheet, navigate to the Formulas tab, and use the Name Manager to define your dynamic range.
- 2. Copy the Range: Select the newly created dynamic range using the Name Box and press Ctrl+C to copy.
- 3. Paste Special in WPS Writer: Open your document in WPS Writer, click the Paste dropdown on the Home tab, and select Paste Special.
- 4. Paste as Link: Choose 'Paste Link' and select 'WPS Spreadsheet Object' to insert a dynamically updating table.

Frequently Asked Questions
Why does my linked PivotTable get cut off in Word when the data expands?
This happens because standard named ranges or static cell selections create a fixed reference. When the PivotTable grows, the newly added rows or columns fall outside this fixed boundary, causing Word to only display the originally selected cells. Using a dynamic named range solves this issue.
What Excel formulas are needed to create a dynamic named range?
Typically, you use a combination of the OFFSET and COUNTA functions. OFFSET sets the starting point, while COUNTA counts the number of non-empty cells in the rows and columns to determine the exact height and width of the range dynamically.
Does the dynamic range update automatically in Word when the Excel file is closed?
Word usually prompts you to update linked fields when opening the document. You must ensure the source Excel file remains in its original location and approve the update prompt in Word to reflect the latest changes from the closed Excel file.




