Excel Tips n Tricks: Tip 6 (Excel 2013 - Dynamic Value in Any Shape)


Hello! Hope you're doing well. Here I have another trick that you will love to learn and practice.


I think we all know how to add text in a shape or in a Smart Shape, but would it be nice if the text inside a shape could be dynamically changed reflecting a value in a cell in your worksheet? Want to learn how? Follow on..

Add any shape of your choice as you always do. Refer to the picture below created in Excel 2013 if you are unfamiliar with doing that.

Procedure to add a shape in worksheet

Go to "Insert" > "Shapes" then select a shape of your choice.

Excel1.jpg
Picture 1

Your cursor will change to in a select area handle. Click and drag your pointer to draw the shape. Now you have a shape added in your worksheet.

Excel2.jpg
Picture 2

You can see that "Format" Tab (menu) is automatically activated as soon as you draw he shape. Format the shape in any way you want.

Pick a cell (any cell) and enter a value, for example a name "Manish". I use cell "H2" for the demo.

To add text, right-click on the shape and select "Edit Text"

Excel3.jpg
Picture 3

Here comes the trick now

Do not type directly inside the shape (like we always do), any text entered this way will be static.

Instead, click inside the Formula Bar and enter a formula that points to the cell with the desired value, for example "=H2" and hit Enter. 

(Refer to the picture below):

Excel4.jpg
Picture 4

Voila! You're done. You have added the text that will change dynamically depending on the value in cell H2. This way you can assign a value from another sheet even from another workbook and the shape will reflect its value dynamically each time the value in the cell changes.
 
Remember that you cannot assign a formula directly as text in a shape, you can only point it to a range reference or a defined name.

A sample is attached with this article. Try changing the cell value and observe the text changing accordingly.

Hope you enjoyed learning this trick :)

Feedback and comments are highly appreciated. Follow for more!!
 

You may like reading my other interesting tips on Excel:

  1. Excel Tips and Tricks

  2. Excel Tips and Tricks 2

  3. Excel Tips and Tricks Tip 3 (Quickly Create Many Range Names)

  4. Excel Tips and Tricks: Tip 4 (Format a Row Based on Condition in a Single Cell)

  5. Excel Tips n Tricks Tip 5 (Modify Shape and Style of Comment Box in Excel 2013)


Up Next
    Ebook Download
    View all
    Learn
    View all