Can Copilot Merge Two Excel Files Without VLOOKUP?

Coding Liquids tutorial cover featuring Sagnik Bhattacharya for Can Copilot Merge Two Excel Files Without VLOOKUP?
Coding Liquids tutorial cover featuring Sagnik Bhattacharya for Can Copilot Merge Two Excel Files Without VLOOKUP?

Copilot in Excel can merge a customer list into an orders sheet without you typing VLOOKUP, if you check its work. It imports another workbook by prompt on Windows and Mac, and Microsoft lists merging sheets among its editing tasks, but doesn't say how it matches rows on a key column. Power Query's Merge Queries is the reliable formula-free route.

The Complete Excel Course with AI Integration

From formulas and pivot tables to Power Query, DAX, VBA and AI with Copilot, ChatGPT and Claude — hands-on from the first lesson.

By Sagnik Bhattacharya and Virginia Thorn, Primetime Emmy Award winner

Buy now

The merge is rarely the part that goes wrong; the key column is. A customer ID stored as text in one file and as a number in the other, a trailing space, an ID listed twice or a blank ID on a guest sale will leave orders unmatched or doubled, and the merged sheet looks just as tidy either way. Counting rows and totals before and after matters more than the wording of the prompt.

Does Copilot just write an XLOOKUP column for you?

Copilot in Excel may add a lookup formula such as XLOOKUP or paste matched values, and Microsoft's documentation doesn't say which it will choose, so name the method in your prompt.

What Microsoft does describe is the toolkit. Its getting-started page says Copilot in Excel generates formulas and applies them across multiple sheets, and that the default Allow editing mode handles multi-step jobs such as "reshaping data, merging sheets, or building reports". Its FAQ adds that Copilot plans, runs and verifies results directly in the workbook, and the getting-started page says you can watch the changes appear live. None of Microsoft's pages on importing or editing explains how Copilot decides that customer 004571 in one table is the same customer as 004571 in another. That gap is why the checks further down exist.

Two instructions cover most cases:

  • Ask for XLOOKUP formulas when the merged sheet should keep up with changes to the customer list, or when you want to click any cell and see exactly what was matched. Microsoft describes XLOOKUP as returning the first match it finds, and the function takes an optional not-found value, so an unmatched order can read NO MATCH instead of showing an error.
  • Ask for values when you want a month-end snapshot that won't shift when someone edits the customer list next month. Keep the formula version on another sheet so the snapshot can still be audited.

The formula behind a typical email column reads like this (the table and column names are illustrative):

=XLOOKUP([@CustomerID], Customers[CustomerID], Customers[Email], "NO MATCH")

In plain words: take this order's customer ID, find it in the CustomerID column of the Customers table, return the email from the same row, and write NO MATCH if the ID isn't there. If Copilot's version looks up the customer's name, or points at a fixed range such as A2:A1240 that will miss next month's new customers, ask it to rewrite the formula before going further. For the wider picture of what Copilot handles well and badly with figures, see what Copilot in Excel can and can't do with your numbers.

Why skipping VLOOKUP makes sense

VLOOKUP only works when the value you look up sits in the first column of the range, so a customer list with the ID in column C has to be rearranged first, and an exact-match miss shows #N/A. Microsoft's own VLOOKUP page now suggests XLOOKUP, which it calls an improved version that works in any direction. One catch for mixed offices: XLOOKUP isn't available in Excel 2016 or Excel 2019, so if a bookkeeper opens the file in one of those versions, the lookup formulas won't work for them. Ask Copilot for values in that case, or use the Power Query route further down.

If reading and checking lookup formulas like these is the slow part, try The Complete Excel Course with AI Integration on Coding Liquids.

Can Copilot in Excel pull data from another workbook?

Copilot in Excel can import data from another workbook when you name the file in your prompt, and Microsoft's import page applies to Excel for Microsoft 365 on Windows and on Mac.

  1. Open the orders workbook and select the Copilot icon in the lower-right corner of Excel.
  2. In the Copilot pane, ask for the data by file name, in the shape Microsoft's own examples use: "Get [the columns you need] from my file named Customers.xlsx."
  3. If Copilot finds more than one file that fits, choose the right one from the results it shows.
  4. Let Copilot import the data, then look at where it landed before you ask for anything else. A new sheet is what you want; data written over your orders is a reason to undo straight away.

