Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to merge and combine rows without losing data in Excel?

Excel only keeps the data in the upper-left most cell, if you apply "Merge & Center" command (Home tab > Merge & Center on the Alignment panel) to merge rows of data in Excel. Users have to use another method to merge multiple rows of data into one row without deleting data. This tutorial is going to present you the method of how to merge rows of data into one row.

  1. Merge Rows of data into one cell with Clipboard
  2. Merge rows of data into one row with formula
  3. Merge rows of data into one row with formula 2
  4. Merge rows of data into one row with Kutools for Excel  
  5. Merge rows of data with same value in certain column

   Combine multiple columns / rows without losing data and number format in Excel

Normally when merging cells with the Merge feature in Excel, it will remove all cell contents except the first cell content. However, with Kutools for Excel's Combine (Rows & Columns) utility, you can easily batch combine multiple cells/rows/columns without losing data. What's more, this utility also supports remaining original date format and number formats in the combination results. Full Feature Free Trial 30-day!
ad combine rows columns keep formatting

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words...
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum...
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns...
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Create Mailing List and Send Emails by Cell's Value...
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

 Merge Rows of data into one cell with Clipboard

With the Clipboard, you can easily merge the rows of data into a single cell in Excel. Please do as follows:

1. Click the anchor  at the bottom-right corner of the Clipboard group on the Home tab to enable the Clipboard left the working area. See screenshot:

2. Select the Rows of data, and press Ctrl + C keys to copy them. Then the copied data is added into the Clipboard.
Note: You can also click Home > Copy to copy the selected rows of data.

3. Double click into a blank cell, and click the copied data in the Clipboard. Then the copied rows of data are inserted into the cell at once. See screenshot above.


  Merge rows of data into one row with formula 1


For example, you have some data in Excel, and now you need to merge rows into one row and get the following result, how could you do?Here are some formulas can help you to merge the data in multiple rows into one row.

Merge rows of data without spaces between the data: =A1&A2&A3&A4&…
Merge rows of data with spaces between the data: =A1&" "&A2&" "&A3&" "&A4&…

1. In the blank Cell A9, please enter the formula =A1&A2&A3&A4&A5 or =A1&" "&A2&" "&A3&" "&A4&" "&A5.

2. Then press Enter key and select the Cell A9, drag the fill handle over the range of cells that you want to apply this formula.

Now the rows of data have been merged into one row.

Note: To remove the formulas but remain merging results, you can do as follows: select the formula cells, press Ctrl + C keys to copy them, right click the selected formula cells and click Value from the context menu. Or you can apply the To Actual feature of Kutools for Excel to remove formulas but remain merging result with only one click, Read more ...

If you have multiple rows need to be merged, this method will be complex.


 Merge rows of data into one row with formula 2

You can also combine the CONCATENATE and TRANSPOSE functions to merge multiple rows of data into one cell in Excel. Please do as follows:

1. Select a blank cell, enter the formula =CONCATENATE(TRANSPOSE(A1:A10&" ")), and highlight TRANSPOSE(A1:A10&" ") in the formula.

2. Press F9 key to convert the highlight part of formula to values.

3. Remove the curly brackets { and }, and the space behind the last value in the formula. In my case, remove {, }, and the space in “effectively ” .

4. Press Enter key.

Now the given rows of data are merged into the specified cell/row without any data lost.

Note: To remove the formula but remain the merging result, you can copy the formula cell, right click it, and select Value from the context menu.


 Merge rows of data into one row with Kutools for Excel

It is much easier to merge rows of data into one row with the the Combine feature of Kutools for Excel.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Select the range that you want to merge, and click Kutools > Combine. See screenshot:

2. In the Combine Columns & Rows dialog box, specify the options as below screenshot shown:
(1) Select Combine rows under To combine selected cells according to following options.
(2) Specify a separator for the combined data.
(3) Specify the place in the Place the results to drop down list;
(4) Specify how you want to deal with the combined cells. You can keep or delete contents from those combined cells, and you can also merge those combined cells.

3. Then click OK to combine multiple rows into one row without losing data.

(1) If the Keep contents of combined cells options is checked in above step:

(2) If the Delete contents of combined cells options is checked in above step:

(3) If the Merge the combined cells options is checked in above step:

The Combine (Columns or Rows) feature of Kutools for Excel supports more combination scenarios in Excel. Have a Free Trial!


 Merge rows of data with same value in certain column

Supposing you have a range of data as below screenshot shown. Now you may need to merge rows of data with the same value in the Fruit column. In this condition, you can apply the Advanced Combine Rows feature of Kutools for Excel to deal with it.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Select the range you will merge rows with same value, and click Kutools > ContentAdvanced Combine Rows.
doc merge rows into one kte 06

2. In the Advanced Combine Rows dialog, please set the certain column (Fruit column) as primary Key, specify combination settings for other columns, and click the Ok button.
Set Primary Key column: Click to highlight the Fruit column, and click Primary Key;
Specify combination settings: click one of the other columns, and click Combine > Nothing, Space, Semicolon, Comma, or New Line as you need.

Now all rows are merged based on the same value in the certain column. See screenshot:

Note: this Advanced Combine Rows feature not only supports to merge rows based on the same value in certain column, but also supports to calculate based on the same value in the certain column. For example, I specify the combination and calculation settings as follows:
(1) Set the Fruit column as Primary Key column;
(2) Combine Date column with comma;
(3) Get the average value in the Price column;
(4) Get Max value in the Weight column;
(5) Get summary total value in the Amount column:

Then you will see the rows are combined and calculated based on the same value in the Fruit column as follows:

The Advanced Combine Rows feature of Kutools for Excel is designed to help Excel users easily combine rows based on values in a certain column, and calculate (count, sum, max, min, etc.) based on the certain columns too. Have a Free Trial!


 Merge rows of data into one row with Kutools for Excel


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    sruthi · 1 years ago
    Good afternoon,
    I have text data in rows ,I want to merge in a single row all the data one by one
  • To post as a guest, your comment is unpublished.
    Pushpalatha R N · 2 years ago
    Hi,
    I need to get the data one by one not one next another
  • To post as a guest, your comment is unpublished.
    Walid Ahmad Nouh · 3 years ago
    Thanks a lot, Too much helpful.
  • To post as a guest, your comment is unpublished.
    SANDESHPAWAR · 5 years ago
    hi, I need to combine all my row in one , with coma "," against two word / number