Function Problems

How to Copy Excel Notes Between Workbooks by Matching IDs

Elise WilliamsElise Williams Nov 4, 2026 870 views

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.

How to Copy Excel Notes Between Workbooks by Matching IDs
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.
Before you start

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.

Solution 1Recommended

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.

1
Open both workbooks

Open the previous workbook containing the notes and the new workbook where you want to copy the notes.

2
Select the target cell

Click the first cell in the Notes column of your new workbook to make it active.

3
Enter the formula

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.

4
Apply to the entire column

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.

Use INDEX and MATCH with an IF Condition
Formula Customization: In the formula, $A:$A represents the column containing the notes in the previous workbook, and $B:$B represents the column with the Request IDs. Adjust these column letters based on your actual data layout.
Manage Data Across Sheets Easily

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. 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. 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. 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.
Fully compatible with Microsoft Excel formulas and .xlsx file formats.Smooth handling of cross-workbook data links and large datasets without lagging.Free, lightweight, and features an intuitive tabbed interface for easier multitasking.
microsoft office alternative - wps office

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.