

The TEXT function converts a numeric value to text and combines numbers with text or symbols.įor example, if cell A1 contains the number 23.5, you can use the following formula to format the number as a dollar amount:All average avg chunk chunkWhile collapse collect combine concat contains containsOneItem containsStrict count countBy crossJoin dd diff diffAssoc diffKeys doesntContain dump duplicates duplicatesStrict each eachSpread every except filter first firstOrFail firstWhere flatMap flatten flip forget forPage get groupBy has hasAny implode intersect intersectByKeys isEmpty isNotEmpty join keyBy keys last lazy macro make map mapInto mapSpread mapToGroups mapWithKeys max median merge mergeRecursive min mode nth only pad partition pipe pipeInto pipeThrough pluck pop prepend pull push put random range reduce reduceSpread reject replace replaceRecursive reverse search shift shuffle skip skipUntil skipWhile slice sliding sole some sort sortBy sortByDesc sortDesc sortKeys sortKeysDesc sortKeysUsing splice split splitIn sum take takeUntil takeWhile tap times toArray toJson transform undot union unique uniqueStrict unless unlessEmpty unlessNotEmpty unwrap value values when whenEmpty whenNotEmpty where whereStrict whereBetween whereIn whereInStrict whereInstanceOf whereNotBetween whereNotIn whereNotInStrict whereNotNull whereNull wrap zip Use the TEXT function to combine and format strings. Learn more about using operation calculators. In many cases, using the ampersand operator is quicker and simpler than using CONCATENATE to create strings. The ampersand (&) calculation operator lets you join text items without having to use a function.įor example, =A1 & B1 returns the same value as =CONCATENATE(A1,B1). Use the ampersand & character instead of the CONCATENATE function. #NAME? usually means there are quotation marks missing from a Text argument. The #NAME? error appears instead of the expected result. The string "Hello " has an extra space added. For example: =CONCATENATE("Hello ", "World!"). For example: =CONCATENATE("Hello", " ", "World!").Īdd a space after the Text argument. There are two ways to do this:Īdd double quotation marks with a space between them " ". Add extra spaces as part of the CONCATENATE formula. Without designated spaces between separate text entries, the text entries will run together. Numbers don't need to have quotation marks.

For example: Excel will display =CONCATENATE("Hello ""World") as Hello"World with an extra quote mark because a comma between the text arguments was omitted. Use commas to separate adjoining text items. Joins the same items as the previous example, but by using the ampersand ( &) calculation operator instead of the CONCATENATE function. Joins three things: the string in cell B3, a string consisting of a space with ampersand and another space, and the value in cell C3. Joins three things: the string in cell C2, a string with a comma and a space character, and the value in cell B2. Joins three things: the string in cell B2, a space character, and the value in cell C2. The result is Stream population for brook trout species is 32/mile. To use these examples in Excel, copy the data in the table below, and paste it in cell A1 of a new worksheet.Ĭreates a sentence by joining the data in column A with other text. You can have up to 255 items, up to a total of 8,192 characters. The item can be a text value, number, or cell reference.Īdditional text items to join. =CONCATENATE("Stream population for ", A2, " ", A3, " is ", A4, "/mile.") This is because CONCATENATE may not be available in future versions of Excel. Although the CONCATENATE function is still available for backward compatibility, you should consider using CONCAT from now on. Important: In Excel 2016, Excel Mobile, and Excel for the web, this function has been replaced with the CONCAT function.
