Add Text and Formula in the Same Cell in Excel (4 Examples)

Example 1 – Add Text and Formula in the Same Cell in Excel with the Ampersand Operator

We have an Income-Expense List has four columns. We have calculated the monthly savings for each person.

To increase the readability, we can add descriptive text with these values by merging the descriptive texts and formulas.

  • Insert the following formula in cell E5 and hit the Enter button.
=B5&"'s monthly saving is: "&C5-D5

To add both the text and formula in the same cell, you have to use the ampersand symbol & and a double quote(“). The ampersand concatenates values into strings, and double quotes turn the text inside into string values.

Example 1: Add Text and Formula in the Same Cell in Excel

  • Hover over the bottom-right corner of cell E5 and drag the Fill Handle icon down to cell E10.

Here’s the result.

Add Text and Formula at Any Sequence

The following formula will add text first and then the formula:

="Robert's monthly saving is: "&C5-D5

Add Text and Formula at Any Sequence

If you want to use the formula first and the text appears later, use the following formula:

=C5-D5 &" is Robert's monthly savings."


Example 2 – Adding Text and Formula in the Same Cell with the TEXT Function

Without using text with the formula, the result of the Work Hour column looks like this. We’ll add a bit of text to the result cells.

  • Use the following formula in cell E5 and hit the Enter button.
=B5&"'s total work hour is: "&TEXT(D5-C5,"h")

The TEXT function converts the value inside into a text value in the specified formatting. In this example, it returns the hours value of D5-C5 as a single number.

Example 2: Add Text and Formula in the Same Cell in Excel with TEXT Function

  • Drag the Fill Handle from cell E5 to E10.

Read More: How to Add Text in IF Formula in Excel


Example 3 – Use Ampersand to Add Dates and Formula in the Same Cell

  • Insert the following formula in the cell E5.
=B5&" from "&TEXT(C5,"dd-mmm-yyyy")&" to "&TEXT(D5,"dd-mmm-yyyy")

This formula uses the TEXT function to return the dates from C5 and D5 into the required textual format.

  • Hit Enter.
  • Drag the Fill Handle down to fill the column.

Example 3: Add Text and Formula in the Same Cell in Excel

Read More: How to Add Text Before a Formula in Excel


Example 4 – Using the CONCATENATE Function to Add Text and Formula in the Same Cell in Excel

  • Insert the following formula in E5.
=CONCATENATE("Robert's monthly saving is: ",C5-D5)
  • Hit Enter and drag the Fill Handle icon from cell E5 to cell E10.

Example 4: Use CONCATENATE Function to Add Text and Formula in the Same Cell in Excel


Download the Practice Workbook


Related Articles


<< Go Back to Concatenate Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mrinmoy Roy
Mrinmoy Roy

Mrinmoy Roy, a dedicated professional with a BSc in Electronics and Communication Engineering from Khulna University of Engineering & Technology, Bangladesh, brings over two years of expertise to the ExcelDemy project. As a prolific contributor, he has authored around 180 articles, showcasing his deep knowledge and passion for Microsoft Excel, Data Analysis, and VBA. His unwavering commitment to continuous learning, combined with versatile skills, renders him well-suited for roles in data management and spreadsheet solutions. He has interest... Read Full Bio

2 Comments
  1. From your lesson: After that another text comes which is also separated by the symbol, & and double inverted commas, (“).
    REALLY? DOUBLE Inverted COMMAS? How do you get an inverted comma? Kinda looks like a QUOTE to me.
    I’m very much looking forward to an explanation of “double inverted commas”.

    Sincerely,

    Larry Kanzia
    [email protected]

    • Hi Larry Kanzia,
      Inverted commas can be single – ‘x’ – or double – “x”. They are also known as quotation marks, speech marks, or quotes.
      You can get a single inverted comma just by pressing the comma button next to the ENTER button on your keyboard. To insert a double inverted comma, press and hold the SHIFT key, then press the comma key next to the ENTER button.
      Thanks!

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo