Open In App

How to Combine Two Columns in Excel (6 Methods Explained )

Last Updated: 03 Jan, 2025

M

Summarize
Comments
Improve
Suggest changes
Like Article
Like
Share
Report
News Follow

Combining columns in Excel is a vital skill for organizing and analyzing data effectively. Whether you're merging first and last names, combining data points, or creating seamless datasets, there are several techniques to get the job done. This guide explores six efficient methods, including using the CONCATENATE function, the Ampersand (&) operator, and newer tools like TEXTJOIN and Power Query. Learn how to combine two columns while avoiding common pitfalls like overwriting data.

By the end, you’ll have the tools you need to merge Excel columns efficiently and confidently.

Disclaimer: Always ensure you preserve your original data when merging columns to avoid accidental loss of information.

How To Merge Columns in Excel: 6 Different Methods

Combining data from two columns in Excel is simple and can be done using various techniques. Here are six effective ways to combine two columns and organize your data efficiently:

Method 1: Using the CONCATENATE Function

The CONCATENATE function (or the newer CONCAT function) allows you to combine data from two or more columns into one. It’s easy to use by entering a formula like =CONCATENATE(A1, " ", B1) to merge values with a space or other delimiter. This method is perfect for combining text such as names or addresses. Follow the below steps to Combine columns in Excel using the CONCAT Function:

Step 1: Select an Empty Cell

Click on a cell where you want the combined data to appear. Here In the below example, we have selected C2.

image
Select a Blank Cell

Step 2: Enter the Formula

In the Selected Cell, Enter the CONCATENATE Formula

=CONCATENATE(A2, " ", B2)

Or, using the newer CONCAT function:

=CONCAT(A2, " ", B2)

  • A1: First column cell.
  • B1: Second column cell.
  • " ": Adds a space between the values (you can replace it with a comma or any delimiter).
image
Enter the Formula

Step 3: Press Enter

The two cells will be combined.

image
Press Enter

Step 4: Drag the Formula and Preview Result

Use the fill handle to apply the formula to other rows.

image-
Drag the Formula and Preview Result

Method 2: Using the Ampersand (&) Operator

The Ampersand operator (&) is a simple and efficient way to combine data from two columns. By using a formula like =A1 & " " & B1, you can merge values with a space or any delimiter. It works similarly to CONCATENATE but is quicker to type and more intuitive.

Step 1: Enter the Formula

=A2 & " " & B2

image-
Enter the Formula

Step 2: Press Enter and Preview Result

The two columns will merge into one.

image-
Press Enter

Step 3: Drag the Formula

Use the fill handle to apply the formula to other rows.

image
Drag the Formula and Preview Results

Why Use Ampersand

  • It’s easier and faster to type.
  • Works the same as CONCATENATE but requires no function name.

Method 3: Using Flash Fill

Flash Fill is a quick and easy way to combine columns without using formulas. Simply type the desired result in the first row, and Excel automatically detects the pattern. Activate it by pressing Ctrl + E or using Data > Flash Fill to fill in the combined values for the rest of the rows. It’s ideal for small datasets.

Step 1: Enter the Combined Value Manually

In a new column, type the combined value for the first row (e.g., "Miley Barey").

image-
Enter the Combined Value Manually

Step 2: Enable Flash Fill

Go to Data > Flash Fill or press Ctrl + E.

Excel will automatically fill in the combined values for the remaining rows based on the pattern.

image-
Go to Data Tab >>Click on Flash Fill

Advantages:

  • No formulas needed.
  • Simple and quick for small datasets.

Method 4: Using TextJoin Function

The TEXTJOIN function is a powerful way to combine multiple columns or ranges with a specified delimiter. It allows you to include or ignore blank cells, making it more efficient for merging large datasets. Follow the below steps to Merge two columns in excel using TextJoin Function:

Note: TEXTJOIN is available in Excel 2019 (and above), and Microsoft 365.

Step 1: Enter the Formula

=TEXTJOIN(" ", TRUE, A1:B1)

  • " ": Specifies the delimiter (e.g., space, comma).
  • TRUE: Ignores blank cells.
  • A1:B1: Specifies the range of cells to combine.

