On BNET: Apple's advertising budget revealed!

Set Excel text boxes to reflect data updates

Tags: Mary Ann Richardson, Microsoft Office, Microsoft Excel, spreadsheets, desktops

  • Save
  • Print
  • Recommend
  • 27

Takeaway: Have your Excel text box change with your data! Here's how to create dynamic text boxes in Excel, while giving yourself the freedom to format them to fit your style.

Excel's text boxes do not have to be static; that is, you can have the text within the boxes change automatically to reflect changes in your data. For example, suppose you would like to create a worksheet that summarizes Year-to-Date Sales data from your Monthly Sales worksheet in a text box on Sheet1 of your workbook. The Monthly Sales worksheet lists the Months in Column A and the Total Monthly Sales in Column B. To create the text box for Year-to-Date Sales, follow these steps:

  1. Open the Monthly Sales worksheet.
  2. In cell F1, enter Total Year-to-Date Sales.
  3. In cell G1, enter =SUM (B:B).
  4. In cell H1, enter =CONCATENATE(F1, "=","$",G1)
  5. Insert a blank worksheet and rename it Sales Summary.
  6. Right-click the standard toolbar and then select Drawing.
  7. Click and drag the text box tool to where you want your text box to be on the Sales Summary worksheet.
  8. With the text box selected, click in the formula bar and enter =MonthlySales!H1.

You can right-click the text box and format it any way you wish. After you enter the sales total at the end of each month, the data in the Sales Summary text box will change to reflect the new Total Year-to-Date Sales.

Miss a tip?

Check out the Microsoft Excel archive, and catch up on our most recent Excel tips.

Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.

  • Save
  • Print
  • Recommend
  • 27

Print/View all Posts Comments on this article

Excellent tip! Wyrmlord | 06/27/07
File example sandy.breeden@... | 06/27/07
Where is the worksheet? dewitt.shank@... | 06/27/07
Here's the worksheet crawk | 06/27/07
Works for various Drawing objects Brian.Crawford@... | 06/27/07
RE: Set Excel text boxes to reflect data updates rallen@... | 06/27/07
Really Great Hint happy Peter.Murschall@... | 06/27/07
RE: Set Excel text boxes to reflect data updates informationfac@... | 06/27/07
RE: Set Excel text boxes to reflect data updates augustine70_2000@... | 06/27/07
Problem with: Set Excel text boxes to reflect data updates fhirtz@... | 06/27/07
Formatting the number Gibby | 06/27/07
Solved: formatted and simplified crawk | 06/27/07
Simpler Formating solution Architect | 06/27/07
Thank you!! crawk | 06/28/07
RE: Set Excel text boxes to reflect data updates rni30@... | 06/28/07
Good points, both crawk | 06/28/07
I guess I'm stupid PapaWhiskey | 06/28/07
Contact me for more info crawk | 06/28/07
RE: Set Excel text boxes to reflect data updates khalil1@... | 06/28/07
RE: Set Excel text boxes to reflect data updates DBlayney | 07/30/07
RE: Set Excel text boxes to reflect data updates ArchGov | 07/31/07

What do you think?

Storage Virtualization

advertisement
Click Here