How to Keep Notes Linked to Items in an Excel Pivot Table
Question details
The user needs to keep text notes accurately attached to specific items in a Pivot Table, preventing them from misaligning when the source data or layout changes.

- Product
- Excel / Spreadsheet
- Device & OS
- not provided
- Scenario
- Adding a manual notes column directly beside a Pivot Table, then modifying the source data, sorting, or altering the layout.
- Observed behavior
- Manually entered notes become mismatched or misaligned with their intended rows when the Pivot Table refreshes, sorts, or dynamically shifts its layout.
Ensure your Pivot Table data includes a unique identifier column (such as an Item ID or Product Code) to accurately map the notes to their respective rows.
Use VLOOKUP with a Separate Notes Table
Create a distinct table for your notes and use a lookup formula next to your Pivot Table to pull them dynamically, preventing layout shifts from causing misalignment.
Typing directly next to a Pivot Table associates the text with the cell, not the data row. Using a lookup function ensures the notes are tethered to the actual data ID.
On a new or existing sheet, create a two-column table. Place your unique identifiers (IDs) in the first column and your corresponding text notes in the second column.
In the column immediately to the right of your Pivot Table, enter the formula: =IFERROR(VLOOKUP(C4, Notes, 2, FALSE), ""). Replace 'C4' with the cell containing the ID in your Pivot Table, and 'Notes' with the range of your newly created notes table.
Press Enter, then drag the fill handle down to apply the formula to all rows adjacent to the Pivot Table.
Sort, filter, or refresh your Pivot Table. The notes will now dynamically adjust and remain aligned with the correct items.

Use the Data Model for an Integrated Solution
Load both your main data and notes table into the Data Model to create a relationship, allowing notes to exist securely inside the Pivot Table itself.
Easily Link Notes in WPS Spreadsheet
WPS Office Spreadsheet fully supports advanced data handling, Pivot Tables, and VLOOKUP functions, allowing you to easily link notes to your data without losing alignment when layouts change.
- 1. Create your Pivot Table: Open your workbook in WPS Spreadsheet, select your source data, and insert a Pivot Table.
- 2. Build a Notes Table: Set up a dedicated reference table with unique IDs and your text comments.
- 3. Link with Formulas: Use the VLOOKUP function in the column adjacent to your Pivot Table to pull notes based on the row IDs dynamically.
- 4. Save your File: Save your work in standard .xlsx format to ensure seamless cross-platform compatibility.

Frequently Asked Questions
Why do my notes disappear or shift when I refresh my Pivot Table?
When you manually type notes next to a Pivot Table, they are tied to the worksheet's grid, not the actual Pivot Table data. If the Pivot Table expands, shrinks, or re-sorts during a data refresh, the underlying data moves but the typed notes remain static in their original cells.
Can I add text directly into the Values area of a Pivot Table?
Standard Pivot Tables only allow numeric aggregations (like sum or count) in the Values area. To display text directly inside the Pivot Table, you must use Data Model features and a DAX measure like CONCATENATEX.
What happens to the VLOOKUP notes if the Pivot Table shrinks?
If you wrapped your VLOOKUP formula in an IFERROR function, the cells below the new, smaller Pivot Table boundary will simply display as blank. If the Pivot Table expands later, you will just need to drag the formula down further to cover the new rows.




