When does Consolidate merge spreadsheets, and when does it not?
Consolidate returns one number for matching cells or labels across ranges, using SUM unless you choose another function. Use it for four regional budget sheets with one layout. You get totals; individual list rows are dropped.
These steps follow the Microsoft Support article Consolidate data in multiple worksheets.
Microsoft requires: "Each column must have a label (header) in the first row and contain similar data. There must be no blank rows or columns anywhere in the list." By position needs the same layout in every range. By category matches row and column labels, allowing different arrangements if labels are identical. Microsoft also notes: "You cannot create links when source and destination areas are on the same sheet."

How to pull columns from one spreadsheet into another by a shared key
Use XLOOKUP, or VLOOKUP in older Excel versions. Both find the first table's ID in the second table and return a value from that row. Your first table gains columns and keeps its row count. Use this for orders in file A and prices for matching product codes in file B.
Open both workbooks, click the main table's first empty column and write the formula against the other file. XLOOKUP is available in Microsoft 365 and Excel 2021 or later.
=XLOOKUP(A2, [Prices.xlsx]Sheet1!$A:$A, [Prices.xlsx]Sheet1!$C:$C, "not found")
VLOOKUP needs the key in the lookup range's leftmost column and a column number instead of a return range.
=VLOOKUP(A2, [Prices.xlsx]Sheet1!$A:$C, 3, FALSE)
Fill the formula down. An error or "not found" means no matching row was found. Check for trailing spaces or product codes stored as numbers in one file and text in the other. When the results look right, copy the new column and paste it back as Values to cut the link to the second workbook.

Can a VBA macro merge Excel files automatically?
Yes. A macro can open every workbook in a folder and paste its used rows below the master sheet's last row, automating a weekly merge. Many office PCs block macros; company policy may require an IT administrator to enable them.
Save the workbook as a macro-enabled .XLSM file to keep the code. For a workbook received by email or download, you may need to open its Properties in File Explorer and unblock it. If your organization uses Block macros from running in Office files from the Internet, that checkbox will not help. Ask IT.
For a one-time append, use Power Query. Keep VBA for merge rules that no menu covers.
When is a desktop merge tool the shorter route?
Spreadsheet Compare & Merge Tool for Excel appends .XLSX, .XLSM, .CSV and .TSV files into a single sheet or one sheet per file, saving as XLSX or CSV. Match columns by header text or position. You can mix workbooks and CSV exports in one list, on a PC without Excel.
This Excel file combiner suits folders Power Query cannot combine cleanly. Matching by column name keeps every header in the order first seen, leaving empty cells for missing columns. It ignores letter case and spaces at header edges, so "Email" and "email " share a column. Matching by position ignores header names.
The program converts workbooks saved in the 1904 date system and keeps CSV values like 007 as text. It skips damaged files and counts them in the final message. At the worksheet row limit, it writes what fit and reports the limit.
Fonts, fill colors and number formats carry over unless you tick Plain text. Formula references stay as written, so a relative reference can point at a different row after merging.
The program has no command line. Charts, images, pivot tables, conditional formatting, borders and alignment do not carry over. Resave .XLS, .XLSB and .ODS files as .XLSX before adding them; those formats cannot be read. The trial writes the first 50 rows of a merge.
On the start screen's two cards, click Combine files to open the merge screen.
Use Add File(s) for single workbooks or Add Folder for a batch, or drag files onto the window. Each workbook's entry shows its sheet name and row and column counts.
Select a file and click the up or down arrow above the list, or drag its row. The result follows the list order.
Under Merge type, choose Into a single sheet to stack rows or One sheet per file for separate tabs.
Under Columns, choose By column name or By position. Under Also, tick First row is column names and Keep the header of the first file only to avoid repeated headers in the data.
Spreadsheet Compare & Merge Tool for Excel by SoftOrbits is an Excel file combiner and a comparison tool in one window. It folds a folder of workbooks into a single file, then shows what changed between two versions of a table. The files are read by the program itself. Excel does not have to be installed on the machine that does the work.
How to combine two Excel sheets without duplicate rows
Append first. In Excel, select the merged table, choose Data > Remove Duplicates, tick the column identifying a record and click OK. Append routes keep duplicate rows; Spreadsheet Compare & Merge Tool for Excel does not remove them.
Tick every column to remove only rows identical in all cells. Tick only the ID column to keep the first row for each ID and delete the rest, even if other cells differ. You may keep the older address.
Put the newer file first if it should win, or sort by a date column before removing duplicates. Power Query's Home > Remove Rows > Remove Duplicates command runs again on every refresh. Microsoft warns that it will not necessarily keep the first duplicate.
Record each source file's row count before merging. After removing duplicates, check that the total equals the sources' sum minus the number Excel reports as removed. A mismatch means a file was added twice or left out.
How to compare two versions of a spreadsheet before merging them
Compare two versions of one table before appending: an append doubles unchanged rows. A comparison shows edited, added and deleted rows. You may need only the newer file and selected rows from the older one.
In Excel, choose View > View Side by Side and enable Synchronous Scrolling to scroll both windows together. This works for 50 rows, but an inserted row in a price list of a few thousand lines shifts everything below it.
Compare two files in Spreadsheet Compare & Merge Tool takes exactly two files and displays synchronized grids, with buttons for the previous and next difference. Match rows row by row, by a key column, or automatically to detect inserted and deleted rows. Key matching suits exports with shared order numbers but different sorting. Export differences as XLSX with highlights or a CSV list, or give the other version's owner a PDF or HTML report.
Can you merge Excel files online, and is it safe?
Online mergers upload your files to a server you do not control. That is fine for a class schedule. For payroll, customer lists or files under a confidentiality agreement, use Excel or a desktop merge program locally.
In one Microsoft Tech Community thread, someone with 33 Excel files in a folder could not find From Folder in Excel for Mac. An online service was suggested first; a later workaround gave Excel access to the folder.
If a website is your only option, remove personal-data columns from copies before uploading.
Sources