Spreadsheet guides
Practical guides for joining, combining and analysing data across Google Sheets, Excel and CSV files.
How to combine data in Google Sheets
Combine data from multiple tabs or files in Google Sheets with array literals, VSTACK, QUERY and IMPORTRANGE, and join sheets by a key with XLOOKUP.
- How to combine multiple IMPORTRANGE formulas
Stack data from several Google Sheets files with VSTACK and IMPORTRANGE, filter it with QUERY, and fix access errors, slow loading and size limits.
- How to link two Google Sheets
Link two Google Sheets: reference cells, pull rows with IMPORTRANGE, and match records by ID with XLOOKUP or VLOOKUP — for one cell or a whole column.
- How to merge Google Sheets into one
Merge tabs or whole Google Sheets files into one: VSTACK and array literals, QUERY to drop blanks, a source column, and IMPORTRANGE for other files.
- How to merge sheets with Google Apps Script
A copy-ready Google Apps Script that merges tabs or files into one sheet with a source column, plus how to run it on a schedule with a time-driven trigger.
- How to use QUERY with multiple ranges in Google Sheets
Run one QUERY over several tabs or ranges in Google Sheets: stack them in { ; }, use Col1 notation, group and sum, and avoid the common errors.
How to combine Excel sheets into one
Combine multiple Excel sheets into one sheet: VSTACK, Power Query Append, Consolidate, pivot tables and copy-paste, with examples and when to use each.
- Combining data with VSTACK, HSTACK and other dynamic arrays
Use Excel's dynamic array functions to combine data: VSTACK and HSTACK across sheets, add a sheet-name column, drop blank rows, dedupe and sort in one formula.
- How to combine tables in Excel
Combine Excel tables by stacking them with VSTACK or Power Query Append, or by joining them on a key with Merge Queries. Structured references explained.
- How to combine two pivot tables in Excel
Excel can't merge two pivot tables directly. Combine their source data, relate them in the Data Model, or build a side-by-side report with GETPIVOTDATA.
- How to combine two sheets in Excel
Combine two sheets in one Excel workbook: stack them with VSTACK or copy-paste, or match them side by side with XLOOKUP. Examples and the pitfalls to avoid.
- How to create a pivot table from multiple sheets
Three ways to build one pivot table from several sheets: stack them first, use the Data Model with relationships, or the Multiple Consolidation Ranges wizard.
- How to merge every Excel table into one sheet
Use Power Query's Excel.CurrentWorkbook to stack every table in a workbook into one sheet, including tables added later, with a column naming each source.
How to compare two spreadsheets for differences and matches
How to compare two Excel sheets or lists: find differences, matches, missing rows and duplicates with formulas, conditional formatting, Power Query or a tool.
- How to combine duplicate rows in Excel
Merge duplicate rows in Excel into one row per value: sum numbers with a pivot table or GROUPBY, join text with TEXTJOIN, or use Power Query Group By.
- How to compare two columns in Excel
Compare two columns in Excel row by row or as lists: = and EXACT, Ctrl+\ for row differences, conditional formatting, COUNTIF and XMATCH to find missing values.
- How to compare two Excel sheets for differences
Find every difference between two Excel sheets: a difference formula, conditional formatting, View Side by Side, Spreadsheet Compare and key-based checks.
- How to find matches between two lists in Excel
Find values that appear in both lists, or only in one, with COUNTIF, MATCH and ISNUMBER, XMATCH and FILTER — across columns, sheets or workbooks.
- How to merge two spreadsheets and remove duplicates
Combine two Excel lists into one without duplicates: UNIQUE and VSTACK, Remove Duplicates, keeping the newest row, and a refreshable Power Query version.
- The best tools to compare two spreadsheets
Excel formulas, Spreadsheet Compare, Power Query, diff tools, add-ins and browser tools for comparing two spreadsheets: what each finds and its limits.
How to consolidate data in Excel
Consolidate data in Excel from multiple sheets or rows: the Consolidate tool, 3D SUM, SUMIFS, pivot tables and Power Query Group By, with worked examples.
- How to build a consolidation worksheet template in Excel
Design a reusable Excel consolidation template: identical input sheets, a Start/End sandwich, 3D formulas for the summary and check totals that catch errors.
- How to merge rows in Excel without losing data
Merge several rows into one in Excel without losing data: TEXTJOIN into one cell, Fill → Justify for text blocks, and consolidating rows that share a key.
- How to use SUMIFS across multiple sheets
Sum with criteria across many Excel sheets: 3D SUM for same-layout sheets, SUMPRODUCT with INDIRECT and a sheet list, or FILTER and VSTACK in Microsoft 365.
- How to use the Consolidate function in Excel
Use Excel's Data → Consolidate to combine and summarise ranges from several sheets or workbooks: by position or by label, with links, and its limits.
How to join spreadsheets on a common column
Join two spreadsheets on a shared column with XLOOKUP, Power Query Merge or SQL-style joins. Learn join types, key cleaning and how to check every match.
- How to combine GA4 properties into one report
Combine GA4 properties into one report: roll-up properties (Analytics 360), Looker Studio, or stacking exports in a sheet — and which metrics add up.
- How to combine Google Analytics and Search Console data
Join GA4 landing page data with Search Console clicks and queries: the built-in link, matching URLs correctly, and estimating conversions per search query.
- How to do an inner join in Excel
Do an inner join in Excel — keep only rows that match in both tables — with Power Query Merge, or with FILTER, XMATCH and XLOOKUP in Microsoft 365.
- How to find pages losing clicks, and which ones matter
Compare two periods in Search Console to find pages losing clicks, then join GA4 conversions to fix the ones that matter most first. Formulas included.
- How to join two spreadsheets on a common column
Three reliable ways to join two spreadsheets by a shared ID or email: XLOOKUP, Power Query merge and a SQL-style join — plus the mistakes that break matches.
- How to join two tables in Excel
Join two Excel tables on a shared column with Power Query Merge Queries or XLOOKUP: step-by-step, choosing a join kind, and checking the result.
- How to merge GA4 data with ad cost data
Combine GA4 conversions and revenue with Google Ads, Meta or LinkedIn cost data by date and campaign to calculate ROAS and cost per conversion in a sheet.
- How to return every match in one cell with TEXTJOIN
XLOOKUP returns only the first match. Use TEXTJOIN with FILTER to list every matching value in one cell, in Excel and Google Sheets, with older-version options.
- Reusable lookups with LET and LAMBDA
Make long lookup and join formulas readable with LET, then turn them into your own reusable Excel function with LAMBDA and the Name Manager.
- VLOOKUP vs XLOOKUP vs INDEX MATCH: which should you use?
A clear comparison of VLOOKUP, XLOOKUP and INDEX MATCH: syntax, limitations, compatibility, and when a lookup isn't enough and you need a join.
How to merge cells, columns and text in Excel
Merge cells, combine columns and join text in Excel and Google Sheets without losing data: Merge & Center, &, CONCAT, TEXTJOIN, Flash Fill and alternatives.
- How to combine text from multiple cells in Excel
Combine text from two or more cells in Excel: &, CONCAT and TEXTJOIN, separators and line breaks, skipping blanks, formatted numbers, and joining by condition.
- How to combine two columns in Excel
Combine two columns in Excel into one without losing data: the & operator, CONCAT, TEXTJOIN, Flash Fill and Power Query Merge Columns, plus dates and numbers.
- How to concatenate in Google Sheets
Combine text in Google Sheets with &, CONCATENATE, CONCAT, TEXTJOIN and JOIN: differences, separators, skipping blanks and filling a whole column.
- How to merge cells in Excel
Merge cells in Excel with Merge & Center, Merge Across or Merge Cells, unmerge them, find merged cells, and keep every value by combining the text first.
- How to merge cells in Google Sheets
Merge cells in Google Sheets horizontally, vertically or all at once, unmerge them, and combine the contents of cells without losing any data.
- How to use Center Across Selection in Excel
Use Center Across Selection to centre a heading over several columns without merging cells: steps, shortcut workarounds, limits and when to use it.
- How to use Merge & Center in Excel
How Merge & Center works in Excel, shortcuts, why it's greyed out, the data it deletes, and Center Across Selection as the safer alternative for headings.
How to merge CSV files into one
Merge multiple CSV files into one: in Excel with Power Query, on Windows or Mac from the command line, in Python, or in your browser. Headers handled correctly.
- How to combine CSV files in Excel
Combine multiple CSV files into one Excel sheet or workbook with Power Query From Folder, and fix delimiter, encoding, leading-zero and date problems.
- How to combine CSV files into one on a Mac
Merge CSV files on a Mac with one Terminal command that keeps a single header row, or with Excel's Power Query, or in the browser. Copy-ready commands.
- The best free ways to merge CSV files
Free ways to merge CSV files compared: command line, Excel Power Query, Python, csvkit, Google Sheets and browser tools — headers, columns, size and privacy.
How to merge data in pandas, R and SQL
How to merge and join tables in pandas, R (merge, dplyr) and SQL: join types, keys, stacking vs joining, and the same examples side by side.
- How to combine two tables in SQL
Combine two tables in SQL side by side with JOIN or stacked with UNION and UNION ALL: syntax, examples, column rules and how to choose.
- How to join multiple tables in SQL
Join three or more tables in SQL: chaining JOIN … ON, mixing inner and left joins safely, aggregating without double counting, and checking row counts.
- How to merge data frames in R
Merge data frames in R with base merge() or dplyr joins: inner, left, full and anti joins, different key names, and stacking with rbind or bind_rows.
- How to merge DataFrames in pandas
Merge two pandas DataFrames on a key with merge(): inner, left, outer and anti joins, different key names, validate, indicator, and when to use concat.
How to merge data in Power BI, Power Query and Tableau
How Power Query merges and appends data in Excel and Power BI, how Tableau joins, relationships and blends differ, and which to use for your data.
- How to combine files from a folder with Power Query
Combine every Excel or CSV file in a folder with Power Query: the helper queries it creates, filtering files, adding the file name and fixing refresh errors.
- How to merge tables in Power BI
Merge two tables in Power BI with Merge Queries in Power Query, or relate them in the model instead. Steps, join kinds, DAX options and how to choose.
- How to use Append Queries in Power Query
Stack tables with Power Query Append Queries in Excel or Power BI: two or more tables, Append vs Append as New, different columns and adding a source column.
- How to use fuzzy merge in Power Query
Match names that are spelled differently with Power Query fuzzy merge: similarity threshold, ignore case, transformation tables and how to check the matches.
- Power Query Merge Queries: every join kind explained
Left outer, right outer, full outer, inner, left anti and right anti joins in Power Query Merge Queries, with the same example for each and when to use them.
How to merge Excel files: every method compared
Merge Excel files into one workbook or one sheet: copy-paste, Move or Copy, Power Query, VBA, Power Automate and browser tools compared, with when to use each.
- Alternatives to the Ablebits Merge Tables Wizard
Alternatives to Ablebits Merge Tables Wizard for matching and merging Excel tables: XLOOKUP, Power Query Merge, and Analistable — features and trade-offs.
- How to combine Excel files on a Mac
Combine Excel files on a Mac with Power Query From Folder in Microsoft 365, Move or Copy, or a browser tool, plus what's different from Excel for Windows.
- How to combine Excel files with different columns
Combine Excel files whose columns differ in order, name or number. Fix Power Query dropping columns, align headers, and know when to stack or join.
- How to combine multiple Excel files into one automatically
Three ways to merge Excel files automatically: Power Query refresh on open, a VBA macro that loops through a folder, or a scheduled Power Automate flow.
- How to combine multiple Excel files into one spreadsheet
Combine multiple Excel files into one sheet with Power Query From Folder: every step, how to handle different sheet names, and a no-formula alternative.
- How to combine two Excel files into one
Combine two Excel files into one: stack rows when columns match, copy sheets into one workbook, or join side by side on a shared ID. Steps for each case.
- How to combine workbooks with Office Scripts
Use two Office Scripts and a Power Automate flow to combine Excel workbooks in OneDrive or SharePoint quickly, with copy-ready TypeScript code.
- How to merge Excel files with Power Automate
Build a Power Automate flow that merges Excel files from OneDrive or SharePoint into one master table on a schedule, plus the limits that trip people up.
- How to merge Excel files without uploading them
Most online Excel mergers upload your files. Learn which methods keep data on your computer, how to check whether a tool uploads, and why it matters.
- Power Query vs Analistable for combining files
Power Query or Analistable for combining spreadsheets? Compare setup, repeatability, joins, Google Sheets support, privacy and when each is the better choice.
- The best tools to merge Excel files, compared
Excel's Power Query, VBA, Power Automate, add-ins like Ablebits and Kutools, Python and browser tools for merging Excel files: features, limits and fit.