How to Copy Excel Notes Between Workbooks by Matching IDs
Question details
The user needs to retrieve notes from a previous weekly report workbook into a new one by matching Request IDs, applying the formula only when a specific status condition is met.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Updating a weekly Excel report by pulling over previous notes for corresponding Request IDs, irrespective of row order.
- Observed behavior
- To automatically populate the correct notes based on matching IDs and specific cell status (e.g., 'XYZ') without manual copy-pasting.
Ensure both the source workbook (the previous report) and destination workbook (the new report) are open in Excel before creating the formula. This ensures that Excel correctly links the files without requiring complex file path inputs.
Use INDEX and MATCH with an IF Condition
Combining INDEX, MATCH, and IF functions provides a robust solution to retrieve data across workbooks based on matching criteria and specific status rules.
This formula searches for the Request ID from the new workbook within the previous workbook, returning the corresponding note. The IF statement limits the operation so it only runs when a specified status (like 'XYZ') is met. The IFERROR function ensures that if no match is found, the cell remains cleanly blank rather than displaying an error.
Open the previous workbook containing the notes and the new workbook where you want to copy the notes.
Click the first cell in the Notes column of your new workbook to make it active.
Type the formula: =IF(C2="XYZ", IFERROR(INDEX('[OtherBook.xlsx]SheetName'!$A:$A, MATCH(B2, '[OtherBook.xlsx]SheetName'!$B:$B, 0))&"", ""), ""). Ensure you replace 'C2' with your status cell, 'B2' with your Request ID cell, and update the workbook/sheet names accordingly.
Press Enter to save the formula. Then, click and drag the fill handle (the small square at the bottom right of the cell) downwards to copy the formula to the remaining rows.

Retrieve Notes Using Basic INDEX and MATCH
If you do not need to check for a specific status and simply want all matching notes, use a simplified lookup formula.
Use WPS Spreadsheet to Seamlessly Match and Lookup Data
WPS Spreadsheet provides powerful data processing capabilities, fully supporting complex formulas like INDEX and MATCH to help you retrieve and organize data across workbooks quickly and effortlessly.
- 1. Open your workbooks: Launch WPS Office and open both your old and new spreadsheets. They will conveniently open in separate tabs within the same window.
- 2. Input the formula: Select the target cell, type your INDEX and MATCH formula, and easily select ranges across tabs using your mouse without typing file names.
- 3. Fill down the data: Hover over the bottom-right corner of the cell and double-click or drag down to apply the lookup formula to all rows instantly.

Frequently Asked Questions
Why does my INDEX MATCH formula return a #REF! error?
A #REF! error usually occurs if the referenced column was deleted, or if the source workbook is closed and the formula doesn't contain the full external file path. Opening the source workbook or updating the formula with the exact file directory path resolves this.
What does the &"" at the end of the INDEX MATCH formula do?
Appending &"" to the formula prevents Excel from displaying a '0' when the matched note cell is completely empty. It forces the formula to return a blank text string instead, keeping your reports clean.
Can I use VLOOKUP instead of INDEX and MATCH for this task?
Yes, you can use VLOOKUP as long as the Request ID column is to the left of the Notes column in your source workbook. However, INDEX and MATCH is generally preferred because it is more flexible and can look up data regardless of column order.
How do I update the formula if my columns change in the new report?
If the Notes are in column C instead of A, simply change the INDEX range from $A:$A to $C:$C. Always ensure the INDEX range targets your desired output data and the MATCH range targets the lookup ID column.




