How to Combine Columns in Excel Without Losing Data

Download Article
With or without formulas, add text from two columns in just a few clicks
Download Article

Do you want to merge two columns in Excel without losing data? There are three easy ways to combine columns in your spreadsheet—Flash Fill, the ampersand (&) symbol, and the CONCAT function. Unlike merging cells, these options preserve your data and allow you to separate values with spaces and commas. This How.com.vn guide will teach you how to combine columns in Microsoft Excel.

How to Combine Two Columns in Excel

  • Use flash fill by combining the data in the two columns in a third column and press Enter to teach Excel the combination pattern.
  • In an empty cell, type = followed by the first cell, then add &" " followed by the second cell to combine them manually.
  • Combine cells using the formula =CONCAT(x," ",y) where x and y are the cells you want to combine.
Method 1
Method 1 of 3:

Using Flash Fill

Download Article
  1. How.com.vn English: Step 1 Know when to use Flash Fill.
    Flash Fill is the fastest way to combine the values of two columns (such as columns of separated first and last names). You'll teach Flash Fill how to merge the data by typing the first merged cell yourself (e.g., FirstName LastName). Flash Fill will sense the pattern and fill out the rest of the column.[1]
    • The two columns you're combining must be next to each other to use Flash Fill.
    • Don't use Flash Fill if any of the following is true for your data (use the ampersand symbol or the CONCAT function instead):
      • The columns you want to combine aren’t consecutive (e.g., combining columns A and F).
      • You want to be able to make changes to the original columns and have those change automatically update in the merged column.
  2. How.com.vn English: Step 2 Add a blank column next to the columns you want to combine.
    In this example, let's say column A contains first names, column B contains last names, and that we want column C to contain first and last names combined. If column C isn't blank right now, right click the C column header and select Insert from the menu.
    Advertisement
  3. How.com.vn English: Step 3 Type the full name into the first cell in column C.
    For example, if A1 contains Joe and B1 contains Williams, type Joe Williams into C1.[2]
    • Flash Fill can detect all sorts of patterns. For example, if column A contains area codes and column B contains phone numbers, you could type the area code and phone number into column C.
    • You can even separate the contents of the columns with words or symbols, as long as you don't make the pattern too hard for Excel to understand. For example:
      • A1 contains the area code 212 and B1 contains 555-1212, you could type (212) 555-1212 into column C and Excel should sense the pattern.
  4. How.com.vn English: Step 4 Press ↵ Enter or ⏎ Return.
    This teaches Flash Fill the pattern.[3]
  5. How.com.vn English: Step 5 Start typing the next combined name into C2.
    As you type, you'll see that Excel suggest the next combination automatically.[4]
    • For example, if A2 is Maria and B2 is Martinez, Excel will suggest Maria Martinez.
  6. How.com.vn English: Step 6 Press ↵ Enter or ⏎ Return.
    This automatically combines the remaining cells from columns A and B into a single merged column C. You don't even have to drag down a formula—the two columns are now merged into one.[5]
    • If the column does not fill, press Control + E on the keyboard to activate Flash Fill manually.
    • You can safely delete the original two columns if you'd like. The new column doesn't contain any formulas, so you won't lose the merged data.
  7. Advertisement
Method 2
Method 2 of 3:

Using the Ampersand Symbol