Microsoft's getting-started page says the source can be a workbook saved to OneDrive or SharePoint, or on your computer. The import page doesn't say which licence level the feature needs, and Microsoft's data-sources page says the separate Work source, which searches your work files, needs a commercial Microsoft Copilot subscription. If Copilot can't find your file, open both workbooks, copy the customer table onto a new sheet in the orders file yourself, and let Copilot do the matching inside one workbook. Every check that follows works the same way.

Does the customer list need to be a table?

Microsoft's current Copilot in Excel pages don't require the source to be formatted as a table. Format both lists as tables anyway (Home > Format as Table, with the headers box ticked), then name them in the Table Name box on the table's Design tab: Customers and Orders work well, and Excel doesn't allow spaces in table names. Microsoft's Copilot tips say to name the columns or ranges you want Copilot to work with, and its advice on recorded skills says clear table names and headers help Copilot understand your intent. Named tables also let your prompts say "the Customers table" instead of "the data on Sheet2".

Four settings that stop Copilot before it starts

  • Calculation set to Manual. Microsoft says Copilot editing only works when Calculation Options are set to Automatic.
  • An unusual file format. An "Unsupported file state" message can mean the file is saved as Strict Open XML Spreadsheet; save it as an Excel Workbook (.xlsx).
  • A file checked out in SharePoint. Check it back in, then close and reopen it, or open it in Excel for the web.
  • AutoSave during a first attempt. Copilot runs with AutoSave on or off, and Microsoft suggests turning it off when you want to try Copilot's changes without saving them. Work on copies of both files the first time as well.

Which Microsoft 365 plans include Copilot in Excel?

Copilot in Excel needs one of four plan types: Microsoft 365 Personal or Family with an AI credits plan, Microsoft 365 Premium, a commercial Microsoft Copilot subscription, or a Copilot Chat-eligible business or enterprise plan.

PlanCopilot in Excel accessPrice (USD list, checked 29 November 2026)
Copilot Chat-eligible Microsoft 365 business plan, no add-onStandard access, labelled M365 Copilot (Basic); Microsoft applies fair-use limits to some Copilot features without publishing the numbersIncluded with the plan; no add-on needed
Microsoft 365 Copilot Business (add-on)Priority access, labelled M365 Copilot (Premium); also needed for the Work data source and the model picker$21 a user a month, paid yearly; $18 for the first year on annual commitments bought by 31 December 2026 (not on trials)
Microsoft 365 Business Standard with CopilotThe business apps with Copilot included$23.50 a user a month, paid yearly
Microsoft 365 Business Premium with CopilotAs above, plus Business Premium's security tools such as Intune and Defender$32 a user a month, paid yearly
Microsoft 365 Premium, or Personal or Family with an AI credits planConsumer plans that qualify; Premium also gets the model pickerConsumer prices and offers change often; check Microsoft's own page

For a one-off merge, the standard access that comes with a business plan is enough to try the method on copies of your files. Microsoft says that when a fair-use limit stops a feature, Copilot tells you in the product and doesn't interrupt a task already running. Pay for the add-on when those limits get in the way of regular work, not for a single merge. The plan-by-plan detail is in which Copilot in Excel licence you need and what it costs.

How do you check the key column before you merge?

A key column check takes five counts in each file: total rows, distinct IDs, IDs listed more than once, blank IDs, and whether the IDs are stored as text or as numbers.

The key column is the one field both files share: usually a customer ID, sometimes an email address. If you can't name one, stop there. Two files with no shared column can't be merged reliably by Copilot, Power Query or a person; the result would be guesswork. With both lists formatted as tables, put these formulas in spare cells (swap Customers for Orders to check the other file):

CheckFormulaWhat a problem looks like
Total rows=ROWS(Customers)Far fewer rows than you expected: the export was filtered or cut short
Distinct IDs=ROWS(UNIQUE(Customers[CustomerID]))Lower than the total rows in the customer list
IDs listed more than once=ROWS(Customers)-ROWS(UNIQUE(Customers[CustomerID]))Anything above zero in the customer list (repeat IDs in orders are normal)
Blank IDs=COUNTBLANK(Customers[CustomerID])Above zero in the customer list; in orders, usually guest sales
Text or number=ISNUMBER([@CustomerID]) in a helper columnTRUE in one file and FALSE in the other, or a mix inside one file

