In this article:

How to Merge Cells in Google Sheets Without Losing Data

May 8, 2024

In this article we will show you how to merge cells in Google Sheets without losing data in just a few simple steps.

How to Merge Cells in Google Sheets Without Losing Data

Merging cells using the cell merge feature in Google Sheets is not possible when there is a need to retain data, instead we can merge cells using a function.

For the purpose of this demonstration an example datasheet has been used. Click here to access the link and follow along at home.

1. Select the cells you want to merge

Select an empty cell next to the cells you want to merge. 

In our example we will merge the cells next to the data we want to keep.

Merge cells in Google Sheets without losing data: Select an empty cell

2. Enter the CONCATENATE function - =CONCATENATE(Cell1, “ ”, Cell2, “ ”, Cell3 …)

In the merged cell we can use the CONCATENATE formula to preserve the data.

The formula to use is:

=CONCATENATE(Cell1, “ ”, Cell2, “ ”, Cell3 …)

Formula Breakdown:

=CONCATENATE: This function is used to indicate to merge the data from the specified cells.

Cell1: This is the first cell reference. The text from this cell will appear at the start of the merged data.

“ ”: To separate the data values the separator must be contained between double quotations. This can be a space, other punctuation or specific text values.

Cell2:  This is the second cell reference. The text from this cell will appear after the data from Cell1

Cell3 … : Any additional cell references can be added to the formula and will add to the end of previous cell referenced data.

In our example we will use the following formula to merge the data:

=CONCATENATE(C4," ",D4," ",E4)

Merge cells in Google Sheets without losing data: CONCATENATE

 

Alternatively, you can use the JOIN formula to combine the data from multiple cells into a single cell. For example, if you want to merge cells C4,D4 and E4 and preserve the data from each cell, you can use the JOIN formula to combine the data. 

To do this, enter the following formula in the merged cell:

=JOIN (“ “,Cell1,Cell2,Cell3…)

In our example we would enter:

=JOIN(" ",C4,D4,E4)

Merge cells in Google Sheets without losing data: JOIN

3. Press Enter to see the Results

The results are populated in the merged cell.

 

In both cases you can customize the formula to combine the data from the cells in any way you want, using any separator you want. The important thing is that you use a formula to combine the data from the cells you are merging, so that you don't lose any data.

Merge cells in Google Sheets without losing data: Results

Related Articles

-Merge Cells in Google Sheets

-Google Sheets Split Text to Columns

-Merge Cell Shortcut Google Sheets

-Unmerge Cells in Google Sheets

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.
Get your copy of our free Google Sheets automation guide!
  • 27 pages of Google Sheets tips and tricks to save time
  • Covers pivot tables and other advanced topics
  • 100% free

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->