<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peltier Tech Blog &#187; Chart Types</title>
	<atom:link href="http://peltiertech.com/WordPress/category/chart-types/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:40:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Poor Man&#8217;s Sparklines in Microsoft Excel</title>
		<link>http://peltiertech.com/WordPress/poor-mans-sparklines-in-excel/</link>
		<comments>http://peltiertech.com/WordPress/poor-mans-sparklines-in-excel/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 08:00:18 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Chart Types]]></category>
		<category><![CDATA[sparklines]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=3365</guid>
		<description><![CDATA[Microsoft introduced Sparklines as a native feature of Excel 2010. In a rare guest post, Sparklines For Excel vs. Excel 2010 Sparklines by Alex Kerin of Data Driven Consulting compared this new feature to existing third-party sparkline add-ins for Excel. In Sparklines and Data Bars in Excel 2010, I gave an introduction into how to use the new [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft introduced Sparklines as a native feature of Excel 2010. In a rare guest post, <a href="http://peltiertech.com/WordPress/sparklines-for-excel-vs-excel-2010-sparklines-guest-post/"class="vt-p" title="Sparklines For Excel vs. Excel 2010 Sparklines" >Sparklines For Excel vs. Excel 2010 Sparklines</a> by <strong>Alex Kerin</strong> of <a href="http://www.datadrivenconsulting.com/" rel="nofollow" class="vt-p" title="Data Driven: Data Analytics and Dashboard Design" >Data Driven Consulting</a> compared this new feature to existing third-party sparkline add-ins for Excel. In <a href="http://peltiertech.com/WordPress/sparklines-and-data-bars-in-excel-2010/"class="vt-p" title="Sparklines and Data Bars in Excel 2010" >Sparklines and Data Bars in Excel 2010</a>, I gave an introduction into how to use the new sparkline feature, demonstrated some of the options available for Excel 2010&#8242;s sparklines, and also showed how Excel 2010&#8242;s implementation of Data Bars was far superior to the original Data Bars in Excel 2007. I&#8217;ve also shown <a href="http://peltiertech.com/WordPress/how-to-make-horizontal-bullet-graphs-in-excel/"class="vt-p" title="How to Make Horizontal Bullet Graphs in Excel" >How to Make Horizontal Bullet Graphs</a> that can be fitted into the cells of a dashboard.</p>
<p>While it&#8217;s good to see sparklines as a native Excel feature, the Excel 2010 implementation is rudimentary, and third-party sparkline products have more functionality and more features than the native Excel sparklines. Yet it&#8217;s not necessary to deal with add-ins in order to realize expanded sparkline capabilities in Excel. Excel&#8217;s regular charts can be used to create decent sparklines, and this article will show you how.</p>
<h2>Native Excel 2010 Sparklines</h2>
<p>It&#8217;s easy enough to insert sparklines into an Excel 2010 worksheet. First, make sure you are not in &#8220;Compatibility Mode&#8221;. Compatibility Mode means the active workbook is as compatible as possible with Excel 2003; the most obvious feature is that the worksheet grid has the Excel 2003 numbers of rows and columns, not the expanded grid introduced in Excel 2007.</p>
<p>Select the data range or the location for the sparklines, and click one of the Sparklines buttons on the Insert tab. In this example, I selected the range where I wanted the sparklines to appear, then clicked the Column Sparkline button. The dialog shows the selected range in the Location Range edit box.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark001.png" alt="Create Sparklines Dialog" /></p>
<p>Then I selected the data range, which appears in the Data Range edit box. For some reason, the Location Range edit box is cleared (and each box clears itself when the other box is edited), but Excel remembers the selected range.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark002.png" alt="Create Sparklines Dialog with Data Source Selected" /></p>
<p>Here are the sparklines with the location range still selected.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark003.png" alt="Built-In Sparklines in Excel 2010" /></p>
<p>Finally, here is the table with sparklines, with the active cell out of the way.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark004.png" alt="Built-In Sparklines in Excel 2010 (Clean)" /></p>
<h2>Create Sparklines From Regular Charts</h2>
<p>The protocol for generating your own sparklines using regular charts is presented below. This protocol works well in Excel 2010 and 2007. In earlier versions of Excel, charts have a border of several pixels around the plot area, so the chart area must be sized larger than the cell you want the sparkline displayed in. In earlier versions, there is also a limit to how much the chart can be shrunk and still show the entire plot area, so you&#8217;ll have to shrink the chart only partway, then shrink the plot area to a smaller fraction of the chart area size.</p>
<p>Keep in mind that while you can use regular charts for sparklines, the small size of a sparkline limits the amount of information you should try to cram into one. Leave out labels and limit yourself to about two series maximum in any given sparkline.</p>
<p>Start creating your sparkline by selecting the data for a single series.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark005.png" alt="Select Data for First Manual Sparkline" /></p>
<p>Insert a chart of the desired type. This is a typical Excel 2010 column chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark006.png" alt="Initial Appearance of Manual Sparkline" /></p>
<p>Now simplify formatting. Below left shows the chart with the chart area border removed and the chart and plot areas made transparent, so borders and cell fill colors show through. Below right, the legend and any axis and chart titles have been removed.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark007.png" alt="Remove Background and Borders, Remove Titles and Legend" /></p>
<p>The bars have been widened in the chart below left (by decreasing the gap width to 50%), and the major unit of the Y axis has been set to a small value, below right.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark008.png" alt="Fatten Up Bars (Reduce Gap Width), Shrink Major Y Unit" /></p>
<p>The axes have been hidden by selecting &#8220;None&#8221; for axis tick marks and axis tick labels and choosing &#8220;No line&#8221; for the axis line color. Note the size of the plot area within the chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark009.png" alt="Hide Axes and Note Plot Area Size" /></p>
<p>For best results, extend the plot area almost to the left and right edges of the chart, and stretch the bottom of the plot area to the bottom of the chart. Leave a large margin between the plot area and the top of the chart. In fact, you may have to increase this top margin in the sparkline, after the chart has been shrunk to fit a cell.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark010.png" alt="Resize Plot Area" /></p>
<p>Finally, shrink the chart and position it over the appropriate cell. If you hold down the Alt key while moving or resizing the chart, the chart edges will line up with the cell boundaries. If necessary, shrink the plot area from the top to increase the margin.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark011.png" alt="First Manual Sparkline Resized and Relocated" /></p>
<p>When all of the necessary formatting has been applied to the sparkline, and nothing else needs to be done, copy the sparkine and paste it into each of the other cells that need a sparkline. If you hold Ctrl and Alt while dragging the chart, a copy of the chart will be dragged into and aligned with the next cell.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark012.png" alt="Sparkline Copied and Pasted As Needed" /></p>
<p>All the charts are formatted identically. They also use the identical data, so let&#8217;s fix that.</p>
<p>Select the first sparkline. Notice how the source data is highlighted in the worksheet.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark013.png" alt="First Sparkline and Data Dange" /></p>
<p>Select the second sparkline. Notice how the highlighted data is from the first row. So is the highlighted data for the third sparkline.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark014.png" alt="Second Sparkline and First Data Range" /></p>
<p>You could change the source data by choosing Select Data from the Chart Tools &gt; Design tab, or from the right-click menu. You could also edit the chart series formula. But the easiest way to adjust the chart data is to drag the range highlight with the mouse. Move the mouse over the highlight until its border thickens, then drag it to the new range. If you&#8217;ve selected the plot area or chart area, both the series name and the Y value highlights move together. If you&#8217;ve selected the series itself, the series name and Y data must be changed separately.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark015.png" alt="Data Range for Second Sparkline Being Moved" /></p>
<p>Correct the third sparkline&#8217;s source data in the same way.</p>
<p>Here is the finished table with sparklines. Looks like the built-in sparklines.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark016.png" alt="Corrected Data Ranges for All Sparklines" /></p>
<p>You can use any chart type: here&#8217;s a line chart with markers.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark018.png" alt="Works With All Chart Types: Here Is a Line Chart" /></p>
<h2>Why Use Regular Charts?</h2>
<p>There are a number of reasons to use regular charts rather than the built-in Excel 2010 sparklines.</p>
<h2>Excel Version</h2>
<p>One obvious reason is that you might not have upgraded to Excel 2010. If you&#8217;re using Excel 2007, the techniques shown here work the same way.</p>
<p>In Excel 2003 and earlier, the chart imposes a thicker border between the plot area and the chart area, so you have to oversize the chart to make the plot area fit as intended. Also, in earlier versions, the plot area only shrinks a certain amount within the chart area, so further shrinking of the chart truncates the plot area. The chart area can only be shrunk so far, but the plot area can be reduced further without shrinking the chart. The result is a chart that&#8217;s substantially larger than the cell it covers, but making the plot and chart areas transparent makes this no problem.</p>
<h2>Mouseover Information</h2>
<p>An important feature of a regular chart that is lacking in a sparkline, is the ability to mouse over a point and read relevant information from a popup. This is very useful in an interactive dashboard.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark019.png" alt="Native Sparklines Have No Mouseover Popups" /></p>
<h2>Combination Charts</h2>
<p>What if you want to compare a time series to other data, such as a target value.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark020.png" alt="Combination Chart: Target and Actual" /></p>
<p>Native sparklines can only plot one timeline, while a regular chart has more flexibility (as do some of the third-party sparkline programs).</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark021.png" alt="Combination Sparkline: Target and Actual" /></p>
<p>Remember the limited resolution of a cell-sized chart: adding the simple target data to these sparklines is almost not worth the effort.</p>
<h2>Other Embellishments</h2>
<p>You may wish to reverse the vertical axis. For example, your costs are probably reported as positive numbers, but you want to show them as negatives.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark022.png" alt="Reverse Y Axis So Positive Values Plot As Negative" /></p>
<p>Native sparklines do not support reversing the vertical axis, but regular charts do.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2012-01/spark017.png" alt="Sparkline With Reversed Y Axis" />
<p>Peltier Technical Services, Inc., Copyright © 2011.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://peltiertech.com/Utility/" rel="nofollow"  title="PTS Chart Utilities: Waterfall, Cluster-Stack Column, Box and Whisker, Marimekko"><img src="http://peltiertech.com/Utility/pix/pts_banner_map.png" alt="PTS Chart Utilities: Waterfall, Box and Whisker, Cluster-Stack, Panel, Marimekko, Dot, Panel" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/poor-mans-sparklines-in-excel/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s to Blame for the Mess in Washington? Analysis of Chart Types</title>
		<link>http://peltiertech.com/WordPress/analysis-of-chart-types-whos-to-blame-for-the-mess-in-washington/</link>
		<comments>http://peltiertech.com/WordPress/analysis-of-chart-types-whos-to-blame-for-the-mess-in-washington/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 12:26:08 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Chart Types]]></category>
		<category><![CDATA[bar chart]]></category>
		<category><![CDATA[Pie Chart]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=3334</guid>
		<description><![CDATA[In Republicans Blamed Most for Ineffective Government in U.S. Poll, Bloomberg show results of a poll that asked who was to blame for ineffective national government in Washington. Their results were shown in this donut chart: I was pointed to the Bloomberg article by Kevin Drum of Mother Jones, who wondered in Everybody Hates Everybody Else why [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.bloomberg.com/news/2011-09-15/republicans-get-most-blame-for-ineffective-governing-in-national-u-s-poll.html" rel="nofollow" title="Republicans Blamed Most for Ineffective Government in U.S. Poll" >Republicans Blamed Most for Ineffective Government in U.S. Poll</a>, Bloomberg show results of a poll that asked who was to blame for ineffective national government in Washington. Their results were shown in <a href="http://www.bloomberg.com/chart/iJD1OOQPCdSg/ " rel="nofollow" title="Who's to blame for what's wrong in Washington?" >this donut chart</a>:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/WhosToBlame-BloombergDonut.png" alt="Who's to Blame - Bloomberg Donut Chart" /></p>
<p>I was pointed to the Bloomberg article by Kevin Drum of Mother Jones, who wondered in <a href="http://motherjones.com/kevin-drum/2011/09/everybody-hates-everybody-else " rel="nofollow" title="Everybody Hates Everybody Else" >Everybody Hates Everybody Else</a> why Bloomberg used a donut chart to plot the data, though he did not elaborate. We&#8217;ve been trained to cringe at pie and donut charts, and replace them with bar charts:</p>
<p><span id="more-3334"></span><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/WhosToBlame-Bar.png" alt="Who's to Blame - Bar Chart" /></p>
<p>Ah, we can breathe freely again. And we can see that people blame Obama slightly more than Congressional Democrats. This 1 percentage point difference was not apparent in the donut chart, and really it may be meaningless given the poll&#8217;s 3.3 percentage point margin of error. Of course, the Republicans have collected by far more blame than any other category. This is clear in both charts.</p>
<p>There is one reason to use a pie for this kind of data, though. Stephen Few himself described <em>The Secret Strength of Pies</em> in <a href="http://www.perceptualedge.com/articles/08-21-07.pdf " rel="nofollow" title="Save the Pies for Dessert" >Save the Pies for Dessert</a>. Pie charts have an advantage over simple bar charts when you want to compare not single values, but subtotals. What the donut chart above shows is that the total blame assigned to Democrats, the sum of Congressional Democrats and President Obama, is less than the blame assigned to Congressional Republicans.</p>
<p>The pie chart below shows this difference even more clearly: we have not cut out the central region of the pie, which has central angles as well as the areas of the points to help us decode the chart&#8217;s values.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/WhosToBlame-Pie.png" alt="Who's to Blame - Pie Chart" /></p>
<p>Sometimes this strength of pies is not realized, because data sorted differently may not have related slices in adjacent positions. However, if you know some categories are related (the two Democrat categories here), you can sort the data to make use of this feature of pie charts.</p>
<p>Then again, if you know some categories are related, you can convert the simple bar chart into a stacked bar chart, which sums related quantities linearly instead of circumferentially. This easier comparison allows us to see that Republican blame exceeds Democrat blame by almost twice the margin of error.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/WhosToBlame-StackedBar.png" alt="Who's to Blame - Stacked Bar Chart" /></p>
<p>Bloomberg&#8217;s choice of chart type may not have been as bad as our initial reaction indicates, assuming the data was purposely sorted the way it was. Our stacked bar chart is an even better choice.
<p>Peltier Technical Services, Inc., Copyright © 2011.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://peltiertech.com/Utility/" rel="nofollow"  title="PTS Chart Utilities: Waterfall, Cluster-Stack Column, Box and Whisker, Marimekko"><img src="http://peltiertech.com/Utility/pix/pts_banner_map.png" alt="PTS Chart Utilities: Waterfall, Box and Whisker, Cluster-Stack, Panel, Marimekko, Dot, Panel" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/analysis-of-chart-types-whos-to-blame-for-the-mess-in-washington/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Excel 3D Charts: Charts with No Value</title>
		<link>http://peltiertech.com/WordPress/excel-3d-charts-charts-with-no-value/</link>
		<comments>http://peltiertech.com/WordPress/excel-3d-charts-charts-with-no-value/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 09:00:52 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Chart Types]]></category>
		<category><![CDATA[3D charts]]></category>
		<category><![CDATA[Bad Charts]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=3327</guid>
		<description><![CDATA[Excel offers a great many different chart types. Many of these are 3D types, which should be left off the palette of any serious data technician. Here is a simple cross-tab table of data, showing how the strength of an experimental alloy varies as a function of alloy chemical composition and test temperature. In a [...]]]></description>
			<content:encoded><![CDATA[<p>Excel offers a great many different chart types. Many of these are 3D types, which should be left off the palette of any serious data technician.</p>
<p>Here is a simple cross-tab table of data, showing how the strength of an experimental alloy varies as a function of alloy chemical composition and test temperature. In a former life I was a metallurgist, and this data was going to change the world.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-SampleData.png" alt="Data for this 3D chart exercise" /></p>
<h2>2D Charts</h2>
<p>These 2D line charts are the clearest plots you&#8217;ll see of this data. Instead of confusing the viewer by trying to render a third dimension on 2D paper or monitor, the data is plotted as 2D data, with the third dimension represented by multiple series (one series for each factor level along the third dimension). Instead of trying to get everything into a single chart, the data is presented as two charts, one plotting the data by rows, the other by columns.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/2D-Lines.png" alt="2D Line Charts: by row and by column" /></p>
<p><span id="more-3327"></span>The experts insist that line charts should only be used along axes that plot numerical variables, and not for categorical factors. That&#8217;s a little strict, and in this case, the Chem and Temp variables do change monotonically from low to high at nearly regular intervals.</p>
<h2>3D Line (&#8220;Ribbon&#8221;) Charts</h2>
<p>The much-maligned UI Ribbon introduced in Excel 2007 isn&#8217;t the worst ribbon in Excel. Among the most pointless 3D charts Excel offers is the 3D line chart, or &#8220;ribbon&#8221; chart, shown below in a handful of arrangements.</p>
<p>The data regions of the charts are shrunk because of the need to put all the third dimension infrastructure in the chart. This loss of resolution is rendered moot by the distortion caused by the perspective view.</p>
<p>It&#8217;s impossible to see where the &#8220;ribbons&#8221; lie with relation to the axes, or how they are positioned with respect to each other. And if the ribbons are aligned edge on to the viewer (see below right), they become nearly invisible.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-Ribbon1.png" alt="3D Line (Ribbon) Charts: by row and by column" /></p>
<p>The data labels on the lines in the 2D charts above make identification of the series very easy. It&#8217;s much harder to get labels positioned nicely in these 3D charts (I know, I tried and gave up). We have to use a legend, and the chart above right shows one problem with legends: the series are arranged purple to blue from top to bottom, while the legend entries are arranged blue to purple from top to bottom. Our eyes forced to move side to side to relate data to label, and our brains are forced to think about this backwards correlation, leaving less cognitive power to actually analyze the data.</p>
<p>Differences in plotting order can make the charts even worse. Left: strength for all temperatures is the same for chemistry factor 4; right: strength for all chemistries approaches the same value at the highest temperature. These conclusions are not borne out by the boring but accurate line charts above, nor by the tabulated data.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-Ribbon2.png" alt="3D Line (Ribbon) Charts: by row and by column, changing order of Chem variable" /></p>
<h2>3D Area Charts</h2>
<p>In the first 3D area chart below, the Temp 1 data obscures all the rest. In the second, the data in back is exaggerated because the unseen but progressively higher baselines of each plank are hidden by the areas in front. Blocking of rear data by front data occurs in 2D area charts as well, the the perspective and varying baseline is the third dimension&#8217;s contribution to this obstruction.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-Area.png" alt="3D Area Charts: by row and by column" /></p>
<h2>2D Column Charts</h2>
<p>This 2D column chart isn&#8217;t a terrible way to show the data, though the taller bars make following the shorter series more difficult. This wasn&#8217;t a problem with the line charts.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/2D-Column.png" alt="2D Column Chart" /></p>
<h2>3D Column Charts</h2>
<p>There are two ways to make a 3D column chart. Left: keep all of the 3D bars in a 1D arrangement, so it&#8217;s just a 2D chart with thickness, and the resulting distortion. Right: arrange the vertical bars in a 2D horizontal grid, so the perspective distortion is made worse by bars in front hiding bars in back.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-Column.png" alt="3D Column Charts" /></p>
<p>In the charts above the bars in front were only obscuring the baselines of the bars in back; in the charts below, which result from factors being shown in the opposite order, entire bars disappear in the matrix.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-ColumnBlocked.png" alt="3D Column Charts, with smaller bars behind blocked ba larger bars in front" /></p>
<h2>Wait, It Gets Worse</h2>
<p>Who needs rectangular columns when you can use cylindrical columns? Very pretty.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-Cylinder.png" alt="3D Cylinder Chart, oooh, pretty" /></p>
<p>You can further distort the data by using bottom-heavy cones and pyramids.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-ConePyramid.png" alt="3D Cone and Pyramid Charts, for when 3D columns are not obscure enough" /></p>
<p>You can also make truncated cone and pyramid charts, formed by starting with shapes of the same height, and cutting them off at the height representing their values. The heights are no easier to read than in the pointy charts above, but perhaps you can estimate the areas of the cross-sections to help judge the values. Hmm, except areas increase as values decreases, and values changes in proportion to the square root of the area (that is, proportional to the width of the area).</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-Truncated.png" alt="3D Truncated Cone and Pyramid Charts, for when 3D cones and pyramids are not obscure enough" /></p>
<h2>If 2D Is Good, 3D Must Be Better, Right?</h2>
<p>Mmmm, no.</p>
<p>All of the 3D charts shown above suffer from distortion. In the chart below, I&#8217;ve hidden the data, and made the borders of the walls visible, and added gridlines. No two lines anywhere in the chart are parallel. It&#8217;s very artistic, with lines extending to the vanishing point and all, but that only makes the data more difficult to judge. If you look at it long enough, the back corner suddenly changes, so it&#8217;s sticking out of the page. A chart showing your hard-earned data is no place for optical illusions.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/3D-Chart-Frame.png" alt="Empty frame of a 3D chart, showing distortion of rectangular surfaces" /></p>
<p>The way these charts have achieved their third dimension is not through addition of a useful dimension to the data. This third dimension is achieved by adding chart junk, coloring loads of non-data pixels, and greatly decreasing the data-to-ink ratio.</p>
<p>So many of Excel charts can get very fancy, even without using gratuitous visual effects, such as shadows, gradients, glows, and transparencies. The 3D charts shown here are certainly fancier than the plain old 2D line charts at the top of the article, but not a single 3D chart shown here depicts the data as clearly as the line charts.
<p>Peltier Technical Services, Inc., Copyright © 2011.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://peltiertech.com/Utility/" rel="nofollow"  title="PTS Chart Utilities: Waterfall, Cluster-Stack Column, Box and Whisker, Marimekko"><img src="http://peltiertech.com/Utility/pix/pts_banner_map.png" alt="PTS Chart Utilities: Waterfall, Box and Whisker, Cluster-Stack, Panel, Marimekko, Dot, Panel" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/excel-3d-charts-charts-with-no-value/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Excel 2010 Chart Types</title>
		<link>http://peltiertech.com/WordPress/excel-chart-types/</link>
		<comments>http://peltiertech.com/WordPress/excel-chart-types/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 09:00:35 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Chart Types]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=3329</guid>
		<description><![CDATA[Excel 2010 Chart Type Dialog Excel offers a wide range of standard chart types. Below is the Chart Type dialog from Excel 2010, but all of these standard chart types have been available since Excel 97, and most of them since before that. What makes my dialog different is that it has been annotated to [...]]]></description>
			<content:encoded><![CDATA[<h2>Excel 2010 Chart Type Dialog</h2>
<p>Excel offers a wide range of standard chart types. Below is the Chart Type dialog from Excel 2010, but all of these standard chart types have been available since Excel 97, and most of them since before that.</p>
<p>What makes my dialog different is that it has been annotated to show which chart types you may use freely, which types you may use with caution, and which types you should avoid. If you&#8217;ve been reading this blog for a while, and paying attention, you will probably not be surprised by most of the ratings.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/dlgChartTypesShaded.png" alt="Chart Types Dialog in Excel 2010" /></p>
<h2><span id="more-3329"></span>Explanations for the ratings</h2>
<h3>Preferred</h3>
<p>This group comprises the commonest and most easily understood charts you can make. Line charts and XY (Scatter Charts), with and without markers and lines. Simple clustered bar and column charts.</p>
<h3>Acceptable</h3>
<p>These charts are also readily understood, but might not be the first choice for most data sets. They should be used with &#8220;a little&#8221; caution.</p>
<p>Stacked charts are tougher to decode. Because the bars do not share a common baseline, their lengths are harder to compare.</p>
<p>Stock charts are tough for non-finance people to get, because they convey a lot of information in a specialized way. However, for people familiar with them, stock charts are very useful.</p>
<h3>Use With Caution</h3>
<p>This set of charts can be useful, if you understand their limitations and drawbacks, and if the audience is skilled in their interpretation.</p>
<p>Stacked line charts can be confusing if the audience does not understand that each line represents a cumulative total of that line&#8217;s data plus all previous lines&#8217; data.</p>
<p>Ordinary 2D pie charts can be useful if the number of data points is small and you only use one at a time. Bar charts generally do a better job.</p>
<p>Area charts are problematic for several reasons. Unstacked charts risk areas in back being obscured by those in front, while stacked ones may have an issue if the audience doesn&#8217;t realize they represent cumulative data. Line charts are often a better option.</p>
<p>Bubble charts cause problems with interpretation of bubble sizes. Is the area or the diameter proportional to the data being represented? Also, the resolution isn&#8217;t too good. It&#8217;s often best to use bubble size to indicate discrete factors.</p>
<p>Radar or spider charts seem like they&#8217;d be good at displaying cyclic data, but the spoke length is often confounded by the areas within the lines, and it&#8217;s impossible to compare values which are not on the same spoke. Line charts are usually a better choice.</p>
<p>Surface and contour charts are the only 3D charts not rated &#8220;AVOID&#8221;. They can be useful for showing some data. The X and Y values are not treated as numeric variables, but as categories (though you can still use them for numerical values if the points are equally spaced along the axes). Some orientations may lead to features in front obscuring features in back. The wireframe versions have too many line segments, the filled ones may rely too much on color, and starting in 2007, the filled ones have a weird shading applied which often makes the chart less clear. However, when used with care, these can be useful tools.</p>
<h3>AVOID</h3>
<p>These charts should be avoided because they are difficult to interpret, and some of them have features which may actually distort data.</p>
<p>Most 3D charts are particularly troublesome. The audience has trouble lining up the data elements with offset axes, some elements hide other elements, and the perspective may stretch some elements and shrink others. In many cases the third dimension is a false dimension, created not with data but with lots of extra non-data ink.</p>
<p>All but the simplest 2D pie charts are problematic: donut charts, pie-of-pie and bar-of-pie charts, exploded pie charts. These all have features that make them even less comprehensible than regular 2D pie charts.</p>
<h2>New Dialog</h2>
<p>What if we just remove the charts rated &#8220;AVOID&#8221; from the dialog and do a little rearranging? This isn&#8217;t bad:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-09/NewChartTypeDialog.png" alt="Proposed Replacement Excel Chart Type Dialog" /></p>
<h2>&#8220;Missing&#8221; Chart Types</h2>
<p>There are various other chart types that aren&#8217;t in the Excel dialog, but which you can still make in Excel. You need the savvy to figure out how to arrange the data and how to mix various chart types, and you need the patience to repeat these tasks as necessary. There&#8217;s no decent <a href="http://peltiertech.com/Excel/Charts/ChartIndex.html#Histo" rel="nofollow" title="Excel Histograms" >Histogram</a> (despite what the Analysis Toolpak claims), though you can make a column chart and fix it up. Similarly you can make your own <a href="http://peltiertech.com/WordPress/pareto-charts/"title="Excel Pareto Charts" >Pareto Chart</a> by adding a line series to a column chart. You can make <a href="http://peltiertech.com/WordPress/tornado-charts-and-dot-plots/"title="Tornado Charts and Dot Plots" >Tornado Charts</a> or simple <a href="http://peltiertech.com/Excel/Charts/ChartIndex.html#Gantt" rel="nofollow" title="Excel Gantt Charts" >Gantt Charts</a> by pimping a bar chart. I&#8217;ve written some tutorials that show how to make tricky chart types and utilities that will do the work at the click of a button: <a href="http://peltiertech.com/WordPress/excel-waterfall-charts-bridge-charts/"title="Excel Waterfall Charts (Bridge Charts)" >Waterfall Charts (Bridge Charts)</a>, <a href="http://peltiertech.com/WordPress/excel-box-and-whisker-diagrams-box-plots/"title="Excel Box and Whisker Diagrams (Box Plots)" >Box and Whisker Charts</a>, <a href="http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/"title="Clustered and Stacked Column and Bar Charts" >Clustered and Stacked Column and Bar Charts</a>, <a href="http://peltiertech.com/WordPress/marimekko-charts/"title="Marimekko Charts" >Marimekko Charts</a>, <a href="http://peltiertech.com/Excel/Charts/DotPlot.html" rel="nofollow" title="Dot Plots" >Dot Plots</a>, and <a href="http://peltiertech.com/WordPress/how-to-build-a-simple-panel-chart/"title="How to Build a Simple Panel Chart" >Panel Charts</a>.
<p>Peltier Technical Services, Inc., Copyright © 2011.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://peltiertech.com/Utility/" rel="nofollow"  title="PTS Chart Utilities: Waterfall, Cluster-Stack Column, Box and Whisker, Marimekko"><img src="http://peltiertech.com/Utility/pix/pts_banner_map.png" alt="PTS Chart Utilities: Waterfall, Box and Whisker, Cluster-Stack, Panel, Marimekko, Dot, Panel" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/excel-chart-types/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Clustered and Stacked Column and Bar Charts</title>
		<link>http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/</link>
		<comments>http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 12:18:38 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Chart Types]]></category>
		<category><![CDATA[clustered stacked bar chart]]></category>
		<category><![CDATA[clustered stacked column chart]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=3316</guid>
		<description><![CDATA[Excel has built-in chart types for clustered columns and bars, and for stacked columns and bars. One of the commonest charting questions in online Excel forums is, &#8220;How do I make a chart that is both clustered and stacked?&#8221; This article demonstrates a protocol that works in both modern versions of Excel, that is, Excel [...]]]></description>
			<content:encoded><![CDATA[<p>Excel has built-in chart types for clustered columns and bars, and for stacked columns and bars. One of the commonest charting questions in online Excel forums is, &#8220;How do I make a chart that is both clustered and stacked?&#8221;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Col_00.png" alt="Cluster-Stack Column Chart" width="297" height="187" /></p>
<p>This article demonstrates a protocol that works in both modern versions of Excel, that is, Excel 2003 and earlier and Excel 2007 and later. The technique is a bit convoluted, and it requires an expanded data layout to get the appropriate appearance. And there&#8217;s an additional degree of complexity to get the category labels to line up neatly under or beside the clusters.</p>
<p>For those who need to produce many of these charts, and who don&#8217;t have 15 minutes to spend on each one, I have created the <a href="#utility" rel="nofollow" class="vt-p" title="Peltier Tech Cluster Stack Chart Utility" >Peltier Tech Cluster Stack Chart Utility</a>, a commercial Excel add-in that does the heavy lifting at the click of a button.<span id="more-3316"></span></p>
<h2>Built-In Column and Bar Charts</h2>
<p>Let&#8217;s start with this simple data set, which compares budget and actual values for three commodities for two quarters of the year. We want to have clusters for each commodity, with stacked actual values next to stacked budget values within each cluster.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Data_01.png" alt="Data for Cluster-Stack Charts" width="342" height="86" /></p>
<p>Without any effort or thought we can easily create clustered column or bar charts from this data.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_01.png" alt="Clustered Column and Bar Charts" width="594" height="187" /></p>
<p>Stacked column and bar charts are just as easy.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_02.png" alt="Stacked Column and Bar Charts" width="594" height="187" /></p>
<p>It&#8217;s not obvious how to combine the chart types. The protocol involves inserting blank rows and cells into the data range of a stacked column or bar chart, and values only appear in some of the places in the chart. The proper arrangement will cluster stacks of values with stacks of zeros separating the clusters.</p>
<h2>Starting the Chart</h2>
<p>I&#8217;ll leave the original data alone (always a good practice) and create a staging data region which is linked to the original data. The easiest way to do this is to copy the original data, then use Paste Special Link to start building the staging area. We&#8217;ll make our chart first, then explore how modifying the data layout changes the chart. In practice, we&#8217;ll modify the data first and then make the chart, knowing the effects of data layout on chart appearance.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Data_02.png" alt="Data for Cluster-Stack Charts" width="342" height="171" /></p>
<p>The first step is to make a stacked column or bar chart from the data in B6:E9.  There are no categories selected (i.e., the commodities are not part of the initial chart), so Excel just uses the counting numbers 1, 2, 3.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_03.png" alt="Cluster-Stack Column and Bar Charts - Step 1" width="594" height="187" /></p>
<p>Since categories always start from the origin, the bar chart&#8217;s category labels go from the bottom up, instead of top down as in the sheet. So the vertical axis has to be formatted to make the categories go in reverse order. Also the value (horizontal) axis has to cross at the maximum category, which is at the bottom now, since the order of categories was reversed.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_04.png" alt="Cluster-Stack Column and Bar Charts - Step 2" width="594" height="187" /></p>
<h2>Adjusting the Data</h2>
<p>So that&#8217;s only stacked. Let&#8217;s adjust the data by inserting some rows.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Data_03.png" alt="Expanded Data for Cluster-Stack Charts" width="269" height="137" /></p>
<p>The stacks of columns/bars are now spread out. Not yet what we want.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_05.png" alt="Cluster-Stack Column and Bar Charts - Step 3" width="594" height="187" /></p>
<p>But lets stagger the budget data by a row, to move the budget data points off the actual data and onto blank slots in the chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Data_04.png" alt="Expanded Data for Cluster-Stack Charts" width="269" height="154" /></p>
<p>Unfortunately the staggering doesn&#8217;t happen automatically, so we have to go back and tell Excel what data range to use for the chart. Right click on the chart, then select Select Data or Source Data (the command is version-specific). Click in the Chart Data Range box, and select this whole data range.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_06.png" alt="Cluster-Stack Column and Bar Charts - Step 4" width="594" height="187" /></p>
<p>One more adjustment to the data. Let&#8217;s insert a row at the beginning and end so there&#8217;s a space outside of the first and last cluster.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Data_05.png" alt="Expanded Data for Cluster-Stack Charts" width="269" height="188" /></p>
<p>Again, we have to explicitly tell the chart about the updated data range. This is almost what we want.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_07.png" alt="Cluster-Stack Column and Bar Charts - Step 5" width="594" height="187" /></p>
<p>Reduce the gap between columns/bars to give the chart a clustered appearance, and color code the data series to make it clearer which data series are associated.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_08.png" alt="Cluster-Stack Column and Bar Charts - Step 6" width="594" height="187" /></p>
<p>In practice, it is not necessary to create a chart using the compact data and adjust it after every modification to the data. The correct protocol is to adjust the data, and then make the chart shown here, and proceed with adding labels, below.</p>
<h2>Adding the Labels</h2>
<p>Almost done. We need to add the category (cluster) labels. We&#8217;ll do this by adding a &#8220;dummy&#8221; series to the secondary axis, and the secondary axis will have the category labels we want. Add a column to the original data range for the dummy axis series (column F in our example).</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Data_06.png" alt="Finalized Data for Cluster-Stack Charts" width="382" height="290" /></p>
<p>Select this added data (F1:F4), and hold Ctrl while selecting the column with our labels (A1:A4), so that both areas are highlighted. Make sure you include the blank top cell in the first column. Copy the range, and use paste special to add this data to the chart as a new series, in columns, with series name in the first row and category labels in the first column.</p>
<p>In Excel 2003 and earlier, the original labels (1, 2, 3, etc.) remain along the axis, but in 2007, the new labels take their place, even if we hadn&#8217;t checked &#8220;Replace Existing Categories&#8221;.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_09.png" alt="Cluster-Stack Column and Bar Charts - Step 7" width="594" height="187" /></p>
<p>Since zero value bars have zero height or width, they don&#8217;t appear in the chart. Just to show where this new series is added, I&#8217;ve temporarily replaced the zeroes in column F with values of 500. The series spans only the first three categories.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_10.png" alt="Cluster-Stack Column and Bar Charts - Step 8" width="594" height="187" /></p>
<p>If you&#8217;re making a stacked-clustered column chart, convert this new series to a line chart type. Sometimes Excel 2007 doesn&#8217;t expand the legend enough to show the legend entry for Axis, so I&#8217;ve stretched it in this chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_11.png" alt="Cluster-Stack Column and Bar Charts - Step 9" width="594" height="187" /></p>
<h2>Manipulating the Axes</h2>
<p>Now format the Axis series to place it onto the secondary axis. To do this, select the Axis series. If you can&#8217;t see the Axis series, click the dropdown in the top left of the Chart Tools &gt; Layout or Format tab, and choose the Axis series. Then press Ctrl+1 (numeral one) to open the Format Series dialog. On the first tab, choose Secondary Axis.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_12.png" alt="Cluster-Stack Column and Bar Charts - Step 10" width="594" height="187" /></p>
<p>Now add the secondary category axis, which is secondary horizontal in 2007 column charts and secondary vertical in 2007 bar charts. This command in on the Chart Tools &gt; Layout tab.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_13.png" alt="Cluster-Stack Column and Bar Charts - Step 11" width="594" height="187" /></p>
<p>We need to reverse the bar chart&#8217;s secondary vertical axis (like we did the primary when we first made the bar chart), and at the same time, make the horizontal axis cross in the automatic position, which generally means at zero or at the minimum.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_14.png" alt="Cluster-Stack Column and Bar Charts - Step 12" width="594" height="187" /></p>
<p>Now we have to switch the position of the category labels. In the column chart, format the left hand vertical axis so the horizontal axis cross at the maximum, and format the right hand vertical axis so the horizontal axis crosses at the automatic (minimum) position.</p>
<p>In the bar chart, format the bottom horizontal axis so the vertical axis cross at the maximum, and format the top horizontal axis so the vertical axis crosses at the automatic (minimum) position.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_15.png" alt="Cluster-Stack Column and Bar Charts - Step 13" width="594" height="187" /></p>
<p>We want only half a slot on the outside of the first and last clusters, not the full slot shown above, to center each cluster on the commodity category labels. Format the top horizontal axis of the column chart, or the right vertical axis of the bar chart, so the crossing axis is positioned between tick marks.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_16.png" alt="Cluster-Stack Column and Bar Charts - Step 14" width="594" height="187" /></p>
<p>Select the secondary value axis, which is scaled from 0 to 1 (the right vertical axis of the column chart, or the top horizontal axis of the bar chart), and delete it.</p>
<p>Format the primary category axis, which is scaled from 1 to 10 (the top horizontal axis of the column chart, or the right vertical axis of the bar chart), and format it so it has no tick marks or tick labels, and no line type.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_17.png" alt="Cluster-Stack Column and Bar Charts - Step 15" width="594" height="187" /></p>
<p>Finally, select the Axis legend entry. In Excel 2003 be sure to select the text label, not the legend key (the marker and line). Press Delete. In the column chart, format the Axis series to be invisible (no marker, no line).</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColBar_18.png" alt="Cluster-Stack Column and Bar Charts - Finished" width="594" height="187" /></p>
<p>That wasn&#8217;t so hard, was it? Though it did take a very long time.</p>
<h2>Adding a Line to a Clustered-Stacked Column Chart</h2>
<p>It&#8217;s relatively easy to overlay a line chart series onto the clustered-stacked column chart. Instead of the column of zeros we used to generate our commodity axis labels, put in the values you want to plot, and add a meaningful column header.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_Data_07.png" alt="Data for Cluster-Stack Column Chart with Line" width="405" height="290" /></p>
<p>When you go through the process above to add your labels and manipulate the axes, you will end up with data points where you want them. Just don&#8217;t bother hiding the series at the end of the process. If you want to show the line on a secondary axis, despite my <a href="http://peltiertech.com/WordPress/secondary-axes-in-charts-2/"class="vt-p" title="Secondary Axes in CHarts" >warnings to the contrary</a>, don&#8217;t delete the axis, simply scale it appropriately to your data.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-07/CS_ColLine_19.png" alt="Cluster-Stack Column Chart with Line" width="320" height="187" /></p>
<p><a class="vt-p" name="utility"></a></p>
<p>Adding a line to a cluster-stack bar chart is much more complicated, so I will not cover it here.</p>
<h2>Peltier Tech Cluster Stack Chart Utility</h2>
<p><a href="http://peltiertech.com/Utility/ClusterStackUtility.html" rel="nofollow" class="vt-p" title="Peltier Tech Cluster Stack Chart Utility" ><img style="border-width: 0pt; margin-right: 12px; float: left;" src="http://peltiertech.com/Utility/pix/ptstileclustera.png" alt="Peltier Tech Cluster Stack Chart Utility" /></a></p>
<p>This tutorial shows how to create Clustered-Stacked Charts, including the specialized data layout needed, and the detailed combination of chart series and chart types required. This manual process takes time, can be prone to error, and becomes tedious.</p>
<p>I have created the <strong>Peltier Tech Cluster Stack Chart Utility</strong> to create such charts automatically from raw data. This utility, a standard Excel add-in, lays out data in the required layout, then constructs a chart with the right combination of chart types. This is a commercial product, tested on hundreds of machines in a wide variety of configurations, which saves time and aggravation.</p>
<p>The Peltier Tech Cluster Stack Utility creates charts in either horizontal or vertical orientation.</p>
<p>Please visit the <a href="http://peltiertech.com/Utility/ClusterStackUtility.html" rel="nofollow" class="vt-p" title="Peltier Tech Cluster Stack Chart Utility" >Peltier Tech Cluster Stack Chart Utility</a> page or the <a href="http://peltiertech.com/Utility/ClusterStackUtilityDocs.html" rel="nofollow" class="vt-p" title="Peltier Tech Cluster Stack Chart Utility Documentation" >Peltier Tech Cluster Stack Chart Utility Documentation</a> page for more information.
<p>Peltier Technical Services, Inc., Copyright © 2011.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://peltiertech.com/Utility/" rel="nofollow"  title="PTS Chart Utilities: Waterfall, Cluster-Stack Column, Box and Whisker, Marimekko"><img src="http://peltiertech.com/Utility/pix/pts_banner_map.png" alt="PTS Chart Utilities: Waterfall, Box and Whisker, Cluster-Stack, Panel, Marimekko, Dot, Panel" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
		</item>
		<item>
		<title>Excel Waterfall Charts (Bridge Charts)</title>
		<link>http://peltiertech.com/WordPress/excel-waterfall-charts-bridge-charts/</link>
		<comments>http://peltiertech.com/WordPress/excel-waterfall-charts-bridge-charts/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 18:00:29 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Chart Types]]></category>
		<category><![CDATA[Waterfall Chart]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=3311</guid>
		<description><![CDATA[Waterfall charts are commonly used in business to show how a value changes from one state to another through a series of intermediate changes. For example, you can project next year&#8217;s profit or cash flow starting with this year&#8217;s value, and showing the up and down effects of changing costs, revenues, and other inputs. Waterfall [...]]]></description>
			<content:encoded><![CDATA[<p>Waterfall charts are commonly used in business to show how a value changes from one state to another through a series of intermediate changes. For example, you can project next year&#8217;s profit or cash flow starting with this year&#8217;s value, and showing the up and down effects of changing costs, revenues, and other inputs. Waterfall charts are often called bridge charts, because a waterfall chart shows a bridge connecting its endpoints. A simple waterfall chart is shown below:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart2B.png" alt="Stacked Column Waterfall Chart - Finished" /></p>
<p><span id="more-3311"></span>There is more than one way to create a waterfall chart in Excel. The first approach described below is to create a stacked column chart with up and down columns showing changes and a transparent columns that help the visible columns to float at the appropriate level. Under some circumstances this simple approach breaks down, and another approach is described.</p>
<h2>Floating Column Chart Data and Calculations</h2>
<p>Here is some sample data showing how to construct a stacked-column waterfall chart. The left table has a column of labels, then a column with just the initial and final values, then columns with increases and decreases in value. This is the almost arrangement needed for making the chart, but I prefer to put these values into a single column as shown at right, and let the formulas sort it all out.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData01.png" alt="Original Data for Waterfall Chart" /></p>
<p>The first approach most people try is to use a floating column chart, that is, a stacked column chart with the bottom column in the stack hidden to make the others float.  This range contains the calculations needed to make a floating column waterfall chart. After the two columns of labels and values, as in the top right table, there are calculated columns for the chart endpoints, the blank series that supports the floaters, and up and down values. Here are the formulas; the formulas in D3:F3 are filled down to row 7:</p>
<p style="padding-left: 60px;">Cell C2: <code>=B2</code></p>
<p style="padding-left: 60px;">Cell C8: <code>=SUM(B2:B7)</code></p>
<p style="padding-left: 60px;">Cell D3: <code>=MIN(SUM(B$2:B2),SUM(B$2:B3))</code></p>
<p style="padding-left: 60px;">Cell E3: <code>=MAX(B3,0)</code></p>
<p style="padding-left: 60px;">Cell F3: <code>=-MIN(B3,0)</code></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData02.png" alt="Calculated Data for Stacked Column Waterfall Chart" /></p>
<p>The chart is pretty easy to make. Select A1:A8 (yes, include the blank top cell), hold Ctrl and select C1:F8 so both selected areas are highlighted, and create a stacked column chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart2A.png" alt="Stacked Column Waterfall Chart - Step 1" /></p>
<p>Finish up with a little formatting. Set the gap width of the columns to 75%: format the series and on the Series Options or Options tab, change the value for gap width. Hide the Blank series by giving it no border and no fill, use colors that invoke positive and negative for the audience (usually green and red, which makes it tough for those with color vision deficiencies), remove the legend.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart2B.png" alt="Stacked Column Waterfall Chart - Finished" /></p>
<h2>Data Crossing into Negative Territory: Breakdown with Stacked Columns</h2>
<p>That seems just too simple to be true. And in fact, for data like the following, which has negative as well as positive values, the simple floating column chart approach fails.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData03.png" alt="Negative Data for Stacked Column Waterfall Chart" /></p>
<p>The green and red bars are the correct length, and as long as they are located completely above the horizontal axis, the chart is cool. But the formula computing the blank values is too simplistic, and Excel prohibits the floating bars from floating across the axis.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart3A.png" alt="Stacked Column Waterfall Chart with Negative Data - Step 1" /></p>
<p>You can still use stacked columns, but you need to compute two sets of up bars and two sets of down bars, one set of each that lies above the axis, and one that lies below the axis. You also need to fix the formula for the blank series so it floats each column above or below the axis as necessary, or provides no float if the column spans the axis.  Wow, so complicated.</p>
<p>But wait!</p>
<h2>Approach Using Up-Down Bars</h2>
<p>There is another approach which takes a bit longer to chart, but the formulas are easier, and the columns in this case are able to float anywhere, even across the axis.  This approach is based on line charts and a line chart feature called up-down bars. Up-down bars connect the first line chart value at a category to the last, like the open-close bars in a stock chart. In fact, Excel uses up-down bars as open-close bars in its stock charts. The up bars and down bars can be formatted individually.</p>
<p><span style="color: #000000;">The range below contains the calculations needed to make an up-down bar waterfall chart. After the two columns of labels and values, as above, there are calculated columns for the chart endpoints, and the values before and after adding an item to the previous total. Here are the formulas; the formulas in D3:E3 are filled down to row 7:</span></p>
<p style="padding-left: 60px;">Cell C2: <code>=B2</code></p>
<p style="padding-left: 60px;">Cell C8: <code>=SUM(B2:B7)</code></p>
<p style="padding-left: 60px;">Cell D3: <code>=SUM(B$2:B2)</code></p>
<p style="padding-left: 60px;">Cell E3: <code>=SUM(B$2:B3)</code></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData04.png" alt="Calculated Data for Up-Down Bar Waterfall Chart" /></p>
<p>The chart-making process is a bit longer than for the floating column chart approach. Select A1:A8, hold Ctrl while selecting C1:E8, and create a line chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4A.png" alt="Up Down Bar Waterfall Chart - Step 1" /></p>
<p>Select the Ends series and convert it to a column chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4B.png" alt="Up Down Bar Waterfall Chart - Step 2" /></p>
<p>Select one of the line series, and add Up-Down Bars. In Excel 2007 and 2010, go to the Chart Tools &gt; Layout tab, click the Up-Down Bars button, and select Up-Down Bars from the menu. In Excel 2003 and earlier, format the series, and check Up-Down Bars on the Options tab.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4C.png" alt="Up Down Bar Waterfall Chart - Step 3" /></p>
<p>Hide the line chart series by formatting them to show no line and no markers, and format the up-down bar colors.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4D.png" alt="Up Down Bar Waterfall Chart - Step 4" /></p>
<p>Remove the legend, and change the gap width of the column and the up-down bars to 0.75. This is easy for the column: simply format the series and on the Series Options or Options tab, change the gap width value. For the up-down bars in Excel 2003 and 2010, format one of the line chart series, and on the Options or Series Options tab, change the gap width value.</p>
<p>In Excel 2007 there is no way to change the up-down bar gap width from within the user interface, but you can do it with VBA. Press Alt+F11 to open the Visual Basic Editor. Press Ctrl+G (or go to View menu &gt; Immediate Window) to open the Immediate Window. Type the following line of code into the Immediate Window (capitalization does not matter), then press Enter:</p>
<p style="padding-left: 60px;"><code>ActiveChart.ChartGroups(2).GapWidth = 75</code></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4E.png" alt="Up Down Bar Waterfall Chart - Finished" /></p>
<p>Indistinguishable from the floating stacked column approach.</p>
<h2>Data Crossing into Negative Territory: No Problem with Up-Down Bars</h2>
<p>This is the negative trending data set that messed up the floating columns. The up-down formulas work just fine.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData05.png" alt="Negative Data for Up-Down Bar Waterfall Chart" /> Follow the same process. Create a line chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart5A.png" alt="Up Down Bar Plus Minus Waterfall Chart - Step 1" /></p>
<p>Change the Ends series to columns.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart5B.png" alt="Up Down Bar Plus Minus Waterfall Chart - Step 2" /></p>
<p>Add up-down bars to the lines.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart5C.png" alt="Up Down Bar Plus Minus Waterfall Chart - Step 3" /></p>
<p>Hide the lines and markers and format your colors.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart5D.png" alt="Up Down Bar Plus Minus Waterfall Chart - Step 4" /></p>
<p>Change the necessary gap widths, and delete the legend.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart5E.png" alt="Up Down Bar Plus Minus Waterfall Chart - Finished" /></p>
<p>Perfect, no problem with spanning the axis with our floating columns.</p>
<h2>Stacked Columns for Positive and Negative Data</h2>
<p>Earlier I said that it&#8217;s possible to use stacked columns for mixed values, and for completeness I&#8217;m going to describe the protocol here. If you don&#8217;t care to read about it, feel free to skip ahead, or to visit some of the other tutorials on this web site.</p>
<p>Here&#8217;s the start of the calculations for the stacked-column-across-the-axis approach. Here are the formulas for blanks above and below zero in D3 and E3:</p>
<p style="padding-left: 60px;">Cell D3: <code>=MAX(0,MIN(SUM(B$2:B2),SUM(B$2:B3)))</code></p>
<p style="padding-left: 60px;">Cell E3: <code>=MIN(0,MAX(SUM(B$2:B2),SUM(B$2:B3)))</code></p>
<p>Since at most only one of these has a non-zero value, we can replace the two formulas by a single formula which adds them together:</p>
<p style="padding-left: 60px;">Cell F3: <code>=MAX(0,MIN(SUM(B$2:B2),SUM(B$2:B3)))+MIN(0,MAX(SUM(B$2:B2),SUM(B$2:B3)))</code></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData06.png" alt="Partially Calculated Data for Stacked Column Plus Minus Waterfall Chart" /></p>
<p>Let&#8217;s consolidate the Blank column, and compute the other values. Here are the formulas; those in D3:H3 are filled down to row 7:</p>
<p style="padding-left: 60px;">Cell C2: <code>=B2</code></p>
<p style="padding-left: 60px;">Cell C8: <code>=SUM(B2:B7)</code></p>
<p style="padding-left: 60px;">Cell D3: <code>=MAX(0,MIN(SUM(B$2:B2),SUM(B$2:B3)))+MIN(0,MAX(SUM(B$2:B2),SUM(B$2:B3)))</code></p>
<p style="padding-left: 60px;">Cell E3: <code>=MAX(0,MIN(SUM(B$2:B3),B3))</code></p>
<p style="padding-left: 60px;">Cell F3: <code>=-MAX(0,B3-E3)</code></p>
<p style="padding-left: 60px;">Cell G3: <code>=MAX(0,H3-B3)</code></p>
<p style="padding-left: 60px;">Cell H3: <code>=MIN(0,MAX(SUM(B$2:B3),B3))</code></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData07.png" alt="Calculated Data for Stacked Column Plus Minus Waterfall Chart" /></p>
<p>Select A1:A8, hold Ctrl while selecting C1:H8 so both areas are highlighted, and create a stacked column chart.  <img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart7A.png" alt="Stacked Column Plus Minus Waterfall Chart - Step 1" /> Format the Blank series to hide it, format both Up series the same and both Down series the same.  <img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart7B.png" alt="Stacked Column Plus Minus Waterfall Chart - Finished" /> The result is almost identical to the up-down bar version, except here the horizontal axis is not hidden by the bars that cross the axis.</p>
<h2>Waterfall Chart with Intermediate Cumulative Totals</h2>
<p>It&#8217;s easy to accommodate intermediate totals in a waterfall chart. Adjust your formulas so the Ends series has a cumulative total and no red or green bars at the appropriate category. Construction of the charts is the same as without the intermediate totals.</p>
<p>Here is how the data and charts appear for a stacked column waterfall chart with intermediate totals:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData02A.png" alt="Calculated Data for Stacked Column Waterfall Chart with Interdediate Totals" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart2C.png" alt="Stacked Column Waterfall Chart with Intermediate Totals - Step 1" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart2D.png" alt="Stacked Column Waterfall Chart with Intermediate Totals - Finished" /></p>
<p>Here is how the data and charts appear for an up-down bar waterfall chart with intermediate totals:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData04A.png" alt="Calculated Data for Up-Down Bar Waterfall Chart with Intermediate Totals" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4F.png" alt="Up Down Bar Waterfall Chart with Intermediate Totals - Step 1" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4G.png" alt="Up Down Bar Waterfall Chart with Intermediate Totals - Step 3" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart4H.png" alt="Up Down Bar Waterfall Chart with Intermediate Totals - Finished" /></p>
<p><span style="font-size: 20px; font-weight: bold;">Peltier Tech Waterfall Chart Utility</span></p>
<p>This tutorial shows how to create waterfall charts in Excel, including the specialized data layout needed, and the detailed combination of chart series and chart types required. This manual process takes time, can be prone to error, and soon becomes tedious. If you want to add data labels, tedium increases.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallUtilityCharts.png" alt="Peltier Tech Waterfall Chart Utility Sample Outputs" /></p>
<p>I have created the <strong>Peltier Tech Waterfall Chart Utility</strong> to create such charts automatically from raw data. This utility, a standard Excel add-in, lays out data in the required layout, then constructs a chart with the right combination of chart types. This is a commercial product which has been tested on thousands of machines in a wide variety of configurations. Using this utility will save you time and aggravation.</p>
<p>Please visit the <a href="http://peltiertech.com/Utility/WaterfallUtility.html" rel="nofollow" title="Peltier Tech Waterfall Chart Utility" >Peltier Tech Waterfall Chart Utility</a> page or the <a href="http://peltiertech.com/Utility/WaterfallUtilityDocs.html" rel="nofollow" title="Peltier Tech Waterfall Chart Utility Documentation" >Peltier Tech Waterfall Chart Utility Documentation</a> page for more information.</p>
<p><span style="font-size: 20px; font-weight: bold;">Compound Floating Columns</span></p>
<p>Sometimes a waterfall chart may have two or more items stacked within a floating column. In the data table below, we see that Items A and B both contribute to the accumulating value. This kind of illustration only makes sense if the Item A and B values are all positive or all negative. Otherwise the chart will be confusing.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08a.png" alt="Original Data for Two Value Waterfall Chart" /></p>
<p>This table contains calculated blank data for a stacked (floating) column waterfall:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08b.png" alt="Calculated Data for Two Value Floating Column Waterfall Chart" /></p>
<p>Select the data in column A, then hold Ctrl while selecting the data in columns C through E, and insert a stacked column chart as before.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8b1.png" alt="Floating 2-part Column Waterfall Chart with Monolithic Endpoints - Step 1" /></p>
<p>Hide the blank series and the chart is complete.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8b2.png" alt="Floating 2-part Column Waterfall Chart with Monolithic Endpoints" /></p>
<p>A compound waterfall chart with up to two elements can be made using the up-down bar approach. There can be only one set of up-down bars per axis, so one set is on the primary axis and the other on the secondary axis.</p>
<p>Here is how the data is arranged for up-down bar waterfall. Here are the formulas that generate the table, which are filled down as far as shown:</p>
<p style="padding-left: 60px;">Cell E3: <code>=SUM(B$2:D2)</code></p>
<p style="padding-left: 60px;">Cell F3: <code>=E3+C3</code></p>
<p style="padding-left: 60px;">Cell G3: <code>=F3</code></p>
<p style="padding-left: 60px;">Cell H3: <code>=G3+D3</code></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08c.png" alt="Calculated Data for Two Value Up-Down Bars Waterfall Chart" /></p>
<p>Select A1:B8, then hold Ctrl while selecting E1:H8 so both regions are highlighted, and insert a line chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8c1.png" alt="2-part Up-Down Bar Waterfall Chart with Monolithic Endpoints - Step 1" /></p>
<p>Move the Before B and After B series to the secondary axis.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8c2.png" alt="2-part Up-Down Bar Waterfall Chart with Monolithic Endpoints - Step 2" /></p>
<p>Select the secondary vertical axis (right of chart) and press Delete.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8c3.png" alt="2-part Up-Down Bar Waterfall Chart with Monolithic Endpoints - Step 3" /></p>
<p>Convert the Ends series to a column.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8c4.png" alt="2-part Up-Down Bar Waterfall Chart with Monolithic Endpoints - Step 4" /></p>
<p>Select either Before A or After A and add Up-Down Bars.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8c5.png" alt="2-part Up-Down Bar Waterfall Chart with Monolithic Endpoints - Step 5" /></p>
<p>Select either Before B or After B and add Up-Down Bars.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8c6.png" alt="2-part Up-Down Bar Waterfall Chart with Monolithic Endpoints - Step 6" /></p>
<p>Format the up-down bars and adjust gap widths.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8c7.png" alt="2-part Up-Down Bar Waterfall Chart with Monolithic Endpoints" /></p>
<p>If the endpoints are also split by item, the data looks something like this.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08d.png" alt="Original Data for Two Value Waterfall Chart" /></p>
<p>Here the blanks have been calculated for floating columns:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08e.png" alt="Calculated Data for Two Value Floating Column Waterfall Chart" /></p>
<p>Construction of the chart is the same as before, starting with a stacked column chart, except there is no Ends series.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8e1.png" alt="Floating 2-part Column Waterfall Chart with 2-part Endpoints - Step 1" /></p>
<p>Here is the finished chart with Blanks made transparent.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8e2.png" alt="Floating 2-part Column Waterfall Chart with 2-part Endpoints" /></p>
<p>Here the Before and After A and B values have been calculated for up-down bars:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08f.png" alt="Calculated Data for Two Value Up-Down Bars Waterfall Chart" /></p>
<p>Construction of the chart is the same as before, starting with a line chart, except there is no Ends series which must be converted to columns. Before and After A stay on the primary axis, while Before and After B move to the secndary axis.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8f3.png" alt="2-part Up-Down Bar Waterfall Chart with 2-part Endpoints - Steps 1-2-3" /></p>
<p>Add two sets of up-down bars.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8f5.png" alt="2-part Up-Down Bar Waterfall Chart with 2-part Endpoints - Steps 4-5" /></p>
<p>Hide the legend, hide the lines and markers, and format the up down bars. The chart looks just like that using stacked columns.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8f6.png" alt="2-part Up-Down Bar Waterfall Chart with 2-part Endpoints" /></p>
<p>Because there are only primary and secondary axes in an Excel chart, the up-down bar approach can only support a two-item per stack waterfall chart. The stacked column approach can support many more items: the limitation is imposed by the legibility of the resulting chart.</p>
<p>Here is data for a waterfall chart with three items per stack (you could add enough items to make your chart illegible).</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08g.png" alt="Original Data for Three Value Waterfall Chart" /></p>
<p>The data has a calculated Blank column to float the three columns.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallData08h.png" alt="Calculated Data for Three Value Floating Column Waterfall Chart" /></p>
<p>Select the data in column A, and hold Ctrl while selecting the data in columns C through F, and insert a stacked column chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8h1.png" alt="Floating 3-part Column Waterfall Chart - Step 1" /></p>
<p>Hide the Blank series, and hide the unwanted legend entries (click once to select the legend, and click a second time on the legend entry, and press Delete).</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2011-06/WaterfallChart8h2.png" alt="Floating 3-part Column Waterfall Chart" />
<p>Peltier Technical Services, Inc., Copyright © 2011.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://peltiertech.com/Utility/" rel="nofollow"  title="PTS Chart Utilities: Waterfall, Cluster-Stack Column, Box and Whisker, Marimekko"><img src="http://peltiertech.com/Utility/pix/pts_banner_map.png" alt="PTS Chart Utilities: Waterfall, Box and Whisker, Cluster-Stack, Panel, Marimekko, Dot, Panel" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/excel-waterfall-charts-bridge-charts/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

