How can I hide the x-axis and at the same time shrink the chart where there are no values? The idea is that the chart will expand and shrink depending on the value inputs.
I want the expected chart will look like this even though the chart will select rows way beyond what is shown:
Is this possible? I have tried many options without success.
Related
I am trying to make a concise Excel Bar Chart. I have a data set which has 245 data points on a single row. I would like to make a bar chart of this row however I would like Excel to ignore the rows with very low values.
In order to achieve this conversion, I have written this formula to convert the small numbers in the data set to #N/A:
=IF(OR(D47<0.01;ISBLANK(D47));NA();D47)
This formula successfully converts any number in my dataset which is smaller than 0.01 to the cell value #N/A. However, when I plot my bar graph, I still see the empty cells on the X-axis and this makes the graph appear huge.
What I want from Excel is just to hide the #N/A valued cells in the graph so the graph would be much more readable. How do you think I can fix this problem? Thank you very much for your time in advance.
Here is what the current graph looks like:
Hard to read chart
To sum up, I would like to remove all the cells which are not visible on the graph so the x-axis will resize itself to make the bars with values thicker.
Hide the rows with #N/A. This can quickly be done with a filter
We have a particular chart that we like using. I saw it in a book by Stephen Few:
The blue series is actually a line chart with markers: the markers have been expanded and the line has been deleted.
So it is not an out-of-the-box Excel chart but rather a bit of a hack.
What I don't seem to be able to do is spin it on it's side. So if I draw in the second series this is what I'm trying to achieve:
I'm happy either just hacking the chart wizards or using a vba solution.
To get this type of chart you need three columns of data, plotted on two axis, and build the chart in stages.
First, your data should look like this:
Next, select A1:B4 and Insert and Stacked Bar Chart to get this:
Now, select C1:D4 and Copy, then select your chart and Paste Special (add cells as New Series; Values in Columns; Series Names in First Row) to get this:
Excel just changed your chart type to a simple Bar Chart, but you still want a Stacked Bar Chart. So right click in the chart and Change Chart Type to Stacked Bar.
You'll notice that the scale of your primary axis is not showing what you need. In order to solve this, we'll move the two "Prev" columns to the Secondary Axis.
So, show the Format ribbon and in the upper left corner drop down menu select "Series PrevMthInvis", then click the Format Selection button underneath the drop down. In the Format dialog under Series Options, choose Secondary Axis. Then under Fill, select No Fill.
Back to the Ribbon and select "Series PrevMth" and Format Selection again. Select Secondary Axis, and change the Fill color to your desired value. Finally change the Gap Width to 50%.
At least in my Excel chart, the series are not in the correct order. You want the "PrevMth" series to be stacked on top of "PrevMthInvis", so right click on the chart and choose Select Data, then move the series to be ordered Mth, PrevMthInvis, then PrevMth.
The final clean up involves right clicking the secondary axis (the upper horizontal axis) and making sure the scale, min, and max matches the primary axis, then set Major and Minor Tick Marks and the Axis Labels to "None". Lastly, select "PrevMthInvis" in the legend and delete it.
You can change the width of your blue "bar" by changing the "PrevMth" value to 0.5 or whatever is best for you. Good luck!
I am currently creating a column chart that compares two years of sales data (2012 and 2013). I want to show the data in a table below the column graph that also includes a percentage change. I have this all figured out, but cannot seem to figure out a way to eliminate the percentage change column from the graph itself.
So my question is how can I keep the % change data in the chart below the graph but eliminate it from the column graph itself??
Thank you.
Patrick Wilson
If it's in the table it's in the chart. A few work arounds:
Make the series fill for % bars no fill and same for the outline
Plot it on a second axis and format such that this axis is not displayed
Fake the table, using cells and don't use the data table. Format and position the chart above it.
In my experience the 3rd one is the most work, but the best. Chart tables are hard to format.
I change the chart type (ie. bar chart) and the switch back to the pie chart and it worked. Hope it works for others. Scott
For a bar chart, I change the chart to a combo, make the data I don't want shown a line and then format it so that there is no fill or border, and delete the legend and select "Data Table with Legend Keys" No color will show next to the row of data not visible on the on the chart.
I am having this problem in excel stacked column chart while trying to change the labels. My graph has multiple columns and hundreds of stacked values (series) in each column.
By selecting chart then from layout->data labels->more data labels options ->label options ->label contains-> (select)series name, I can only get one series name replacing its respective label values. For more than hundred series stacked in columns i want them all to be changed at once, is there any way out? why it does not change them all at once?
I know this is old but I wanted to post what I figured out. I was having the same problem in the pivot table chart. I was unable to change ALL of the labels at once. What I did was remove the series from the chart all together. I then was able to select the "series" data label and have it change all the labels. After I did that I simply added the series back in and it populated all of my data labels with the "series" information.
I was looking at the stacked column example here: http://office.microsoft.com/en-us/excel-help/present-your-data-in-a-column-chart-HA010218663.aspx.
I wanted to know how I can re-arrange the 3-D column chart to show regional sales by descending order of total sales without modifying the excel sheet data.
Basically, how can I modify how the data is being displayed in the chart without making any external changes.
Although normally stacked bar charts are plotted as ranges they can be plotted cell by cell. Once you have decided the order (ie Southwest, Northwest etc in the linked example) the horizontal axis can be plotted as =(Sheet1!$A$5,Sheet1!$A$2,Sheet1!$A$4,Sheet1!$A$6,Sheet1!$A$3) and each of the data series in the same way.