Step 3: Press Enter

The two columns will merge, ignoring blank cells.

Why Use TEXTJOIN

  • Ideal for merging multiple columns with customizable delimiters.
  • Handles blank cells gracefully.

Method 5: Using Power Query

Power Query is a robust tool for combining columns, especially in large datasets. It allows you to merge columns with custom delimiters directly in the Power Query Editor. After combining, the data is loaded back into Excel, fully formatted and ready to use. This method is ideal for handling complex datasets efficiently. Follow the below steps to combine two Columns in Excel using Power Query:

Step 1: Select Your Data

Highlight the table with the columns to combine.

image
Select Your Data

Step 2: Open Power Query

Go to Data > Get & Transform > From Table/Range.

PowerQuery
Go to Data > Get & Transform > From Table/Range.

Step 3: Select Columns

In the Power Query Editor, select the two columns.

Merge Columns:

  • Click Transform > Merge Columns.
  • Choose a delimiter (e.g., space, comma).
Power-Query2
Transform > Merge Columns.> Select the Delime

Step 4: Load Data Back

Click Close & Load to return the combined data to Excel.

PreviewResults
Load Data Back

Method 6: Using the "Merge" Icon to Merge Columns

The "Merge" feature in Excel combines the content of cells into one, but it has significant limitations, which is why it’s not commonly recommended for merging data columns effectively.

  • Highlight the Cells: Select the range of cells across the columns you want to merge.
  • Go to the Merge Icon: On the Home tab, locate the Merge & Center button.
  • Choose a Merge Option:
    • Merge & Center: Combines the selected cells into one and centers the content.
    • Merge Across: Merges cells in each row individually.
    • Merge Cells: Combines cells without centering the content.

Why This Method Isn’t Commonly Recommended:

  • Only Keeps the First Cell’s Content: When merging cells, Excel retains the content of the first cell and discards the rest, which means it doesn’t actually combine data from multiple cells.
  • No Dynamic Combination: Unlike formulas or functions, the Merge feature does not dynamically update when the data changes.
  • Breaks Table Structure: Merging cells can disrupt sorting, filtering, and referencing in Excel tables, making it unsuitable for structured datasets.
  • Not Reversible Without Data Loss: Unmerging cells does not restore the lost content from other cells.

Common Errors and Solutions When Combining Columns

ErrorCauseSolution
Misaligned DataData in the source columns do not match row by row.Double-check and align the data in the source columns manually.
Overwritten DataCombined results overwrite existing data.Use a separate column to display the combined data to avoid overwriting.
Formula ErrorsIncorrect formula or missing cell references.Verify the formula and ensure all cell references are correct.
Blank Rows in OutputSource columns contain empty cells.Use functions like IF or TEXTJOIN to handle blanks gracefully.
Unwanted SeparatorsMissing or incorrect delimiter.Include the correct separator in the formula, such as " " for a space.

By addressing these issues, you can effectively combine columns without errors in tools like Google Sheets or Excel.

Conclusion

Mastering these six methods for combining two columns in Excel empowers you to handle data more effectively, whether through the simplicity of the Ampersand operator or the versatility of Power Query. Each approach has unique strengths, ensuring flexibility for various scenarios. Experiment with these methods to find the one that suits your needs, and take your Excel skills to the next level.

How to Combine Two Columns in Excel - FAQs

How do I merge two columns in Excel without losing data?

To merge columns without losing data, avoid using the "Merge & Center" feature as it discards all but the first cell's content. Instead, use functions like CONCATENATE or Ampersand (&) to combine values into a new column.

How do I CONCATENATE two columns of data in Excel?

To CONCATENATE two columns:

  • In a new cell, type =CONCATENATE(A1, " ", B1) or use the updated =CONCAT(A1, " ", B1) formula.
  • Press Enter and drag the formula down to apply it to the rest of the rows.
  • This will combine the values from both columns with a space (or any delimiter you choose).

How to combine two columns in Excel with first and last names?

