MrExcel's Learn Excel #370 - AutoShape Formulas

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Oct 29, 2009.
Rather than static text in the AutoShape, use a formula to add dynamic text to an AutoShape. Episode 370 shows you how to create a shape that shows off the total of all sales made today.

This blog is the video podcast companion to the book, Learn Excel from MrExcel. Download a new two minute video every workday to learn one of the 277 tips from the book!
maxresdefault.jpg


Transcript of the video:
Hey, welcome back to the MrExcel netcast, I'm Bill Jelen.
OK, now yesterday I showed you how to take an AutoShape, and we added basic text to the AutoShape which is cool, but not as interesting as if we could put a formula in the AutoShape.
We can't necessarily calculate in the AutoShape, but I'll show you a good workaround.
I have a worksheet here, where we show how much has been collected or sold throughout the day, and then I created a hidden formula up here at the top.
That way I actually format the way that I want the text to be.
Couple of things about this formula, first of all, I'm using the concatenation character, the &, to join text with a value.
And also you'll see here that I used the CHAR(10) function, to put a carriage return in, that's how I put text on one line and then another line.
I'm finally using the TEXT function to format the total of my sales with a $, and I basically get something that looks OK there in cell D2.
My trick though, is I'm going to click inside the AutoShape, and then click in the formula bar and say =D2, hit Enter, and Excel then puts the result of the formula into my text box.
Now we have to use all the tricks that we used before, change the font size to something larger, maybe making it a different color in order to make it more interesting.
And then finally, drag the AutoShape and hide that temporary formula, so that way it's basically covered up.
Now, as we get more sales in, let's say that we get sales, the banner automatically updates to show the new value.
Very cool way, again, to add visual interest to your spreadsheet, and this time in a dynamic matter, that will show how we're progressing towards a goal.
Hey, thanks for stopping by, we'll see you next time for another netcast from MrExcel!
 

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top