UNIQUE needs Microsoft 365 or Excel 2021 and later. The type check matters more than it looks: Microsoft's Power Query guidance says matching columns must share a data type, and its VLOOKUP advice is not to store numbers as text. An ID that is 4571 (a number) in one file and 004571 (text) in the other won't match until you make the two the same.

Here is the check filled in for the garden centre in the main example below (illustrative figures):

CheckCustomers.xlsx (loyalty list)Orders.xlsx (till and web shop)
Total rows1,2403,415
IDs listed more than once4 (customers who re-registered)Not a problem: repeat buyers
Blank IDs0212 (guest sales without a loyalty card)
Stored asSix-digit text, such as 004571Mostly six-digit text; 58 numbers such as 4571, keyed in at the till

Fixes for each problem, in the order I'd do them:

  • Lost leading zeros: rebuild the ID as text in a helper column with =TEXT([@CustomerID],"000000"), which turns 4571 into 004571. Microsoft warns that TEXT turns numbers into text; for an ID that is the point, because nobody adds customer IDs together. Pad only the IDs that were stored as numbers: padding a mistyped text ID can turn it into someone else's ID.
  • Spaces: =TRIM([@CustomerID]) removes every space except single spaces between words. Microsoft notes that TRIM doesn't remove the nonbreaking space (character 160) used in web pages, so for web exports use =TRIM(SUBSTITUTE([@CustomerID],UNICHAR(160)," ")).
  • Duplicate customers: decide which row is right, usually the newest, before merging. A lookup returns the first match it finds, which may carry an old email address.
  • Blank IDs in orders: leave them. They are real sales; they just belong in their own count.

If your Copilot pane offers the built-in clean-data skill (Microsoft says it is still rolling out), typing @clean-data in a prompt asks Copilot to look for extra spaces, inconsistent text and number formats, duplicate values and values stored as the wrong data type, explain what it found, and propose fixes you choose whether to apply. That is the key-column list above, so it is worth running on both files. For the wider clean-up of names, emails and duplicate customers, see how to clean a customer list in Excel with Copilot.

When the key is an email address

Not every business has customer IDs. An illustrative gift shop matching 640 web orders to a 2,300-address mailing list on email found 69 orders with no match on the first pass. Thirty-one carried invisible spaces, several of them the nonbreaking kind; the TRIM and SUBSTITUTE formula above fixed all 31. The other 38 were people who ordered with a different address from the one they signed up with. No formula fixes that, and guessing would be worse than leaving them unmatched: those 38 went onto the mismatch report for the owner, who linked 22 by hand from the order notes. Email keys work, but expect a remainder that only a person can settle.

A garden centre joins 3,415 orders to its loyalty list, step by step

Take an illustrative garden centre with a 1,240-row loyalty list (Customers.xlsx) and three months of till and web-shop sales (Orders.xlsx: 3,415 rows, $186,240.50 in total). The owner wants each order to carry the customer's name, email and loyalty tier, so spend can be totalled by tier and the best customers thanked before the spring rush.

  1. Copy both files into a folder called Merge test, rename them Orders_copy.xlsx and Customers_copy.xlsx, and work only on the copies (2 minutes).
  2. Run the key column checks on both files. The results are in the table above: four duplicated customer IDs, 212 guest sales with no ID and 58 IDs that lost their leading zeros (15 minutes).
  3. Keep the newest row for each of the four re-registered customers, so no lookup can return an out-of-date email (5 minutes).
  4. Open Copilot in Plan mode and paste the prompt below. Plan mode shows the approach before anything is edited, which is the moment to catch a wrong key column (5 minutes).
  5. Switch to Allow editing and let Copilot carry out the plan. If it heads the wrong way, the Stop button on the right of the prompt box halts it (5 minutes).
  6. Build the mismatch report and the verification counts described in the next two sections (20 minutes).
  7. Fix what the report shows, rerun the counts, then save the merged file under a new name. To see everything Copilot touched, ask it "What changes has Copilot made to this workbook?" or use Review > Show Changes (15 minutes).

That is about 70 minutes the first time, most of it checking. The prompt:

I need customer details added to my orders, without changing either source file.

Files and tables:
- This workbook: table Orders on the Orders sheet (key column CustomerID).
- My file named Customers_copy.xlsx: table Customers (key column CustomerID).

Steps:
1. Import the Customers table into a new sheet called Customers_Import.
2. In Orders, add a column OrderKey: CustomerID as six-digit text, leading
   zeros restored only where the ID is stored as a number, spaces removed.
   Leave blank IDs blank. Do not overwrite CustomerID.
