Merging cells combines two or more cells into one larger cell
When you merge cells in Google Sheets, the spreadsheet combines the selected cells into a single cell. The merged cell spans across the rows and columns you choose. Google Sheets keeps the content from the top-left cell and discards the content from the other cells you merge, so back up any data you need before merging.
Merging is useful when you want to create a title that stretches across multiple columns, or when you need a label that spans several rows. It does not change how your data calculates — it only changes how the cells appear on the page.
Key Takeaways
- Select the cells you want to merge, then use the merge cells button in the toolbar or go to Format > Merge cells to combine them into one.
- Google Sheets keeps only the content from the top-left cell when you merge, so any text or numbers in the other cells will be lost.
- You can merge cells across columns, across rows, or in a grid pattern depending on what your spreadsheet layout needs.
- Unmerging cells returns them to their original separate state, and you can do this at any time without losing data from the merged cell.
How to merge cells in three steps
Start by clicking on the first cell you want to merge. Hold Shift and click on the last cell in the range you want to combine. This selects all the cells between the first and last cell you clicked.
Once your cells are selected, look for the merge cells icon in the toolbar — it looks like a small grid with cells joining together. Click that icon. A dropdown menu appears with merge options. Choose the type of merge you want: merge all, merge vertically, or merge horizontally. Click your choice, and the cells combine into one.
If the toolbar icon is not visible on your screen, you can also go to the Format menu at the top, select Merge cells, and then choose your merge type from the submenu. Both methods do the same thing.
What happens to your data when you merge
When you merge cells, Google Sheets keeps only the content from the top-left cell in your selection. If you merge cells A1, B1, and C1, the merged cell will contain whatever was in A1. The content from B1 and C1 disappears.
This is why it matters to check your cells before merging. If you have important data in any cell except the top-left one, copy that data somewhere else first. You can paste it back into the merged cell afterward if you need it.
Numbers and formulas in merged cells behave the same way as they do in regular cells. A formula in the top-left cell will still calculate correctly after the merge.
Merging cells across columns versus rows
When you select cells in a horizontal line — like A1, B1, C1 — and merge them, you create a cell that spans across columns. This is common for titles or headers that need to stretch the width of your data.
When you select cells in a vertical line — like A1, A2, A3 — and merge them, you create a cell that spans down rows. This is useful for labels on the left side of a table or for organizing sections of your spreadsheet.
You can also merge cells in a grid pattern. If you select A1 through C3, you merge a 3-by-3 block of cells into one large cell. The merged cell will be as wide as three columns and as tall as three rows.
How to unmerge cells
To separate merged cells back into individual cells, select the merged cell by clicking on it once. Then go to Format > Merge cells > Unmerge. The cells return to their original separate state.
When you unmerge cells, the content that was in the merged cell stays in the top-left cell of the range. The other cells in the range become empty. This is different from merging, where content from non-top-left cells is lost — when you unmerge, you do not lose any data because there was only one cell to begin with.
Common mistakes to avoid when merging
The most common mistake is merging cells that contain data you need to keep. Always check every cell in your selection before you merge. If you realize you made a mistake after merging, you can undo the merge by pressing Ctrl+Z on Windows or Command+Z on Mac, as long as you have not made other changes since.
Another mistake is merging cells in a column that you plan to sort. Sorting does not work well with merged cells — Google Sheets may not move the merged cell the way you expect. If you need to sort your data, unmerge first, sort, then merge again if you still need to.
Do not merge cells if you plan to use them in a pivot table or other data analysis tool. Merged cells can cause errors or unexpected results in these features. Keep your raw data in regular unmerged cells, and only merge cells in separate areas used for titles, labels, or formatting.
Frequently Asked Questions
Can I merge cells if they contain different data?
Yes, but Google Sheets will keep only the content from the top-left cell and delete the content from all other cells in the merge. If you need to keep the data from other cells, copy it to a different location before you merge.
What happens to formulas when I merge cells?
If the top-left cell contains a formula, that formula stays in the merged cell and continues to calculate. If other cells in the merge contain formulas, those formulas are deleted. The merged cell will only show the result of the formula from the top-left cell.
Can I merge cells that are not next to each other?
No. You can only merge cells that form a continuous rectangle. You cannot merge A1 and C1 while skipping B1, and you cannot merge cells from different parts of the spreadsheet at the same time. Select a solid block of cells to merge.
Does merging cells affect how my spreadsheet calculates?
Merging cells does not change any calculations or formulas in your spreadsheet. It only changes how the cells look on the page. A formula that references a merged cell will work the same way as a formula that references a regular cell.
Can I merge cells on my phone or tablet?
The Google Sheets app on Android and iOS does not have a merge cells feature. You can view merged cells that already exist, but you need to use Google Sheets on a computer or web browser to create new merged cells or change existing ones.