Are you tired of switching between text and numerical data in Excel? Did you know you can combine them in a single cell? Yes, you heard it right! Excel allows you to display both text and formula results in the same cell. Let's explore how you can achieve this with a simple trick.
Understanding the TEXTJOIN Function
The TEXTJOIN function in Excel is your key to combining text and formula results in one cell. Introduced in Excel 2016 and later versions, TEXTJOIN concatenates text strings and ignores empty cells. It's similar to the CONCATENATE function but with an added twist: it can join ranges of cells, not just individual cells.
Here's the syntax of the TEXTJOIN function:

TEXTJOIN(delimiter, ignore_empty, text1, text2, ...)
- delimiter: The character or string to place between joined text. Default is a comma and a space (", ")
- ignore_empty: A logical value (TRUE or FALSE) that specifies whether to ignore empty cells. TRUE ignores empty cells, FALSE includes them.
- text1, text2, ...: The text strings or references to cells containing text to join.
Combining Text and Formula Results in One Cell
Now, let's see how to use TEXTJOIN to combine text and formula results in the same cell. Suppose you have the following data in cells A1 to A4:
| Name | Age | Country |
|---|---|---|
| John | 30 | USA |
| Jane | 25 | Canada |
| Mike | 35 | UK |
You want to display the name, age, and country in a single cell, like this:

John (30 years old), USA
To achieve this, use the following formula in cell B1:
=TEXTJOIN(", ", TRUE, A1, "("&A2&" years old)", A3)
Here's how the formula works:
A1: Joins the name (text)"("&A2&" years old)": Joins the age (formula result) with some text around itA3: Joins the country (text)
The TEXTJOIN function ignores the empty cell in row 4, so it doesn't include any unwanted spaces in your result.
Using TEXTJOIN with a Range of Cells
TEXTJOIN can also join a range of cells. For example, if you want to combine the names, ages, and countries of all individuals in the list, use the following formula in cell B5:
=TEXTJOIN(", ", TRUE, A1:A3, "("&B1:B3&" years old)", C1:C3)
This formula joins the text and formula results from cells A1 to A3, B1 to B3, and C1 to C3, respectively.
And that's it! You've now mastered the art of combining text and formula results in the same cell in Excel. Happy combining!