3. Add CustomerName, Email and LoyaltyTier to Orders, matched on OrderKey
   to Customers_Import[CustomerID]. Use XLOOKUP formulas with "NO MATCH"
   as the not-found value. Do not paste values.
4. Do not sort, filter, delete or de-duplicate any rows in Orders.
5. Tell me how many orders matched, how many show NO MATCH and how many
   have a blank CustomerID, and list anything you were unsure about.

A reply to a prompt like that might read as follows. Treat the wording and figures as an illustration of what to look for, not a promise of what Copilot will say:

"I imported the Customers table from Customers_copy.xlsx into a new sheet, Customers_Import (1,236 rows). I added OrderKey to Orders, converting numeric IDs to six-digit text and removing spaces, then added CustomerName, Email and LoyaltyTier with XLOOKUP formulas. Results: 3,186 orders matched; 229 show NO MATCH, including 212 rows where CustomerID is blank. I didn't sort, filter or delete any rows. Unsure: 17 IDs don't appear in the customer list."

What I'd check and fix in that reply:

  • The 1,236 imported rows. That matches the de-duplicated list (1,240 minus 4), so it is the first count to tick off. Any other number usually means the import picked up the wrong table, the wrong file or a filtered copy.
  • Guest sales mixed into NO MATCH. 229 problems sounds alarming when only 17 need a person. Follow up with: "Where CustomerID is blank, show GUEST in CustomerName, Email and LoyaltyTier instead of NO MATCH. Change nothing else."
  • The claim that every column uses XLOOKUP. Click one cell in each new column and read the formula. A column of pasted values looks identical until the customer list changes.
  • The arithmetic. 3,186 plus 229 is 3,415, the original row count. If the two numbers Copilot reports don't add up to your row count, something was dropped or doubled.

Here is how three orders looked before and after (illustrative):

OrderIDCustomerID (as exported)OrderKeyCustomerNameLoyaltyTierOrderTotal
W-20417004571004571[name from list]Gold$64.20
T-881024571004571[name from list]Gold$18.50
T-88131(blank)(blank)GUESTGUEST$9.99

Before the merge, order T-88102 had only the till's version of the ID, and a lookup on it would have found nobody: an $18.50 sale belonging to no customer. After it, the sale counts towards a Gold customer's spend, and the original 4571 is still visible in the export column for anyone who wants to see why.

If you'd like help fitting a customer-and-orders merge into the way your garden centre, shop or club actually runs, get in touch for a free one-to-one AI consultation call. I'm Sagnik Bhattacharya, and I help small businesses pick and set up AI tools that suit the way they already work.

What should a mismatch report show?

A mismatch report should list every order whose customer ID found no match, with the ID exactly as exported, the likely reason and the next action, so no unmatched sale disappears quietly.