To combine first and last names into a full name:

  • Use the formula =A1 & " " & B1, where A1 is the first name and B1 is the last name.
  • Format the combined column as needed for display.
  • This creates a single column with names like "John Doe".

What is the best function to combine columns in Excel?

The TEXTJOIN function is ideal for combining multiple columns, especially when handling blank cells. Use it like =TEXTJOIN(" ", TRUE, A1:B1) to merge values with a delimiter while ignoring blanks.

Can I merge two columns using the "Merge" icon in Excel?

The "Merge & Center" feature is not recommended for combining data because it discards all but the first cell's content. Use formulas or Flash Fill instead to preserve all data.


M

News
Improve
Discuss
Do you want to advertise with us?Click here to know more

How to Swap Columns in Excel: 3 Methods Explained

article_img
To Swap Columns in Excel - Quick StepsDrag and Drop: Select a column, drag it to a new position, and release.Cut and Paste: Cut a column (Ctrl + X) for Windows and (Cmd + X) for Mac, then paste it in the new location using Insert Cut Cells.Copy and Paste: Copy a column, then insert the copied cells in the new location.Swapping columns in Excel is a powerful yet often overlooked feature that can help you reorganize your data quickly and efficiently. Whether you’re working with large datasets or just need to adjust the layout of your spreadsheet, knowing how to swap columns can save you time and effort. In this article, we’ll show you three different methods to swap columns in Excel. From simply dragging and dropping to using a helper column and even the ‘Cut’ and ‘Insert Cut Cells’ feature, these methods will help you seamlessly reorganize your columns without affecting your data.Table of ContentMethod 1: Using ‘Cut’ and ‘Insert Cut Cells’ to Swap Columns in ExcelMethod 2: Drag-and-Drop to move columns in ExcelMethod 3: Move Columns in Excel using Helper Column Change the Columns Order in Excel using VBAMethod 1: Using ‘Cut’ and ‘Insert Cut Cells’ to Swap Columns in ExcelThe Cut and
Read More

How to Find Correlation Coefficient in Excel: 3 Methods Explained

article_img
Finding the correlation coefficient in Excel is a fundamental skill for anyone working with data analysis, statistics, or business insights. It helps you understand the relationship between two sets of data, indicating whether they are positively or negatively correlated. In this article, you will learn the multiple methods to find the correlation coefficient in Excel, including using the CORREL function, Data Analysis ToolPak, and PEARSON function. These methods apply to Excel 2010, 2013, 2016, 2019, and Office 365. Table of ContentWhat is Correlation in Excel How to Find the Correlation Coefficient in Excel Different Ways to Calculate the Correlation Coefficient in ExcelMethod 1: Using CORREL FunctionMethod 2: Using Data AnalysisMethod 3: Using PEARSON Function Computing Correlation Coefficient in ExcelHow to Troubleshoot Common IssuesPractical Uses of Correlation CoefficientsWhat is Correlation in Excel Correlation is a statistical measure that describes the relationship between two or more variables. It indicates how one variable changes when another variable changes. Correlation can help identify patterns or associations in data and is used widely in fields such as finance, s
Read More

How to Delete Blank Rows in Excel: 7 Methods Explained

article_img
How to Remove Empty Rows in Excel- Quick StepsSelect the data range.Press Ctrl + G >> Click Special >>Choose Blanks >> Click OK.Right-click on any blank cell >>Click Delete >>Choose Entire Row >> Click OK.Deleting blank rows in Excel is crucial for maintaining clean, organized, and easy-to-analyze spreadsheets. Blank rows can cause issues with data analysis, disrupt sorting and filtering, and make your sheet appear cluttered. This guide will walk you through quick and effective methods to identify and remove blank rows, helping streamline your workflow and improve data accuracy. Whether you’re working with large datasets or small tables, learning how to eliminate blank rows in excel ensures your data remains consistent and ready for analysis.Note: Never remove blank rows by simply selecting blank cells and deleting them without caution, as this can lead to unexpected data shifts and potential errors in your Excel spreadsheet.Table of Content7 Easy Methods to Eliminate Blank Rows in ExcelMethod 1: How to Remove Empty Rows in Excel (Single Row)Method 2: How to Remove Multiple Blank Rows in Excel using Filter OptionMethod 3: Shortcut to Remove Multi
Read More

