What "merging fields" means and when you need it
Merging fields in Excel means combining the text or numbers from two or more cells into a single cell. You might do this to join a first name and last name into one column, combine an address across multiple cells, or pull data from different places into a summary cell. Excel gives you two main ways to do this: merge cells (which combines the cells themselves) or concatenate (which combines just the content while keeping cells separate).
The method you choose depends on what you're trying to accomplish. If you want to physically combine cells into one larger cell — useful for headers or labels — you merge. If you want to keep your data structure intact but display combined information, you concatenate. Most people working with actual data choose concatenate because it preserves your spreadsheet's organization.
Key Takeaways
- Merging cells combines multiple cells into one larger cell, which works well for titles and headers but can cause problems when sorting or filtering data.
- Concatenating combines the content of cells using a formula, keeping your data structure intact and letting you sort and filter normally.
- The CONCATENATE function or the ampersand (&) symbol both join cell contents, and you can add spaces or punctuation between them.
- The TEXTJOIN function (Excel 2016 and newer) is the easiest method because it handles spacing automatically and skips empty cells.
- After creating a merged or concatenated column, you can copy the results and paste them as values to lock them in place.
Merging cells: combining the cells themselves
When you merge cells, Excel combines multiple cells into one larger cell. The content from the first cell stays; content from other cells is deleted. This is most useful for headers, titles, or labels that span multiple columns.
To merge cells, select the cells you want to combine. Click and drag from the first cell to the last one, or click the first cell, hold Shift, and click the last cell. Then go to the Home tab, find the Merge & Center button (it looks like two rectangles joining together), and click the dropdown arrow next to it. Choose "Merge Cells" from the menu. The cells combine into one, and the content aligns however you set it.
Important warning: Merged cells cause problems when you sort, filter, or move data around. Excel treats merged cells as a single unit, which can break your sorting and make filtering behave unexpectedly. If you're working with actual data that you might sort or filter later, concatenate instead of merge.
Concatenating with CONCATENATE or the ampersand method
Concatenating combines the content of cells using a formula, so the original cells stay separate and your data structure stays intact. This is the better choice for most data work.
The simplest way is to use the ampersand symbol (&). Click the cell where you want the combined result to appear. Type an equals sign to start a formula, then type the cell reference, an ampersand, and the next cell reference. For example, to combine cells A1 and B1, type =A1&B1. Press Enter, and the contents appear together in your new cell.
If you want a space or punctuation between the combined content, add it in quotes. For example, =A1&" "&B1 combines the cells with a space between them. To add a comma and space, use =A1&", "&B1. You can chain as many cells together as you need: =A1&" "&B1&" "&C1 combines three cells with spaces between each.
The CONCATENATE function does the same thing but uses a different syntax. Type =CONCATENATE(A1," ",B1) and it produces the same result as the ampersand method. Most people find the ampersand easier to read and type.
Using TEXTJOIN for automatic spacing and cleaner formulas
If you have Excel 2016 or newer, the TEXTJOIN function is the easiest method because it handles spacing automatically and skips empty cells without leaving gaps.
The formula structure is =TEXTJOIN(" ",TRUE,A1:B1). The first part in quotes is what goes between items — a space, a comma and space, a dash, whatever you want. The TRUE tells Excel to ignore empty cells. The last part is the range of cells to combine. If you want to combine A1 through D1, type =TEXTJOIN(" ",TRUE,A1:D1).
TEXTJOIN is especially useful when you have empty cells scattered through your data. With the ampersand method, an empty cell leaves a gap. With TEXTJOIN and TRUE selected, empty cells are skipped entirely, so you don't end up with extra spaces or punctuation.
Copying your merged results and pasting them as values
After you create a formula that combines cells, the result is a formula, not actual text. If you delete or change the original cells, your combined result changes too. To lock the combined data in place, copy the cells with your formula and paste them as values.
Select the cells containing your concatenation formula. Press Ctrl+C (or Cmd+C on Mac) to copy. Then right-click on the same cells and choose "Paste Special." In the window that opens, click "Values" and then OK. The formulas turn into plain text, and your combined data stays the same even if you change the original cells.
This step is optional if you want the combined data to update automatically when the source cells change. But if you're building a final report or summary, pasting as values prevents accidental changes.
Combining data from different sheets or workbooks
You can concatenate cells from different sheets in the same workbook or even from different workbooks. The formula works the same way, but you include the sheet name in the cell reference.
To combine cells from different sheets, use the sheet name followed by an exclamation point and the cell reference. For example, =Sheet1!A1&" "&Sheet2!B1 combines cell A1 from Sheet1 with cell B1 from Sheet2. If your sheet name has spaces, put it in single quotes: ='Sales Data'!A1&" "&'Customer Info'!B1.
Combining data from a different workbook requires the full file path. The syntax is longer and harder to type, so most people copy the data they need into the current workbook first, then concatenate. If you need to do this regularly, ask whether your data structure could be reorganized to keep everything in one place.
Troubleshooting common concatenation problems
If your formula combines cells but the result looks wrong, check whether you're mixing text and numbers. Excel sometimes treats numbers differently than text, especially if they came from calculations. If you see numbers that don't line up the way you expected, wrap them in the TEXT function to control how they display: =A1&" "&TEXT(B1,"0.00") formats B1 as a number with two decimal places.
If you see a formula instead of a result (like the actual text =A1&B1 appearing in the cell), the cell is formatted as text. Click the cell, go to the Home tab, click the dropdown next to "Format as Table," choose "Format Cells," and change the format from Text to General. Then press Enter to recalculate.
If you're combining many cells and the formula gets long and hard to read, break it into steps. Create one column that combines A and B, another that combines that result with C, and so on. This makes it easier to spot mistakes and easier for someone else to understand your work later.
Frequently Asked Questions
Can I merge cells and still sort my data?
Merged cells cause sorting to behave unpredictably because Excel treats a merged cell as a single unit. If you need to sort, use concatenation instead. Concatenation keeps your cells separate so sorting works normally.
What's the difference between merging and concatenating?
Merging physically combines cells into one larger cell. Concatenating uses a formula to combine the content while keeping cells separate. Merge for headers and labels; concatenate for data you might sort or filter.
How do I add punctuation between combined cells?
Put the punctuation in quotes within your formula. Use =A1&", "&B1 for a comma and space, or =A1&" - "&B1 for a dash with spaces. You can add any characters you want between the quotes.
Will my combined data update if I change the original cells?
Yes, if you use a formula. The combined result updates automatically whenever you change a cell in the formula. If you paste the formula as values, it becomes static text and won't update.
Can I undo a merge if I change my mind?
Yes. Select the merged cell, go to the Home tab, click the Merge & Center dropdown, and choose "Unmerge Cells." The cell splits back into separate cells. Note that any content from the second cell onward was deleted when you merged, so you may need to re-enter it.