Match chart legend entry formatting to source data in Excel - excel

How do I get the format of the legend entries in an Excel 2013 chart to match the formatting of the cell the series name is from? My series title needs to be a mix of italics, subscripts, etc, but I don't know how to customize this label at all. I either need the format to carry over from the source cell or just to be able to override the legend entry.

Maybe not ideal, but it works. Just delete the legend label from your data source and then insert -> shape -> text box in its place that is formatted to your liking. Example image attached of what I think you wanted.
**Disclaimer: This chart in no way makes any sense.

Related

Excel - Changing design of bars in charts

In excel charts can we change design of bars from
to
Background: I have taken agile project plan excel template from https://www.smartsheet.com/agile-project-management-excel-templates, but I didnt like the bars without arrows and hence I want to change these bars to look something like bars in https://www.smartsheet.com/agile-project-management-excel-templates#agile-product-roadmap-template
Lead here is appreciated.
Half... Let me show and you decide :)
This arrow is not a chart object. It's a shape, a drawing:
However, we can use shape object in Excel charts.
Remove text (you'll see in the last picture why) and Copy the excel object (picture above).
Mark the chart series you want to replace (notice I marked all of them, small circles)
Then just paste :D!!
Notice one bar has a border line, just click on the bar -> "Fill & Line" -> "Border" -> "No Line" to hide the border line around your shape object.
You can do it individually with different colours. When the graph changes the size of your bars changes too (according to your data). It's a bit more "maintenance" but looks better. General rule, the better it looks, the more "special" it is (more manual involvement)...

MS Excel not showing the x values of my data

screenshot
The x axis on the table is not showing the x-values I in my data.
I want the corresponding date for each point directly below it.
Excel (2007) has just added random dates.
Any idea how I can get the correct dates to be shown?
Under your chart tools, go "Layout -> Data Labels" and choose the one you're happy with. The option's right up there with your chart title, Axis, Legend options etc.
{sorry, just added a picture of the first thing open on my computer}
Enjoy...

D3 Y-axis text Copy/Paste to Excel

I have a horizontal bar chart SVG element created from reading in a .CSV using D3.
The Y-axis contains ~200 "project" text labels next to each horizontal bar.
I would like the user to be able to select a block or all the projects on the Y-axis and copy and paste into excel.
Currently, when everything is copy-pasted into excel, all the labels just appear as one long string of text. Is there a way to add a hidden comma/new line to the label that will allow it to be pasted in excel?
This is my first question on here, sorry if this doesn't make sense.
I want the user be able to copy and paste these y-labels into Excel

Chart copied to another workbook won't display horizontal axis in date format

I'm trying to link a chart to another workbook in excel 2010. Copy-Paste does the trick, except for the dates on the horizontal axis. They keep showing as numbers (42515), but not in date format. I tried several things: change Axis type, convert source data to text (TEXT(42515; "dd/mm/yyyy")...
It's necessary that the link between the two charts stays, because I use it to automatically update the chart.
Anyone any suggestions?
The Solution:
Right click on the Chart -> Format Axis -> Number -> Date

Change format of all data labels of a single series at once

I have an Excel 2010 chart, with several series. I have added data labels to one of the series. I want to change the font size of all labels of that series at once. Can it be done?
Note that if the contents of data labels are combinations of the three standard options in the Format Data Labels dialog ("Series Name", "X Value", or "Y Value"), I simply change the font size in the ribbon and it works.
But if data labels contain cell references (i.e., formulas), I could only change the font size of one label at a time.
I guess a macro would help. I tried something a while ago, and faced a sequence of problems (do not remember exactly which).
Anyone knows of a shorter/alternative solution?
It appears I found the cause.
Referring to the figure, whenever any of the cells referred to by the data labels is empty (e.g., deleting the contents of D4), I cannot change the font size.
If I reinstate D4, I can change the font size again. This is reproducible for the simple worksheet/chart of the figure.
According to this,
Workaround 1: Fill up all empty cells referred to. Change the format of labels. Remove added contents.
Workaround 2: Change to a dummy range for the data labels, which has no empty cells. Change the format of labels. Switch back to your intended range.
This might require The XY Chart Labeler, an excellent add-in by Rob Bovey.
This does not always work (there are cases where one cannot change font even with all non-empty cells), so there should be another possible cause for the problem (besides the one reported).
A workaround:
For the workbook, Save As... (you can even use the same workbook name). The problem goes away.
But if you close the file and open it again, the problem reappears.
Most of the times it works.
A workaround (found prior to #1):
A very poor solution, but which possibly saves quite a few keystrokes/mouse clicks in many cases. Select the whole chart, and change the font size in the ribbon. It will change all text. Then recover the font size of all other text but the data labels.
It won't work in charts with more than one series with such data labels, if you want them to have different sizes!
A quick way to solve this is to:
Go to the chart and left mouse click on the 'data series' you want to edit.
Click anywhere in formula bar above. Don't change anything.
Click the 'tick icon' just to the left of the formula bar.
Go straight back to the same data series and right mouse click, and choose add data labels
This has worked in Excel 2016. Purely by luck I worked this out saving a great deal of time and frustration.

Resources