How to Split Cells in Excel: Easy Methods Explained

article_img
How to Separate a Cell in Excel- Quick StepsOpen MS Excel>>Select Data Go to the Data tab>>Click Text to Columns.Choose Delimited and click NextSplitting cells in Excel can simplify data management, especially when dealing with combined information in a single column or cell. Whether you’re separating names, dates, or other data points, understanding how to split cells in Excel is essential for better organization and clarity.This guide will show you how to break up cells in Excel using different methods. By the end, you'll know how to split cells horizontally, divide a cell in Excel for better Management.Table of ContentWhat Does Splitting Cells in Excel MeanHow to Split Cells in Excel Using Text to Columns - 2 MethodsHow to Split Cells in Excel Using FormulasHow to Split Cells in Excel Using Flash Fill - 2 MethodsHow to Split Cells in Excel Using Power QueryHow to Divide a Cell in Excel in Excel Using Text Functions in ExcelCommon Use Cases for Splitting Cells in ExcelWhat Does Splitting Cells in Excel MeanSplitting a cell in Excel involves dividing its content into multiple cells or columns. For instance, you can:Separate first and last names.Break product categories
Read More

How to Add a Signature in Excel: 2 Methods Explained

article_img
Adding a signature in Excel is a simple yet impactful way to authenticate your documents, enhance professionalism, and streamline approvals. Whether you're working on contracts, invoices, or reports, inserting a digital or handwritten signature in Excel ensures your files are credible and personalized. This article provides a step-by-step guide on how to add a signature in Excel, catering to users who want a quick and reliable method for signing their spreadsheets. No matter your level of expertise, you’ll learn how to enhance your documents with ease.Disclaimer: Always ensure the authenticity of the signature you are using to maintain security and avoid potential misuse.Methods to Add a Signature in ExcelHere are two simple methods to add a signature to your Excel sheet:Method 1: Adding a Signature LineA signature line allows you to add a designated space for a visible signature in your Excel file, often used for formal or professional documents. Here's how you can create and use a signature line:Step 1: Open the Excel DocumentOpen the Excel DocumentSelect the Cell, where you want to insert the SignatureOpen the Excel DocumentStep 2: Insert a Signature LineGo to the Insert tab on
Read More

How to Add Fonts to Google Docs in 2024: All Methods Explained

article_img
Add More Fonts to Google Docs - Quick StepsOpen Google Docs > Open any DocClick Fonts > Select More Fonts Choose a Font > Click OkAre you tired of using the same default fonts in Google Docs? Want to know how to add fonts to Google Docs to make your documents stand out? Whether you're working on a creative project, a school report, or a professional document, adding custom fonts to Google Docs can greatly enhance the look and feel of your work. In this article, you will learn how to add a font to Google Docs, as well as how to add fonts to Google Slides, making your presentations just as unique. Remember, changing font style and size can significantly impact the readability and aesthetics of your text, so choosing the right font is key.How to Add Fonts to Google DocsTable of ContentHow to Add New Fonts to Google DocsHow to Change the Font in Google DocsHow to Add Fonts in Google Docs Using Add-OnsHow to Add Font in Google Docs on Mobile Why Add Fonts to Google DocsGoogle Docs offers a selection of fonts by default, but what if you need more variety? Knowing how to add more fonts on Google Docs can elevate your documents and allow for more creativity and customization. Chan
Read More

How to Add Bullet Points in Google Sheets: 4 Methods Explained

