Excel Automation

Merge Multiple Excel Files with AI: 5 Store Files, One Sales Table

See how GetSheetAI combines five Excel files into one 2,500-row sales table, keeps a source-store column, and leaves the original files unchanged.

Five stores send you five Excel files. You need one sales table.

That sounds simple until you are switching between workbooks, copying ranges, removing the extra headers, and trying to remember which rows came from which store. The work is not difficult. It is just repetitive—and it stands between you and the analysis you actually wanted to do.

In this GetSheetAI demo, we combined five Excel files containing 2,500 sales records into a single worksheet. The request was written in ordinary English. GetSheetAI carried out the merge inside Excel and added the source store alongside each record.

The starting point: five files with matching columns

The demonstration uses simulated sales data from five stores: Central, Eastpark, Northgate, Riverside, and Westlake. Each file contains 500 records and uses the same headers.

The goal is to append those records into one table—not match two tables by order ID, calculate a store summary, or remove repeated transactions.

Starting files Requested output
Five separate store workbooks One Merged Sales worksheet in the current workbook
500 records per store All 2,500 records retained
A header row in each file One header row at the top
Store identity in each filename A Source Store column beside the records
Five original files Original files left unchanged

Keeping the source store is a small detail that makes the combined table much more useful. You can filter back to one store without opening the original exports again.

What we asked GetSheetAI to do

This is the English request used in the demo:

Merge the 5 attached store Excel files into a Merged Sales sheet in this workbook. Keep one header row, add a Source Store column from each filename, and keep all 2,500 records and the original files.

The request names the destination, explains where the source label should come from, and makes it clear that every record belongs in the result. There is no formula to write and no script to assemble yourself.

For your own files, replace the number of files, expected record count, and destination name with the ones that fit your task. If the filenames identify a region, branch, or reporting period instead of a store, ask for that label instead.

How the workflow looks in Excel

  1. Open the workbook where you want the combined table.
  2. Open GetSheetAI, choose Files, then Upload, and select the five source workbooks.
  3. Make the uploaded files available to the conversation and enter the merge request.
  4. Open the resulting Merged Sales worksheet and work with the combined records.

In the recorded example, the output contained 2,500 records, with 500 from each store, and a sales total of CNY 436,139.60. The case checks confirmed that the original five attachments were unchanged.

This is a developer demonstration with simulated data. The short video uses sped-up processing footage; its 38-second running time is not a claim about how long every merge takes.

Why one combined table is useful

Once the records are in one place, the next question gets easier. Instead of opening five workbooks to compare sales, you can filter the Source Store column, sort the combined records, or use the table as the starting point for a report.

The practical gain is fewer trips between files and less manual copy-paste. You keep the transaction-level detail rather than reducing everything to five totals before you know what you want to analyze.

It also helps separate two different jobs: first combine the records, then decide whether they need cleaning or summarizing. A merge should not silently become a deduplication task. If you want a cleanup step afterward, give that its own rules. Our Excel data-cleaning guide walks through that separate workflow.

Does this example cover files with different layouts?

This demo uses five files with the same headers. It does not demonstrate automatic mapping between unrelated column names, password-protected workbooks, or a scheduled refresh pipeline.

For files with different layouts, describe the desired output columns and how each source column should map to them. That is a different task from stacking matching tables and deserves its own clear request.

Start with the files you already have

If your next job begins with “please combine these exports,” you already have a good starting point: the files, the destination, and the rule for retaining their source labels.

Get GetSheetAI for Excel, attach the workbooks, and describe the result you need. GetSheetAI also supports Google Sheets; this demonstration specifically shows the Excel add-in.

Less switching between files. More time working with the data.