Data in financial models are sometimes not organized and presented according to a user’s needs. Sometimes to combine cells in Excel containing numbers and text into one cohesive content is necessary for analysis. Combining names, addresses, ID or codes, etc. are common examples. To combine cells in Excel are useful in providing a customized description or details of numeric variables and can also serve as a guide for users to properly interpret the results from the financial model.
Two ways to combine cells in Excel containing text and numbers are Concatenate Excel function and the & operator in Excel. In this article, we will discuss how to use both, how these differ, and which one to use best.
Combine Cells In Excel With Concatenate Excel Function
What Is The Concatenate Excel Function
The Concatenate Excel function is found in the Formulas tab under Text Functions. It is designed to combine cells in Excel into one text string.
Syntax Of The Concatenate In Excel Formula
Text1 A required argument representing the first text value, numerical value, or cell reference to combine.
[Text2],… An optional argument representing the additional text value, numerical value, or cell reference to combine.
You are allowed to combine cells in Excel up to 255 strings.
Examples Of Concatenate In Excel Formula
Combine Cells In Excel With Ampersand (&) Operator In Excel
Excel Operators identify the type of calculation performed for a set of values. Typical operators used are Arithmetic Operators (such as addition + and subtraction -) and Logical Operators (such as greater than > and less than <).
There is also an operator to combine cells in Excel or a Concatenation Operator. To join multiple cells and values, use the Ampersand (&) Operator in Excel.
Examples Using The Ampersand (&) Operator in Excel
Which Should You Use To Combine Cells In Excel?
Comparing the results of the Concatenate Excel function and the Ampersand (&) Operator in Excel, both have identical results. Both serve the same purpose.
So, which one is best to use?
The only difference between the Concatenate Excel function and the Ampersand (&) Operator in Excel is the 255 text string limit when using the Concatenate in Excel Formula. Other than that, it is a matter of personal choice.
Some users prefer using the Concatenate Excel function as the formula has more structure and is clearer to follow. Other users prefer the (&) Operator in Excel as it is simpler and easier- there is no need to type any function name.
Combine Cells In Excel With Different Number Formats
When combining cells in Excel using the Concatenate in Excel formula and Ampersand (&) Operator in Excel the formatted numbers will be converted into a text string. So any number format such as a currency sign, decimal points, date format, etc. will be lost.
Concatenate in Excel formula converts numerical values to text values
Ampersand (&) Operator in Excel converts numerical values to text values
To combine cells in Excel with number formats, use the Text function under the Text Functions group.
Syntax of the Text Function
Value Required argument representing the value to convert to a specific number format
Format_text Required argument representing the specific number format to convert to
Applying the Text function to TEXT2 argument in the Concatenate in Excel formula will give us the results below.
Applying the Text function with the Ampersand (&) Operator in Excel will give us the same results.
Key Facts When Combining Cells In Excel
- Text values must always be enclosed in double-quotes including inserting spaces, commas, and special characters otherwise the #NAME? error appears.
- Numerical values, on the other hand, do not require to be enclosed in double-quotes.
- The Concatenate Excel function and the Ampersand (&) operator in Excel always convert combined cells and values into text strings. Both produce the exact same result.
- When combining cells in Excel with number formats, use the Text Function to convert text strings into the appropriate number format.