article_img
Add Bullet Point In Google Sheets – Quick Steps Open Google Sheets >> Select a document Double-click on the cell Press Alt + 7 (Windows) or Option + 8 (Mac)Type your text >> Press Enter Adding bullet points in Google Sheets can significantly improve the readability and structure of your data. Whether you're organizing lists, categorizing information, or highlighting important details, bullet points help make your content more visually engaging and easier to understand. While Google Sheets doesn’t have a built-in bullet point feature, there are several practical ways to include them, such as using keyboard shortcuts, the CHAR function, or custom number formatting. This guide covers easy methods to add and customize bullet points to make your spreadsheet data stand out.Remember to adjust cell formatting as needed to maintain a clean, professional appearance. Add Bullet Points in Google SheetsMethods to Insert Bullet Points in Google Sheets There are several ways to insert bullet points in Google Sheets, each with its own advantages. Let’s get into the most effective methods:Method 1: Copy and Paste Bullet PointsOne of the simplest ways to add bullet points in Google Sheet
Read More

How to Number Rows in Google Sheets: 5 Methods Explained

article_img
Numbering rows in Google Sheets can be done quickly to help organize and reference data efficiently. This guide will walk you through simple ways to automatically or manually number rows, making it easier to track, sort, and analyze data in your spreadsheets. Whether you’re creating a list, managing inventory, or preparing reports, this step-by-step approach ensures accurate row numbering without hassle.How to Number Rows in Google SheetsTable of ContentHow to Auto-Number Rows in Google SheetsHow to Number Rows Using Fill HandleHow to Use the ROW Function to Number RowsHow to Number Rows in Excel Using COUNTA FunctionAdding 1 to the Previous Serial numberUsing the SEQUENCE Function for Automatic Row NumberingHow to Auto-Number Rows in Google SheetsTo automatically number rows in Google Sheets, you can use these methods:Method 1: Using Fill HandleMethod 2: Using ROW() Function Method 3: Using COUNTA() Function Method 4: Adding 1 to the Previous NumberMethod 5: Using SEQUENCETIAL number FormulaHow to Number Rows Using Fill HandleThis is the easiest way to add serial numbers.Let's understand by an example suppose you want to add serial numbers in column A.Follow the steps below to fil
Read More

How to Highlight Text in PowerPoint: 3 Easy Methods Explained

article_img
How to Highlight Words in PowerPoint: Quick StepsOpen PowerPoint >> Select Text Home Tab >> Click the Highlight Button Choose the Highlight ColorPowerPoint presentations are often used to convey important information quickly and clearly. Highlighting key words or phrases in your slides can help emphasize the most important points and guide your audience's attention. Whether you're presenting for business, education, or personal projects, mastering how to highlight words in PowerPoint can make your slides more engaging and impactful.In this guide, we’ll walk you through the different ways you can highlight text in PowerPoint, from using built-in highlighting tools to customizing your own text effects.How to Highlight Text in PowerPointTable of ContentHow to Highlight Text in PowerPoint: Different MethodsMethod 1: Use the Text Highlight Tool (PowerPoint 2019 and Office 365)Method 2: Use Shapes for Highlighting (All PowerPoint Versions)Method 3: Apply Text Effects for EmphasisHow to Highlight Text in PowerPoint: Different MethodsWhile PowerPoint doesn’t have a native highlighter tool like Word, there are several ways to effectively highlight text. Let’s look at the most co
Read More

How to Compare Two Columns in Excel : Easy and Quick Methods

article_img
In the world of data analysis, knowing how to compare two columns in Excel is a fundamental skill that can unveil valuable insights and ensure data accuracy. If you're looking to spot differences, find duplicates, or identify similarities, mastering Excel's compare columns functionality is key. This article will walk you through effective methods on how to compare two columns in Excel, exploring techniques to streamline your workflow and make informed decisions. By the end, you'll be equipped with the knowledge to confidently manage and analyze your data using Excel compare two columns features. Let's explore and learn the power of data comparison!How to Compare Two Columns in ExcelTable of ContentWhy Compare Two Columns in ExcelHow to Compare Two Columns in ExcelCompare Two Columns in Excel using Conditional FormattingHighlight Unique DataCompare Two Columns in Excel Using Equals OperatorCompare Two Columns in Excel Using the IF Condition Using the Lookup Function to Compare Two ColumnsWhy Compare Two Columns in ExcelExcel is a versatile tool that stores data and manipulates data for better decision-making. We are required to compare Excel columns data for the following reasons:To
Read More
three90RightbarBannerImg