Watch Video – How to Merge Cells In Google Sheets
In some cases, you would have a need to merge some cells and combine these together to make one single cell. These could be either merging cells in rows or columns (or both).
One practical example of this is when you have a header that is the same for multiple columns, and you need to merge the cells to make the header look like one (as shown below).
In this tutorial, I will show you how to merge cells in Google Sheets (horizontally as well as vertically).
I will also cover some additional things you need to take care of when using Google Sheets to merge cells.
So let’s get started!
Table of Contents
What Is Merging Cells In Google Sheets
Merging cells in Google Sheets means combining cells into one. This usually happens without affecting the rest of the cells. The Google Sheet merge cells option has three options to merge all, horizontally, and vertically. This means you can merge rows in Google Sheets as well as columns.
Merging cells is useful for extending titles or texts across multiple cells. It’s also useful when you’re making categories in your data and when making dashboards.
It is important to note that merging cells is different from merging texts. When you merge a cell, it will only retain the values in the first cell, while when combining text, you retain all the values, and you can use functions like the JOIN function.
How to Merge Cells In Google Sheets
Suppose you have the dataset as shown below, and you want to merge the header row that has the text “Store #”.
Below are the steps to merge these cells:
- Select the cells that you want to merge
- Click the Format option in the menu
- Click on Merge cells option
- In the options that appear, click on ‘Merge horizontally.‘
The above steps would merge the three cells and make them one.
Another way to access the merge options is through the toolbar. When you click on the Google Sheets ‘Merge cells’ icon, it will merge all the cells. And if you click on the drop-down icon next to the merge button, it will show other options, such as merging horizontally or vertically.
Important Note: When you merge cells that already have some content in the cell, the final merge cell will only retain the content of the top-leftmost cell. The rest of the content will be lost. Thankfully, when this situation comes, Google Sheets will warn you with a prompt (as shown below) and only merge the cells when you click on OK.
How to Merge Cells In Google Sheets for iOS and Android?
There are two easy steps to merge cells on your mobile device in Google Sheets:
- Select the cells you wish to merge. Some phones will let you tap and drag. On others, you just have to move the little circle on the corner of the blue box to cover all the cells.
- Click on the Merge button at the bottom.
This will immediately merge the cells you selected.
Another example of how to merge two cells in Google Sheets mobile is:
- Select the cells.
- Go to format.
- Tap the Cell tab.
- Toggle on the Merge option.
It is important to note that the Google Sheets app for mobile doesn’t have the options for how to merge columns in Google Sheets or rows. It can only merge all the cells that have been selected.
The Merge Cells Keyboard Shortcut In Google Sheets
There may not be a direct “how to merge cells in Google Sheets shortcut,” but there are still shortcuts that you can use to make your workflow faster.
- Select the cell you want to merge.
- Hold and click Alt + O + M. This will take you directly to the merge options.
- Select Merge all.
Different Types of Merge Options in Google Sheets
If you followed the steps above, you would have already noticed that there are the following types of merge options:
- Merge all
- Merge horizontally
- Merge vertically
Let me quickly explain each of these Google spreadsheets merge cells options.
When you use the ‘Merge all’ option, it will merge all the cells, and you will get the result which is one big merged cell (as shown below).
Note that this option only becomes available when you have selected a contiguous range of cells. If you select a non-contiguous range of cells, you will notice that this option is grayed out.
When you select more than one row and use this option, cells in each row will be merged (as shown below).
In case you have only selected the cells in one row, then Merge all and Merge horizontally would do the same thing.
This option is for how to merge cells vertically in Google Sheets. When you select more than one column and use this option, cells in each column will be merged (as shown below):
In case you have only selected one column, then ‘Merge vertically’ and ‘Merge all’ would do the same thing.
Issues When Learning How to Merge in Google Sheets
While using merged cells, there are a few things you need to know.
Can’t Sort Columns with Merged Cells
The first issue with merge cells is that you can not sort a column that has merged cells.
If you try and do that, it will give you an error, as shown below.
Copies merged cells and not the value.
If you have three cells merged together with some text in it and you copy and paste this somewhere else in the worksheet, the result would be merged cells (with the same text and formatting).
In case you only want to copy and paste the content of the merged cells and do not get the result which itself are merged cells, you need to copy and then paste it as value.
So there are a few issues you need to keep in mind when working with merged cells in Google Sheets.
And in case you need to unmerge cells, you can easily do that. Simply select the cells that are merged, go to Format –> Merged cells, and then click on Unmerge.
Frequently Asked Questions
How Do I Merge Cells Into One Row?
Can you merge cells in Google Sheets? Yes, you can! You just have to use the merge horizontally option from the menu. If you’re unsure what that is, we covered it above in the main text of this article.
Why Can’t I Merge Cells on Google Sheets?
If you can’t use any of the above-mentioned methods to merge cells, your spreadsheet might be locked. We have an article about locked cells that will help explain what that means and how to fix it.
Is There a Way to Merge Cells In Google Sheets Without Losing Data?
Unfortunately, there’s no native way to merge data from multiple cells in Google Sheets. Buy, you can use an add-on like this Merge Cells that will allow you to do it. To use it:
- Follow the link above
- Install the add-on
- Highlight the cell range you want to merge
- Navigate to Extensions>add-ons>Merge Cells
- Select how you want your data to combine from the available options
That’s all there is to know about how to merge cells in Google Sheets.
I hope you found this tutorial useful! You can also learn more from our guide on how to mail merge in Google Sheets.
If you want to learn more about Google Sheets, we recommend you take a full Google Sheets course. On the other hand, if you want to skip to fully finished premium workbooks check out our templates library where you can use the code SSP for 50% off.
Other Google Sheets tutorials you may find useful:
- How to Split Cell in Google Sheets (into separate columns)
- How to Combine Cells in Google Sheets (using simple Formulas)
- How to Group Rows & Columns In Google Sheets
- How to Separate First and Last Name in Google Sheets
- How to Compare Two Columns in Google Sheets
- How To Make Text Vertical In Google Sheets (Rotate Text)