The excel CONCAT function combines all data; it could be a text, a number or a date. The result remains a text.
The advantage of the CONCAT function compared to the CONCATENATE function is allowing you to use the range address in the text argument. No need to type every cell address, just the range address.
CONCAT(text1, [text2],…)
text1, required, the first value to combine, you can use a range reference containing a text, a number or a date.
text2, optional, additional value to combine, handle up to 255 values and no more than 8,192 characters in a result.
The image below is an example of the CONCAT function usage and the results.
=CONCAT(A2:C2)
The result is redgreenblue. You can use the range address and make a simpler formula.
=CONCAT(A3," ",B3," ",C3)
The CONCAT function is unable to add a word separator. You have to type one by one if you want. In this condition, the CONCAT function is no different from the CONCATENATE function.
Use the excel TEXTJOIN function if you want a word separator without having to type it one by one.
=CONCAT(A4:C4)
You can combine a text lotus and a number 123. The result remains a text, lotus123.
=CONCAT(A5:C5)
You can combine several numbers too (not add up) using the range address, the result is an alphanumeric 123456.
=CONCAT(A6:C6)
Why does a date 8/17/1945 when a combined change to 16666?
Excel stores date values in an integer number. The date 8/17/1945 is the result of an integer number formatted using mm/dd/yyyy date format, when combined using the CONCAT function the original value appears.
Read the article below for a more detailed explanation of how dates and times are stored in Excel.
Calculate Number of Days Between Two Dates Excel has a function that calculates the number of days between two dates,…
What is Flash Fill Excel Flash Fill automatically fills your data when Excel detects a pattern in your initial data…
What is Paste Special Paste special is a paste but you can choose the result type. As we all know,…
What is the Excel TEXTJOIN Function? The excel TEXTJOIN function is the best function to concatenate strings in Excel, has…
What is the Excel CONCATENATE Function? The excel CONCATENATE function combines text or numbers into a text. CONCATENATE Syntax CONCATENATE(text1,…
What is the Excel REPLACE Function? The excel REPLACE function replaces the text based on a predetermined position. REPLACE Syntax…