Combine cells in Excel (Table of Contents)
Introduction to Combine Cells in Excel
Combine cells in excel is used to combine the 2 or more cell values in a single cell. For this, choose the cells which we need to combine. Go to the cell where we want to see the outcome. Now press equal sign and select both the cells separated by the ampersand (“&”) sign. For example, if we want to combine cell A1 and A2, then the combine cell formula will look like ”=A1&A2”. We can use any text in the cell quoting it in inverted commas and then selecting a cell separated by an ampersand.
This function is mainly used to combine values from more than one cell to display data in a more useful form, as in the case of the below example.
Concatenate function is different from using the function of the merged cell as the function of the merged cell will combine only cells and not the data of the cells. If we merge cells, then we only physically merge the cells and not the data as in the below case, where only the cells are merged and not the data.
Examples of Combine cells in Excel
Below are the different examples to combine cells in Excel:
- Combine cells in excel without spaces
If we want to combine cells without any spaces, we can simply use “&” to combine cells below.
This is the result of combining cells without any spaces, which is shown below.
- Combine cells in excel with space
We can add space after the content of the first cell by simply adding the space in double Quotes.
This is the result of combined cells with space which are shown below
- Combine cells in excel with a line break
A line break can be added by specifying the character value of a line break that is 10.
This is the result of combined cells with a line break, which are shown below.
- Combine cells in excel with static Text.
This is the result of combined cells with static Text, which is shown below
- Combining a date and text
A date cannot be combined with a text in a cell; this can be only done by using the Text function of Excel.
This is the result of combining date and text, which is shown below
- Combining data with a comma.
This is the result of combining data with a comma which is shown below
When it comes to combining the cells than the concatenate function is the easiest way to combine the data into one cell. This function can save from working overnight by quickly combining the data from the cells.
Concatenate function can be used by the formula or by simply using the “&” sign. The data that can be combined from the cells can be in any form; it may be
- Special characters
By using the concatenate function, the data can be easily combined into one cell, as shown in the above examples. The only difference is that the concatenate function comes with a limitation of 255 characters. However, there is no such restriction when it comes to using the symbol “&” for combing the data.
How to Use Combine cells in Excel
Combining cells can be done in any way; this can be done via the formula of concatenating or using the symbol of “&.”
Method 1st by using the function of concatenating.
- Step 1st
First, select the cell where you want the combined data to be displayed.
- Step 2nd
Go to the ribbon and select the option of formulas and then select the option of insert function.
- Step 3rd
Simply type the formula name and click on ok to insert the formula of concatenate.
- Step 4th
Give the reference of the cells from where the data is to be combined and click on Ok.
- Step 5th
This is to show how Concatenate function is used in the cell where you want the combined data.
Below is the result of the function and combined data.
Method 2nd by using the “&”.
“&” can be simply used to combine the data if in case the concatenate function is not used.
- Step 1st
Begin typing with the “=” sign and then select the first part of the text. Now insert “&” and then select the next part of the text and click enter.
- Step 2nd
Below will be the output after enter is pressed.
Things to Remember
- If we are using the concatenate function of Excel, then this is required that there is at least one text argument that is given to the function.
- This should be remembered that Excel has its own limits; this means that a maximum of 255 strings can be combined by using the concatenate function, or they should not be not more than 8,192 in characters.
- Even if we are combing the cells that have numbers, date or any format, the result will always be text.
- Combining cells via concatenating will not work if we are giving array reference to the formula of concatenating. This means that the cells references should be entered individually instead of giving an array to the function.
This means that to combine the cells from A1 to A5; we must write the formulas as
= concatenate (a1, a2, a3,a4,a5) and not as =concatenate(A1: A5)
- If any of the cells that are ought to be combined has an error, then the result will be an error. For example, if cell A1 has an error and we have given reference to this cell in any of the concatenate formula, then the result will be an error. So this is important to note that no cell that is ought to be combined has the error.
- If in case a cell has a date and we want to combine this cell with any other cell, then, in this case, we have to use the “text” function of Excel. A cell that has the date in it cannot be combined by simply using the concatenate; this is because the end result of concatenating is a text.
- Combing the cells via merged cells options will only combine the cells and not the data that is in the cells. This is because the merged cells option only physically combines the cells and is not meant to combine the data of the cells.
- A static text that is to be used while combing the data should be enclosed in Quotation marks; else, the formula will be an error. For example, we must write “= concatenate (“text”, A1)” instead of writing “=concatenate(text, A1).
This has been a guide to Combine cells in Excel. Here we discuss the Combine cells in Excel and how to use the Combine cells in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –