Learn Excel 2010 - "Chart Legend Gaps": Podcast #1593

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 Aug 27, 2012.
Today, Bill reviews an earlier podcast that focused on moving Chart Legends to the top. However, after trying this, a viewer noticed that there was a large space between items in the Legend. Today, in Episode #1593, Bill looks at why this might be happening and how to correct it.
maxresdefault.jpg


Transcript of the video:
MrExcel podcast is sponsored by Easy-XL.
Learn Excel From MrExcel Podcast, Chart Legend Gaps.
Hey. Welcome back to the MrExcel netcast. I'm Bill Jelen.
Today’s question is sent in by Jules. Jules has a chart and he says he used my tip to put the legend at the top, so, under CHART TOOLS, LAYOUT, LEGEND, SHOW LEGEND AT TOP, but then he says, hey, there's a big huge gap between some of the series, and I started to think about that.
Well, you know, Excel 2010 doesn't put the gap in.
It handles this pretty.
Well, so, I started to think it might be a problem with the source data.
The gaps appears to be between CENTRAL and WEST, and so I came back to the chart data here.
I press F2.
F2.
So, I select the name of that series, and, check that out, there's a great big space there and we need to close up that space.
Now, what if this had been a formula instead?
You know, it's tough to see how many spaces are in a formula.
If you had a formula instead on here -- I’m on a different worksheet where we have a formula -- you can just wrap that whole formula in the trim function.
Trim gets rid of leading spaces, trailing spaces, and also interior double spaces.
So, if you have BILL, space, space, space, JELEN, it will make it BILL space JELEN.
So, you see that corrects the legend right there.
So, I almost wonder if that is Jule's problem, and now that's if you have a formula.
If you don't have a formula, of course, it's just F2 and then backspace all those spaces away, and press ENTER.
ENTER in it, it fixes itself, and I don't think there's really any other way.
You know, we have a little bit of control over the legend.
Like, we can control the size of the legend, even the font in the legend, but I can't think of any way that we can control, you know, where they occur, if it wraps, or anything like that.
So, I'm thinking that the problem has to be back here in the source data.
Well, hey.
I want to thank you for stopping by.
We’ll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,214,858
Messages
6,121,960
Members
449,057
Latest member
FreeCricketId

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