How to Pull Data into an Embedded Excel Sheet in Word
Question details
The user needs to extract a specific value from another worksheet (column G) and display it in cell B3 of an embedded spreadsheet within a Word template.
- Product
- Word and Excel
- Device & OS
- not provided
- Scenario
- Populating an embedded spreadsheet inside a Word document with specific data from a separate source sheet.
- Observed behavior
- The user is looking for the correct formula syntax to either directly reference a known row or look up a value dynamically using an identifier.
Ensure both your source worksheet and the embedded spreadsheet are accessible. Verify the exact name of the source sheet tab, as you will need it to construct your formula correctly.
Use a Direct Cell Reference for a Known Row
If you already know exactly which row contains the target data in column G, you can use a straightforward cross-sheet reference.
Direct references are the simplest way to pull data across sheets when the data structure is static and the target row will not change over time.
Double-click the embedded spreadsheet within your Word document to open it in edit mode.
Click on cell B3 where you want the data to appear.
Type the equals sign (=), then enter the source sheet name followed by an exclamation mark and the target cell address (for example, type =Sheet2!G2).
Press Enter. The value from column G in the source sheet will now be displayed in cell B3.
Use XLOOKUP to Find Data Dynamically by an Identifier
When the exact row is unknown or changes frequently, use the XLOOKUP function to search for a unique identifier and pull the corresponding data.
Use WPS Office to Handle Cross-Sheet Data and Advanced Formulas
WPS Office seamlessly integrates word processing and spreadsheet functionalities, allowing you to easily embed tables, link data, and run advanced formulas like XLOOKUP without switching between heavy applications.
- 1. Install WPS Office: Download and install the free WPS Office suite on your computer.
- 2. Open your Word template: Open your document in WPS Writer and double-click the embedded table to activate WPS Spreadsheet seamlessly.
- 3. Apply the lookup formula: Enter your XLOOKUP or direct reference formula exactly as you would in standard spreadsheet software to pull your data.

Frequently Asked Questions
Why does my cross-sheet formula return a #REF! error in the embedded spreadsheet?
This usually happens if the source sheet name is misspelled in your formula, or if the source worksheet has been deleted. Check that the sheet name in your formula (e.g., Sheet2) exactly matches the actual source sheet's tab name.
Can I use VLOOKUP instead of XLOOKUP to find the identifier?
Yes. If your software does not support XLOOKUP, you can use VLOOKUP. For example: =VLOOKUP(identifier, Sheet2!A:G, 7, FALSE). Remember that VLOOKUP requires the search identifier to be located in the very first column of the specified range.
Will the embedded spreadsheet update automatically if the source data changes?
If the source data is located in another tab within the same embedded spreadsheet object, it will update automatically. If the source data is in an entirely separate, external workbook, the embedded spreadsheet will only update if external links are enabled and refreshed.




