How to Use the CONCATENATE Function in Excel

Today, we’ll delve into the CONCATENATE function in Excel and Google Sheets. This function is designed to merge the contents of two or more cells into a single cell.

Basic Syntax

The syntax for the CONCATENATE function in Excel is:

=CONCATENATE(text1, [text2], ...)

Although Google Sheets supports the same CONCATENATE function, it’s generally advisable to use the “&” operator for concatenation:

=text1 & [text2] & ...

Examples of Usage

To better understand the CONCATENATE function’s application in Excel and Google Sheets, let’s examine a few practical examples.

Example 1: Basic Concatenation

In this scenario, we have a first name in cell A2 and a last name in cell B2. Our goal is to concatenate these two cells to display a full name in cell C2.

A B C
First Name Last Name Full Name
John Doe =CONCATENATE(A2, ” “, B2)

In Google Sheets, the equivalent formula is:

=A2 & " " & B2

Example 2: Concatenating with Line Break

At times, you might need to concatenate text with a line break between elements. For instance, to display an address over multiple lines, you would concatenate the components line by line.

A B C
Street City Address
123 Main St Springfield =CONCATENATE(A2, CHAR(10), B2)

The corresponding formula in Google Sheets is:

=A2 & CHAR(10) & B2

These illustrations showcase how the CONCATENATE function in Excel and Google Sheets can be effectively used to combine names, addresses, or other text-based data with ease.

With this understanding, you can begin applying the CONCATENATE function in your spreadsheets, simplifying the way you manipulate and present data.

More information: https://support.microsoft.com/en-us/office/concatenate-function-8f8ae884-2ca8-4f7a-b093-75d702bea31d

Other functions
Returns an array of text values from any specified range
Vrátí matici textových hodnot z libovolné zadané oblasti
Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters
Změní znaky s plnou šířkou (dvoubajtové) v řetězci znaků na znaky s poloviční šířkou (jednobajtové)
Converts a number to text, using the ß (baht) currency format
Převede číslo na text ve formátu měny ß (baht)
Vrátí určitý počet znaků textového řetězce počínaje zadaným místem
Returns the character specified by the code number
Removes all nonprintable characters from text
Returns a numeric code for the first character in a text string
Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments
Spojí texty z několika oblastí nebo řetězců Nenabízí ale argumenty Oddělovač a Ignorovat_prázdné
Spojí několik textových položek do jedné
Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters
Změní znaky s poloviční šířkou (jednobajtové) v řetězci znaků na znaky s plnou šířkou (dvoubajtové)
Converts a number to text, using the $ (dollar) currency format
V textovém řetězci nahradí starý text novým
Checks to see if two text values are identical
Finds one text value within another (case-sensitive)
Formats a number as text with a fixed number of decimals
Najde textovou hodnotu uvnitř jiné (a nerozlišují se malá a velká písmena)
Převede textový argument na číslo
Zformátuje číslo a převede ho na text
Changes half-width (single-byte) characters within a string to full-width (double-byte) characters
Změní znaky s poloviční šířkou (jednobajtové) v řetězci na znaky s plnou šířkou (dvoubajtové)
Převede číslo na text ve formátu měny Kč (česká koruna)
Vrátí číselný kód prvního znaku zadaného textového řetězce
Returns the leftmost characters from a text value
Returns the number of characters in a text string
Converts text to lowercase
Převede text na malá písmena
Returns a specific number of characters from a text string starting at the position you specify
Nahradí znaky uvnitř textu
Najde textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena)
Converts text to number in a locale-independent manner
Převede text na číslo způsobem nezávislým na národním prostředí
Zopakuje text podle zadaného počtu opakování
Extracts the phonetic (furigana) characters from a text string
Odstraní z textu mezery
Capitalizes the first letter in each word of a text value
Replaces characters within text
Repeats text a given number of times
Returns the rightmost characters from a text value
Finds one text value within another (not case-sensitive)
Zkontroluje, jestli jsou dvě textové hodnoty shodné
Substitutes new text for old text in a text string
Converts its arguments to text
Převede argumenty na text
Formats a number and converts it to text
Combines the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will be combined If the delimiter is an empty text string, this function will effectively concatenate the ranges
Zkombinuje text z více oblastí a/nebo řetězců a zahrnuje oddělovač, který zadáte mezi každou textovou hodnotu, která se bude spojovat Pokud je oddělovač prázdný textový řetězec, pak tato funkce jednotlivé oblasti přímo zřetězí
Removes spaces from text
Returns the Unicode character that is references by the given numeric value
Vrátí znak unicode, na který odkazuje daná číselná hodnota
Returns the number (code point) that corresponds to the first character of the text
Vrátí číslo (bod kódu), které odpovídá prvnímu znaku textu
Converts text to uppercase
Converts a text argument to a number
Returns text from any specified value
Vrátí text ze zadané hodnoty
Převede text na velká písmena
Převede první písmeno každého slova textové hodnoty na velké
Odebere z textu všechny netisknutelné znaky
Zformátuje číslo jako text s pevným počtem desetinných míst
Vrátí znak určený číslem kódu
Vrátí první znaky textové hodnoty umístěné nejvíce vpravo
Extrahuje fonetické znaky (furigana) z textového řetězce