Keep it on its own sheet and build it from the merged Orders table. FILTER returns the rows that meet a condition; multiplying two conditions means both must be true; and the last argument is what to show when nothing qualifies (leave it out and an empty result shows a #CALC! error). This version lists unmatched orders and leaves out guest sales:

=FILTER(Orders, (Orders[CustomerName]="NO MATCH")*(Orders[CustomerID]<>""), "No mismatches")

Then add two columns, Likely reason and Action, by hand or with Copilot. For the garden centre's 17 leftovers the report looked like this (illustrative; five of the 17 rows shown):

OrderIDCustomerID as exportedLikely reasonActionStatus
W-20611005902Signed up after the loyalty list was exportedRe-export the list and refresh the mergeFixed
W-20644005917Signed up after the loyalty list was exportedRe-export the list and refresh the mergeFixed
T-88340009471Not on the list; probably a till typoCheck the receipt and correct the ID at sourceOpen
T-88412001189Not on the list; probably a till typoCheck the receipt and correct the ID at sourceOpen
T-88702003390Account closed and removed from the listKeep the sale without a customer linkAccepted

Two things make the report useful rather than decorative. The CustomerID column shows the value exactly as exported, which is why the merge prompt adds OrderKey instead of overwriting CustomerID: once the raw value is gone, nobody can see that 4571 lost its zeros. And every row ends in an action someone owns. The garden centre's 17 split into 9 customers who signed up after the list was exported (fixed by re-exporting it), 5 till typos (corrected from the receipts) and 3 closed accounts (accepted as sales with no customer link). Without OrderKey, another 67 rows would have been on the list: 58 lost zeros and 9 IDs with a trailing space from the web shop.

Copilot can draft the report for you with a prompt like this:

Add a sheet called Mismatch_Report. List every Orders row where
CustomerName is "NO MATCH", with OrderID, OrderDate, CustomerID exactly
as exported, OrderKey and OrderTotal. Add a column LikelyReason with your
best guess (lost leading zeros, extra spaces, wrong length, not on the
customer list) and label each one as a guess. Below that, list the
customer IDs in Customers_Import that have no orders. Do not change the
Orders sheet.

Treat the LikelyReason column as a first draft. A guess of "not on the customer list" is often right, but only a receipt or the till log can say whether it was a typo or a new customer.

The other half: customers with no orders

The reverse list is often worth more than the mismatch list. It shows loyalty members who bought nothing in the period:

=FILTER(Customers[CustomerID], NOT(ISNUMBER(XMATCH(Customers[CustomerID], Orders[OrderKey]))), "Everyone ordered")

XMATCH returns an item's position when it finds it, ISNUMBER turns a found position into TRUE, and NOT flips the answer, so the list holds IDs that never appear in the orders. For the garden centre that was 185 members: a ready-made list for a win-back email before spring.

How do you prove the merge worked with verification counts?

Verification counts prove a customer-and-orders merge when four numbers agree: order rows before and after, the order total before and after, matched plus unmatched plus guest rows, and zero duplicate customer IDs.

CheckFormulaMust equalGarden centre, first run (illustrative)
Order rows=ROWS(Orders) in the original copy and in the merged fileThe same number3,415 and 3,415
Order total=SUM(Orders[OrderTotal]) in bothThe same to the cent$186,240.50 and $186,240.50
Every row accounted for=ROWS(Orders)-COUNTIF(Orders[CustomerName],"NO MATCH")-COUNTIF(Orders[CustomerName],"GUEST") gives the matched countMatched + NO MATCH + GUEST = all rows3,186 + 17 + 212 = 3,415
GUEST means a blank ID=COUNTIF(Orders[CustomerName],"GUEST") against =COUNTBLANK(Orders[CustomerID])The same number212 and 212
No duplicate customers=ROWS(Customers)-ROWS(UNIQUE(Customers[CustomerID]))04 before the clean-up, 0 after
Spot checkFive random orders looked up by hand in the customer list5 out of 5 right5 out of 5

Put these on a sheet called Merge_Checks and keep it in the file. Next month the same cells tell you in seconds whether the refreshed merge still adds up, and anyone who inherits the workbook can see what "checked" meant.

Where the order total gave the game away

Picture a merge run with a looser prompt ("match the customers and tidy up rows that don't match") that comes back with 3,203 rows and $179,903.10, against 3,415 rows and $186,240.50 in the original. The gap is exactly the 212 guest sales, worth $6,337.40: "tidy up" was read as permission to drop every sale without a customer. Every formula on the sheet would still be correct and the sheet would still look finished, yet about 6% of the orders would be missing. Only the before-and-after counts catch that, which is why the merge prompt above forbids sorting, filtering and deleting rows.

A sports club where the row count went up

Counts catch the opposite problem too. An illustrative sports club merged 2,960 class bookings with a 410-member list in Power Query and got 2,987 rows back. Three family accounts each had their member ID on two rows, and a Power Query merge brings in every matching row from the second table; when the merged column is expanded, one booking with two matching members becomes two rows. The 27 extra rows were the bookings made under those three IDs, and the booking total was inflated by the same bookings counted twice. The fix belonged in the member list (one row per ID, with family members listed in a separate column), not in the merge.

When is Power Query Merge Queries the better formula-free route?

Power Query Merge Queries is the better route when the same merge repeats every month, when the files come from other systems, or when you need the unmatched list to refresh with the data.

Power Query is Excel's built-in tool for importing and reshaping data, and Microsoft describes a merge in it as joining two tables based on matching values from one or more columns. No formulas end up in the cells, the steps are saved as queries, and the whole thing reruns when new files arrive. Here is how the four routes compare:

QuestionCopilot promptXLOOKUP you writePower Query mergeVLOOKUP
Do you type formulas?NoYesNoYes
Needs a Copilot plan?YesNoNoNo
Key column anywhere in the table?Depends on what Copilot buildsYesYesNo: the lookup value must be in the first column of the range
What unmatched rows showWhatever you ask forYour not-found textnull in the new columns, and anti joins can list them#N/A
Next monthRerun and recheck, or a saved skillUpdates when new data goes into the same tablesData > Refresh AllUpdates if the ranges still cover the data
Best forA one-off merge you will checkSmall lists you want to audit cell by cellMonthly merges and exports from other systemsOld files you can't change

The merge in eight steps on Windows

  1. In a new workbook, select Data > Get Data > From File > From Excel Workbook, pick Orders_copy.xlsx, choose the Orders table in the window that opens and load it.
  2. Repeat for Customers_copy.xlsx. Then select any cell in the loaded Orders data and choose Query > Edit to open the Power Query Editor, where both tables appear as queries.
  3. In each query, select the CustomerID column and set it to Text with the Data type drop-down on the Home tab, or with the type icon at the left of the column heading. Power Query guesses types from the first 200 rows of a spreadsheet, so look at a few IDs afterwards: if 004571 now reads 4571, the automatic Changed type step got there first; remove that step from the query's list of steps and set Text again.
  4. Select Home, then the arrow next to Merge Queries, then Merge Queries as New.
  5. Choose Orders as the first table and select its CustomerID heading; choose Customers as the second table and select its CustomerID heading. The two columns don't need the same name, but they must hold the same data type.
  6. Set Join Kind to Left Outer: every row from Orders, plus matching rows from Customers. Before selecting OK, read the estimated number of matches at the bottom of the dialog. It is an estimate, which is why the counts still matter afterwards.
  7. Select the Expand icon on the new column's heading, tick Name, Email and LoyaltyTier, and clear Use original column name as prefix for clean headings.
  8. Select Home > Close & Load. Orders with no matching customer show null in the new columns. The row and total checks from the previous section work on the loaded table just as they do on a Copilot merge; for the unmatched count, use the Left Anti query described next.

The two anti joins that build the mismatch report for you

Run Merge Queries as New twice more with different join kinds. Left Anti, with Orders as the first table, returns only orders with no matching customer: that is your mismatch report, and it will include the guest sales with blank IDs, so filter those out or count them separately. Right Anti returns only customers with no matching order: the lapsed-customer list. Both are saved queries, so next month's versions appear with the same refresh as the merge itself.

Fuzzy matching is for names, not IDs

The Merge dialog has a Use fuzzy matching to perform the merge check box, and Microsoft supports it only on text columns. It looks for close rather than exact matches, which can help when supplier or company names are typed slightly differently in two systems. It should never decide which customer an ID belongs to. If you use it on names, review every fuzzy pair before you trust any total built on them.

On a Mac, Microsoft's Merge Queries page lists Excel for Microsoft 365 for Mac, and its Mac Power Query page says the editor is generally available to Microsoft 365 subscribers on Excel for Mac version 16.69 or later, used as you would on Windows. If a menu isn't where the steps above say, the XLOOKUP route works the same on both. For scheduled refreshes with an AI-written summary on top of the result, see report automation with a Power Query refresh plus an AI summary.

How do you repeat the merge every month without redoing it?

A monthly merge repeats with one refresh in Power Query or one saved Copilot skill, and either way the verification counts run every month before anyone uses the result.

An illustrative coworking space merges its member list with the monthly room-booking export to bill extra meeting-room hours. Each month it saves the new export over the old one, with the same file name in the same folder, opens the merge workbook and selects Data > Refresh All (or presses Ctrl+Alt+F5). Ticking Refresh data when opening the file, on the Usage tab of the connection properties, makes the refresh happen as soon as the workbook opens. The Merge_Checks sheet then shows whether this month's rows and totals agree.

A quick sum for that coworking space (illustrative): the old copy-and-paste merge took about 50 minutes a month, and the refresh plus checks takes about 12. That is 38 minutes a month, or roughly seven and a half hours a year, and the counts are what make those saved hours safe to keep.

Saving the Copilot version as a skill or a rules sheet

Copilot can keep the steps too. Microsoft's Record a skill feature, still rolling out, sits on the Add menu in the prompt box: you start recording, do the merge and the checks, stop, and Copilot turns your actions into instructions saved to a skills folder in your OneDrive. Microsoft's tips for recording include telling Copilot how you check your work, such as confirming that totals match, so future runs can verify themselves; it also treats values, cell addresses and sheet names in a recording as examples rather than fixed requirements. After a good run you can instead type @skill-builder and ask Copilot to "Save what we just did to a new skill", if that skill has reached your account.

For rules that belong to one workbook, add a visible sheet named .Rules with one rule per cell in column A, for example "CustomerID is six-digit text; never convert it to a number" and "Never sort, filter or delete rows in Orders". Microsoft says Copilot's results then follow the rules for that workbook, that the rules travel with the file when you share it, and that rules may behave differently across models and over time. That last point is one more reason the Merge_Checks sheet stays.

Which route should a small business pick for its first merge?

A first merge should go through Copilot when it's a one-off you can check, and through Power Query when it repeats or arrives as an export from another system.

  • One-off, Copilot available: Plan mode first, XLOOKUP formulas, GUEST and NO MATCH labels, then the four counts and a five-order spot check.
  • Every month, or exports from a till, booking system or web shop: Power Query Merge Queries with a Left Anti query as the standing mismatch report, refreshed with Data > Refresh All.
  • No Copilot plan, or colleagues on Excel 2016 or 2019: Power Query, which needs no Copilot and runs in those versions.
  • No shared key column: don't merge yet. Add a customer ID or a consistent email field to both systems first; any merge without one is guesswork, however confident the result looks.

Once the orders carry the customer details, totals by tier or by customer are ordinary formula work, and Excel formulas for sales analysis that Copilot writes and you check picks up from there.

Copilot, lookups and merging Excel files: short answers

Is VLOOKUP still worth learning if Copilot does the matching?

Only as a reading skill. You will meet VLOOKUP in older workbooks, so know that it needs the lookup value in the first column of its range and shows #N/A when an exact match fails. For new work, Microsoft points people to XLOOKUP, which works in any direction and lets you set your own not-found text. Copilot can write either formula, and you still need to read what it wrote before trusting the merged sheet.

Can Copilot in Excel match customers by name instead of an ID?

It can be asked to, but a name is a poor key. Two customers can share a name and one person can be typed three different ways, so a name match will both join strangers and miss real customers. Use an ID or an email column. If names are all you have, use Power Query's fuzzy matching, which Microsoft supports only on text columns, and review every suggested pair by hand before trusting the totals.

Does importing another workbook with Copilot work in Excel for the web?

Microsoft doesn't list it: the import page applies only to Excel for Microsoft 365 on Windows and on Mac, so plan on the desktop app. Copilot in Excel itself runs on the web with edit, plan and chat modes, according to Microsoft's getting-started page, so once both tables sit in one workbook you can do the matching there. If the import can't find your file, copy the customer table into the orders workbook yourself first.

Can I undo a merge that Copilot got wrong?

Yes. Microsoft says you can undo Copilot's changes or restore a previous version of the file, and the Review tab's Show Changes button lists what changed. Safer still, turn AutoSave off before a first attempt, which Microsoft suggests for trying Copilot changes without saving them, and work on copies of both files. Once changes are saved, anyone with access to the file, including co-authors, can see them.

Do I need a Copilot licence to use Power Query Merge Queries?

No. Power Query is part of Excel itself, and Microsoft's Merge Queries page applies to Excel for Microsoft 365 on Windows and Mac and to Excel 2016, 2019, 2021 and 2024, with no Copilot plan involved. That makes it the route for a team without Copilot, or for files that colleagues open in Excel 2016 or 2019, where XLOOKUP is not available.

Further reads

Sources: Microsoft Support pages on Copilot in Excel (Get started, Import data from another Excel workbook, Frequently asked questions, tips, built-in skills, skills, Record a skill, workbook rules, change history, data sources, web and internal sources), Microsoft's Copilot business pricing page, Microsoft's page on limits for Copilot Chat features, Microsoft Support pages for the XLOOKUP, VLOOKUP, XMATCH, FILTER, UNIQUE, COUNTIF, COUNTBLANK, ROWS, SUM, NOT, ISNUMBER, TEXT, TRIM, SUBSTITUTE and UNICHAR functions, creating and renaming tables, and refreshing data connections, and Microsoft Support and Microsoft Learn pages on Power Query (merge queries, join kinds, data types, Table.ExpandTableColumn, importing data, Excel for Mac). All checked 29 November 2026.

Want a second pair of eyes on your setup?

Bring the process you're trying to fix. On a 1:1 call we'll work out which AI tools should handle it, which parts stay manual, and how to roll it out without disrupting the team.

Book a 1:1 call with me