Download Article
  1. How.com.vn English: Step 1 Click an empty cell near the columns you want to combine.
    This should be on the same row as the first row of data in the columns you're combining.[6]
    • Using the Ampersand & is another easy way to combine two columns. You'll create a simple formula using & symbols into the first cell, and then apply your formula to the rest of the data to merge the whole column.
  2. How.com.vn English: Step 2 Type an equals sign = into the blank cell.
    This begins the formula.[7]
  3. How.com.vn English: Step 3 Click the first cell in the first column you want to join.
    For example, if you're combining columns A and B, click A1. This adds the cell address to your formula.
  4. Step 4 Type &" ".
    Place a single space between the two quotation marks. This tells the formula to add a space between the contents of the two columns.[8]
    • For example, if column A contains first names and column B contains last names, the " " ensures a space between the first and last names in the new column (e.g., "Joe Williams" instead of "JoeWilliams."
  5. How.com.vn English: Step 5 Type another &.
    This time, don't add any quotes or spaces.
  6. How.com.vn English: Step 6 Click the first cell in the second column you want to merge.
    Now you'll have a formula that looks something like this: =A1&" "&B1.[9]
    • If you'd rather there not be a space between the words in the merged column, the formula would eliminate the " " and the second ampersand like this: =A1&B1
    • You could also place a symbol, word, or phrase inside of the quotes if you want to insert something between the two joined cells.
  7. How.com.vn English: Step 7 Press ↵ Enter or ⏎ Return.
    You've now merged the contents of the two cells at the top of each column.
  8. How.com.vn English: Step 8 Click and drag the formula down the column.
    This merges the rest of the two columns.
    • You can either click the cell and drag its bottom-right corner to the bottom of the columns, or double-click the square at the bottom-right corner of the cell to use autofill.
  9. How.com.vn English: Step 9 Convert the merged column into plain text.
    Because you used a formula to merge the two columns, the new column is just formulas, not text. If you want to delete the original columns and just keep the merged column, you'll need to do this to avoid losing data:
    • Select all the combined data you've created. For example, C1:C30.
    • Press Control + C (PC) or Command + C (Mac) to copy it.
    • Right-click the first cell in the column you just copied.
    • Select Paste Special and choose Values.
  10. Advertisement
Method 3
Method 3 of 3:

Using the CONCAT Function

Download Article
  1. How.com.vn English: Step 1 Click an empty cell near the columns you want to combine.
    This should be on the same row as the first row of data in the columns you're combining.
  2. How.com.vn English: Step 2 Type =CONCAT( into the blank cell.
    This begins the CONCAT formula.[10]
    • If you're using a version of Excel from before 2019, use CONCATENATE instead of CONCAT.[11]
  3. How.com.vn English: Step 3 Click the first cell in the first column you want to join.
    For example, if you're combining columns A and B, click A1. This adds the cell address to your formula, which should now look something like this: =CONCAT(A1.
  4. Step 4 Type ," ",.
    Typing the first comma separates the first cell from " ", which adds a space between the two values. The second comma prepares you to select the second cell you're merging.[12]
    • You should now have a formula that looks something like this: =CONCAT(A1," ",
  5. How.com.vn English: Step 5 Click the first cell in the second column you want to merge and type a closed parenthesis ).
    Now you'll have a formula that looks something like this: =CONCAT(A1," ",B1).[13]
    • You could also place a symbol, word, or phrase inside of the quotes if you want to insert something between the two joined cells.
    • Alternatively, if you want the merged text to appear without a space (e.g., JoeWilliams instead of Joe Williams), you could change the formula to =CONCAT(A1,B1).
  6. How.com.vn English: Step 6 Press ↵ Enter or ⏎ Return.
    This creates the formula and joins the two cells at the top of the columns.
  7. How.com.vn English: Step 7 Click and drag the formula down the column.
    This merges the rest of the two columns.
    • You can either click the cell and drag its bottom-right corner to the bottom of the columns, or double-click the square at the bottom-right corner of the cell to use autofill.
  8. How.com.vn English: Step 8 Convert the merged column into plain text.
    Because you used a formula to merge the two columns, the new column is just formulas, not text. If you want to delete the original columns and just keep the merged column, you'll need to do this to avoid losing data:
    • Select all the combined data you've created. For example, C1:C30.
    • Press Control + C (PC) or Command + C (Mac) to copy it.
    • Right-click the first cell in the column you just copied.
    • Select Paste Special and choose Values.
  9. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 88,801 times.
      How helpful is this?
      Co-authors: 5
      Updated: May 17, 2024
      Views: 88,801
      Article SummaryX

      1.Add a blank column to the right of the two columns you're merging.
      2.Use Flash Fill to manually type the first combined cell and automatically fill the rest.
      3.Use the & or CONCAT function to create a formula that joins any two columns.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 88,801 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement