What "merging rows" means and why Excel doesn't do it the way you think

When you want to combine two rows in Excel, you are not actually merging them the way you might merge cells. Excel's merge function combines cells visually but leaves the data in only the top-left cell — the rest disappears. What you usually want instead is to combine the data from two separate rows into a single row, keeping all the information.

The method you use depends on what you are trying to do: stack data from two rows side by side in one row, combine text from multiple cells, or physically delete one row after moving its data. Each approach uses different tools in Excel, and picking the wrong one will either lose your data or create a confusing mess.

Key Takeaways

  • Excel's merge cells feature hides data rather than combining it, so you usually want to use formulas or copy-paste instead.
  • Use the CONCATENATE function or the ampersand (&) symbol to join text from two rows into a single cell.
  • To combine rows side by side, copy data from one row and paste it next to the other row, then delete the empty row.
  • If you need to combine data from two rows into one and keep it permanent, convert formulas to values before deleting the original rows.

Combining data from two rows into one using formulas

The safest way to merge row data is to use a formula that pulls information from both rows and puts it in a new location. Open your spreadsheet and click on an empty cell where you want the combined data to appear. Type a formula using CONCATENATE or the ampersand symbol to join cells from your two rows.

For example, if row 1 has a first name in cell A1 and row 2 has a last name in cell A2, you can type =A1&" "&A2 in a new cell to combine them with a space between. The ampersand (&) joins text together, and the quotation marks around the space add a space between the two values. If you have multiple cells to combine across both rows, repeat this formula for each pair of cells you want to merge.

After your formula is complete and shows the combined data correctly, you can delete the original rows if you no longer need them. Before you delete, make sure to convert the formula results to plain text values, or the data will disappear when you remove the rows the formula depends on. Right-click the cells with your formulas, select Copy, then right-click again and choose Paste Special, then click Values Only.

Moving data from one row next to another row

If you want to physically combine two rows by placing one row's data next to the other row's data, start by selecting the entire row you want to move. Click the row number on the left side of the spreadsheet to select the whole row, then right-click and choose Cut.

Click on the row where you want to paste this data. If you want to insert the data into empty columns to the right of your first row, click on the first empty column in that row. Right-click and choose Paste Special, then select All or Values Only depending on whether you need formulas or just the data. The data from your second row now sits next to your first row in the same row.

Once the data is in place and you have verified it is correct, you can delete the now-empty original row. Right-click the empty row number and select Delete to remove it from your spreadsheet.

Using Excel's merge cells feature (and why it is usually not what you want)

Excel does have a built-in merge cells feature, but it works differently than combining row data. When you merge cells, Excel combines the cell space visually but keeps only the data from the top-left cell — all other data in the merged area is deleted. This is useful if you want one cell to span multiple rows for formatting purposes, but it will lose your data if you use it on rows with information in multiple cells.

If you do want to merge cells for visual formatting, select the cells you want to merge, then go to the Home tab and click Merge & Center (or Merge Cells if you do not want centering). A dialog box will appear warning you that only the top-left data will be kept. Click OK only if you have already moved or copied the other data somewhere else.

Combining text from multiple cells in two rows into one cell

If your two rows contain text that you want to join together in a single cell, use the CONCATENATE function or the ampersand method. Click on the cell where you want the combined text to appear. Type =CONCATENATE(A1,B1,A2,B2) to join cells A1, B1 from row 1 with A2, B2 from row 2, or use =A1&B1&A2&B2 for the same result.

Add quotation marks around spaces, commas, or other characters you want between the text pieces. For example, =A1&", "&B1&" - "&A2&", "&B2 will join the cells with commas and dashes between them. Press Enter to see the combined result, then copy this formula down or across to other cells if you need to combine multiple pairs of rows the same way.

Deleting rows after combining their data

Once you have successfully combined the data from two rows and verified that all the information is correct in its new location, you can delete the original rows. If you used formulas to combine the data, convert those formulas to values first by copying the cells, right-clicking, choosing Paste Special, and selecting Values Only. This step is critical — if you delete the original rows before converting formulas to values, your combined data will show an error.

To delete a row, right-click the row number on the left side of the spreadsheet and select Delete. Excel will remove that row and shift all rows below it up one position. If you have multiple rows to delete, select them all at once by clicking the first row number, holding Shift, and clicking the last row number, then right-click and delete them together.

Combining rows with different numbers of columns

If your two rows have data in different columns or different amounts of data, you still have the same options — formulas or copy-paste — but you need to be more careful about where the data ends up. Before you start, look at both rows and decide which columns will hold which data in your final result. Sketch this out on paper or in a separate area of your spreadsheet so you do not accidentally overwrite information.

Use formulas to pull data from specific cells rather than entire rows, so you have full control over where each piece of data lands. For example, if row 1 has data in columns A through C and row 2 has data in columns D through F, you can create a formula that pulls all six columns into a single row in the order you want them. This approach takes longer but prevents data loss and confusion.

Frequently Asked Questions

Will merging cells in Excel combine the data or just the cell space?

Merging cells only combines the visual space — Excel keeps only the data from the top-left cell and deletes everything else in the merged area. If you want to keep all the data from both rows, use formulas or copy-paste instead of the merge feature.

What happens if I delete a row that my formula depends on?

Your formula will show a #REF! error because it cannot find the cells it was supposed to pull data from. Before deleting rows, convert your formulas to values by copying them, right-clicking, choosing Paste Special, and selecting Values Only. This turns the formula results into permanent text that will not change if you delete the original rows.

Can I combine rows that have formulas in them?

Yes, but you need to decide whether you want to combine the formula results or the formulas themselves. If you copy and paste rows with formulas, the formulas will adjust to their new location. If you want to keep the original formula results, use Paste Special and choose Values Only instead of pasting normally.

How do I combine data from more than two rows?

Use the same formula method but add more cell references. For example, =A1&A2&A3&A4 will combine cells from four different rows. You can also nest CONCATENATE functions or use the ampersand method with as many cells as you need.

Is there a way to combine rows without losing the original data?

Yes — use formulas or copy-paste to a new location first, then delete the original rows only after you have verified the combined data is correct. This way you always have a chance to undo if something goes wrong. You can also keep a backup copy of your spreadsheet before making major changes.