Syntax
=CONCAT(text1, [text2], ...)Arguments
| Argument | Required | Description |
|---|---|---|
text1 | Required | A text, value or range |
text2 | Optional | More texts, values or ranges |
How to use CONCAT
CONCAT takes 1 required argument and 1 optional argument, and accepts more values in the same pattern. Type =CONCAT( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=CONCAT("The", " ", "sun")Result =CONCAT({"a","b";"c","d"})Result =CONCAT(A1:A3)Result Data in the sheet
| A | |
|---|---|
| 1 | x |
| 2 | 1 |
| 3 | y |
Related text functions
- BAHTTEXTConverts a number to Thai text and adds the suffix Baht.
- CHARReturns the character for a code number from 1 to 255.
- CLEANRemoves nonprinting characters (codes 0 to 31) from text.
- CODEReturns the code number of the first character of a text.
- CONCATENATEJoins several texts into one.
- DBCSChanges half width (single byte) letters, digits and katakana to full width (double byte) characters.
- DOLLARFormats a number as currency text, rounded to the given number of decimals.
- EXACTChecks whether two texts are exactly the same, including upper and lower case.
- FINDReturns the position of one text inside another, matching upper and lower case exactly.