In this article:

How to Merge Cells in Google Sheets Without Losing Data

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

Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started