How to Display a Formula Result in a Text Box in Excel 2010


Last updated: December 28, 2016

A text box in Microsoft Excel provides an option for displaying text which can be moved to nearly any location on your spreadsheet. You may have tried to enter a formula into a text box, only to find that the results of the formula will not calculate. Unfortunately an Excel text box does not work the same way as a cell, so a formula that is entered directly into a text box will not function the way that you might be expecting.

But a text box in Microsoft Excel 2010 can be linked to display the value of a cell in the spreadsheet, including the value that is the result of an executed formula. Our guide below will show you how you can link a text box to a spreadsheet cell so that you can display your formula result in the text box.

 

Using a Formula in a Text Box in Excel 2010

The steps in this article will show you how to link a text box to a cell in Microsoft Excel 2010. You cannot directly enter a formula into a text box, but you can link a cell with a formula to a text box, so that the result of the formula displays inside the text box. This means that you will need to enter a formula into a cell in your spreadsheet, then link that cell to your text box.

 

Step 1: Open your spreadsheet in Microsoft Excel 2010.

 

Step 2: Click inside a cell where you can enter the formula whose result you want to display in the text box. In many cases, then best option for this is to place the formula in a cell that is away from the regular data in your spreadsheet.

select a cell

 

 

Step 3: Enter the formula whose result you want to display in the text box.

enter the formula

 

 

Step 4: Click the Insert tab at the top of the window.

click the insert tab

 

 

Step 5: Click the Text Box button in the Text section of the navigational ribbon.

 

click the text box button

 

Step 6: Draw your text box where you want it to display in the worksheet.

draw the text box

 

 

Step 7: Click inside the text box once to select it, then click inside the Formula Bar above the spreadsheet.

click inside the formula bar

 

 

Step 8: Type an = sign into the Formula Bar, then click the cell containing the formula that you entered in Step 3. Press the Enter key on your keyboard after the cell is selected.

link the text box to the cell

 

 

The text box should now be displaying the result of your formula.

text box displaying formula value

Summary – how to use an Excel text box formula

  1. Click inside a cell in the spreadsheet, then enter your formula.
  2. Click the Insert tab at the top of the window.
  3. Click the Text Box button.
  4. Draw your text box.
  5. Click inside the text box, then click inside the formula bar.
  6. Type =XX, but replace the XX with the cell location where you entered the formula in step 1.

 

 

How to Insert a Text Box in Excel 2010

The steps below focus on one specific aspect of the steps above – inserting a text box in Excel 2010.

Step 1: Click the Insert tab at the top of the window.

click the Insert tab

 

 

Step 2: Click the Text Box button in the Text section of the ribbon.

click the text box button

 

 

Step 3: Click and hold in the spreadsheet where you want to insert the text box, then drag your mouse to create the desired text box.

how to insert a text box in excel

 

 

Step 4: Enter the information that you want to include in the text box.

how to add a text box in Excel 2010

 

 

Note that you cannot include any other data inside the text box if it is linked to a cell. If you need to include other information, such as a label, then the best solution is to use an additional text box, placed appropriately in relation to the text box containing the formula value.

Is Excel displaying the formulas instead of the results of the formula? Read this article to find how you can switch between displaying formulas and formula results.

birthday t-shirts for boys
vintage t rex t-shirt

Disclaimer: Most of the pages on the internet include affiliate links, including some on this site.