Copilot in Excel can retrieve data from another workbook, but the imported columns are only the start of a join. A malformed item code can quietly turn a real order into a blank price. This sample makes that mismatch visible and gives you a total you can check by hand.

Choose the source workbook explicitly

Make a workbook named Sample Prices with two columns, Item Code and Unit Price. Give A101 a price of 3 and B205 a price of 5. In another workbook, enter Orders for two A101 items, one B205 item, and four items with the code B-205. Open Copilot and ask it to import only the two price columns from Sample Prices. If multiple sources appear, check the filename before selecting it.

Match the codes exactly in the order table, using an exact-match lookup such as XLOOKUP, and make unmatched codes visible. Ask Copilot to use an explicit “unmatched” result for a missing lookup. The two matched lines add to 11. B-205 should appear for review without being treated as a zero-priced order.

Only correct a key you can reconcile

When a source record confirms B-205 means B205, correct the order row and recalculate. The four additional items add 20, bringing the whole sample to 31. Check that both the unmatched count and the total update.

Build a worksheet that shows unresolved rows

Assume Prices!A2:A3 contains the imported codes, Prices!B2:B3 contains numeric unit prices, and the order code and quantity are in A2 and B2. In C2, enter =XLOOKUP(A2,Prices!$A$2:$A$3,Prices!$B$2:$B$3,"Unmatched",0). In D2, enter =IF(ISNUMBER(C2),B2*C2,"Review"). Fill both formulas down. =SUM(D2:D4) gives the matched subtotal, and =COUNTIF(D2:D4,"Review") counts orders still to check. If the imported list contains two prices for one code, confirm the current price in the source before relying on the lookup, which returns the first match.

Sources