<?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; Excel 2010</title>
	<atom:link href="http://peltiertech.com/WordPress/category/excel-2010/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>Sparklines For Excel vs. Excel 2010 Sparklines (Guest Post)</title>
		<link>http://peltiertech.com/WordPress/sparklines-for-excel-vs-excel-2010-sparklines-guest-post/</link>
		<comments>http://peltiertech.com/WordPress/sparklines-for-excel-vs-excel-2010-sparklines-guest-post/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 07:00:43 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Excel 2010]]></category>
		<category><![CDATA[Guest Post]]></category>
		<category><![CDATA[sparklines]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2972</guid>
		<description><![CDATA[Back in November I came across a new blog, called Data Driven Consulting. On this blog I found articles covering some of my favorite topics, including graphics and data visualization. I snooped around and discovered that the author of the blog, Alex Kerin, lives only 20 miles away from me here in the snow belt [...]]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px; padding-right: 30px;"><em>Back in November I came across a new blog, called <a href="http://blog.datadrivenconsulting.com/" rel="nofollow" title="Data Driven Consulting Blog" >Data Driven Consulting</a>. On this blog I found articles covering some of my favorite topics, including graphics and data visualization. I snooped around and discovered that the author of the blog, <strong>Alex Kerin</strong>, lives only 20 miles away from me here in the snow belt of Massachusetts. We got together over lunch to discuss our mutual interests, and the first outcome of our meeting is this post which Alex has prepared for the Peltier Tech blog.<br />
 </em></p>
<p style="padding-left: 30px; padding-right: 30px;"><em>Alex is founder of <a href="http://www.datadrivenconsulting.com/" rel="nofollow" title="Data Driven Consulting" >Data Driven Consulting</a>, an independent consulting company that focuses on obtaining high quality data to facilitate effective business decisions. Data Driven Consulting specializes in a number of areas, including market research, dashboard and data presentation, and authoring of white papers and e-content.</em></p>
<p>One of the more anticipated functions of Excel 2010 is Microsoft’s implementation of sparklines (as defined by Edward Tufte &#8211; <a href="http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR&amp;topic_id=1&amp;topic=" rel="nofollow" title="Sparklines: theory and practice" >data intense, design-simple, word-sized graphics</a>). Although the <a href="http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003Y1&amp;topic_id=1" rel="nofollow" >recent patent application</a> made by Microsoft would seem to imply that they are the inventors of in-cell sparklines, both Edward Tufte and the software vendors who have offered Excel sparkline solutions would beg to differ.</p>
<p>One of these solutions, <a href="http://sparklines-excel.blogspot.com/" rel="nofollow" title="Sparklines for Excel" >Sparklines for Excel (SFE)</a>, is favored by many, is free and open-source, and works well. There are versions for Excel 2003 (and before), and Excel 2007, with the latter version adding a new section to the ribbon. Below are screenshots of the implementations – click on these reduced images to open a new window showing the full size sparkline tabs.</p>
<p style="text-align: center;"><a title="Excel 14 Sparkline ribbon tab" href="http://peltiertech.com/images/2010-01/RibbonXL14.png" target="_blank"><img src="http://peltiertech.com/images/2010-01/RibbonXL14s.png" border="0" alt="Excel 14 Native Sparkline ribbon tab" /><br />
 Excel 14 Native Sparkline ribbon tab</a></p>
<p style="text-align: center;"><a title="Sparklines for Excel ribbon tab" href="http://peltiertech.com/images/2010-01/RibbonSFE.png" target="_blank"><img src="http://peltiertech.com/images/2010-01/RibbonSFEs.png" border="0" alt="Sparklines for Excel add-in ribbon tab" /><br />
 Sparkline For Excel Add-In Ribbon Tab</a></p>
<p><span id="more-2972"></span>Given the anticipation of Excel 2010’s sparklines it makes sense to compare the two offerings. This table compares the functionality of the two options.</p>
<table style="border-style: none; margin: 12pt auto; display: block; border-collapse: collapse; width: 538px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 81pt;" width="108" valign="top"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 134.8pt;" width="180" valign="top">
<div style="line-height: normal; margin-bottom: 0in; text-align: center;"><strong>Sparklines for Excel</strong></div>
</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26" valign="top"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26" valign="top"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 148.5pt;" width="198" valign="top">
<div style="line-height: normal; margin-bottom: 0in; text-align: center;"><strong>Excel 2010</strong></div>
</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Types of cell charts</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 134.8pt;" width="180" valign="top">14 and growing: Line, Pie, Pareto, Bullet, XY, Scatter, Bar, Column, Stripe&#8230;</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26">
<div style="line-height: normal; margin-bottom: 0in; text-align: center;"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></div>
</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 148.5pt;" width="198" valign="top">Three: Line, Column, Win/Loss</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Overall look (sparklines)</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 134.8pt;" width="180" valign="top"><img src="http://peltiertech.com/images/2010-01/SamplesSFE.jpg" alt="" width="157" height="97" /><br />
 Some blocking, not noticeable at normal zoom levels</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26">
<div style="line-height: normal; margin-bottom: 0in; text-align: center;"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></div>
</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 148.5pt;" width="198" valign="top"><img src="http://peltiertech.com/images/2010-01/SamplesXL14.jpg" alt="" width="155" height="95" /><br />
 Smoother</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Features on individual chart types</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 134.8pt;" width="180" valign="top">Excellent, whole range of markers like hi/low lines, max/min points</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26">
<div style="line-height: normal; margin-bottom: 0in; text-align: center;"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></div>
</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 148.5pt;" width="198" valign="top">Limited to some basic additional data indicators, but they work well</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Ease of deployment</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 134.8pt;" width="180" valign="top">Have to distribute macros with file, some VBA crashes, mostly during creation. Win today, as no built-in option</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 148.5pt;" width="198" valign="top">No extra package, but Excel 2010 needed. Win in 2-3 years when 2010 is ‘standard’.</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Ease of use</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 134.8pt;" width="180" valign="top">More complex, for  example looking up meaning of formula variable, color chart</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 148.5pt;" width="198" valign="top">Easier, native to the product, so formatting is quick</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Code Customization and Stability</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 134.8pt;" width="180" valign="top">VBA macro based (non-locked) so customization possible (and legal)</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 148.5pt;" width="198" valign="top">Not VBA based – more stable, but no customization</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Grouping</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 134.8pt;" width="180" valign="top">Can set max and min so that multiple charts <br />
 scale the same</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 148.5pt;" width="198" valign="top">Adjacent charts are grouped automatically making for easy changes of formatting/scales</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Ease of editing</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 134.8pt;" width="180" valign="top">Charts are shapes created on the basis of formula in the cell</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 148.5pt;" width="198" valign="top">Effectively separate charts, edited with own section on ribbon</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Future additions</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 134.8pt;" width="180" valign="top">Constant addition of new chart types/upgrades to existing</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26">
<div style="line-height: normal; margin-bottom: 0in; text-align: center;"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></div>
</td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; background: #d9d9d9 none repeat scroll 0% 0%; height: 15pt; width: 148.5pt;" width="198" valign="top">Maybe some fixes, but will likely have to wait until Excel 20XX for new chart types</td>
</tr>
<tr style="height: 15pt;">
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 81pt;" width="108" valign="top"><strong>Cost</strong></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 134.8pt;" width="180" valign="top">Free, but you need Excel of course</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26">
<div style="line-height: normal; margin-bottom: 0in; text-align: center;"><img src="http://peltiertech.com/images/2010-01/check-mark.gif" alt="" /></div>
</td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 19.45pt;" width="26"></td>
<td style="border: medium none; padding: 0in 5.4pt; height: 15pt; width: 148.5pt;" width="198" valign="top">Free, at least after you’ve paid any upgrade costs</td>
</tr>
</tbody>
</table>
<p>While there are equal numbers of ticks in both columns, there are clear winners depending on your required functionality and how you intend to share the information. For creating dashboards that benefit from different types of in-cell charts and line markers, SFE is still a clear winner – the range of chart types, the continued development, along with the fact that the sparklines are formula based makes for a powerful tool. Distribution is complicated by the need to load the add-in file, but for dashboards that shouldn’t be a barrier.</p>
<p>On the other hand, for a quick summary of data that is emailed around, the native version in Excel 2010 is clearly simpler. In the near term (until 2012 I would guess), SFE is still really the only option anyway as sparklines created in Excel 2010 simply won’t show on earlier versions.</p>
<p>It’s great that Microsoft has offered sparklines – hopefully end-users will appreciate their value more now they are a native part of the program, and become used to sparklines&#8217; inclusion in their data lives.</p>
<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/sparklines-for-excel-vs-excel-2010-sparklines-guest-post/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Chart Redrawing Performance of Excel 2003 and 2010</title>
		<link>http://peltiertech.com/WordPress/chart-redrawing-performance-excel-2003-2010/</link>
		<comments>http://peltiertech.com/WordPress/chart-redrawing-performance-excel-2003-2010/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 05:01:24 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Excel 2010]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2346</guid>
		<description><![CDATA[In Chart Point Limits in Excel 2010 I investigated the charting capabilities of 2010, in regards to the number of points allowed in a chart. I noted that charts with a million points took a while to redraw, but let&#8217;s not forget, a million points is a lot of points. I decided a comparison was [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://peltiertech.com/WordPress/chart-point-limits-in-excel-2010/"title="Chart Point Limits in Excel 2010 | PTS Blog" >Chart Point Limits in Excel 2010</a> I investigated the charting capabilities of 2010, in regards to the number of points allowed in a chart. I noted that charts with a million points took a while to redraw, but let&#8217;s not forget, a million points is a lot of points.</p>
<p>I decided a comparison was in order between Excel 2003 and Excel 2010. I have Excel 2003 SP3 and Excel 2010 TP installed under Windows XP Pro SP2, on a three-year-old Presario laptop (which has miraculously<a href="http://peltiertech.com/WordPress/new-computer/"title="New Computer | PTS Blog" > recovered from a bad crash</a>) that has 2MB of RAM and a 1.79 GHz AMD single-core processor.</p>
<p><span id="more-2346"></span>I used the following macro to automatically change the chart&#8217;s data range, and measure how long it took to redraw the chart. I started at -2 just because the code seemed to run slowly the first loop or two, and I wanted it to warm up. I adjusted the code to account for the much smaller limit of points per series in Excel 2003.</p>
<pre class="vbasmall">Sub point_timer()
  Dim i As Long
  Dim i10 As Long
  Dim t As Double

  t = Timer
  For i = -2 To 12
    i10 = IIf(i &lt; 0, 1, 10 ^ (i / 2))
    ActiveSheet.ChartObjects(1).Chart.SeriesCollection(1).Values = ActiveSheet.Range("B1")
    ActiveSheet.ChartObjects(1).Chart.SeriesCollection(1).XValues = ActiveSheet.Range("A1")
    DoEvents
    t = Timer
    Application.ScreenUpdating = False
    ActiveSheet.ChartObjects(1).Chart.SeriesCollection(1).Values = ActiveSheet.Range("B1").Resize(i10)
    ActiveSheet.ChartObjects(1).Chart.SeriesCollection(1).XValues = ActiveSheet.Range("A1").Resize(i10)
    Application.ScreenUpdating = True
    DoEvents
    Debug.Print i, i10, Timer - t
  Next
  ActiveSheet.ChartObjects(1).Chart.SeriesCollection(1).Values = ActiveSheet.Range("B1")
  ActiveSheet.ChartObjects(1).Chart.SeriesCollection(1).XValues = ActiveSheet.Range("A1")

End Sub
 </pre>
<p>Here are Excel 2010 and 2003 charts showing my data (X = Row and Y = 1/Row) for 10 points:</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/cht_pts10log.png" alt="Excel 2010 chart with ten points" /><br />
 <strong>Excel 2010 chart with ten points</strong></p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart2003_pts10log.png" alt="Excel 2003 chart with ten points" /><br />
 <strong>Excel 2003 chart with ten points</strong></p>
<p>Here are Excel 2010 and 2003 charts showing their respective maximum number of points:</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/cht_pts1048576log.png" alt="Excel 2010 chart with 1,048,576 points" /><br />
 <strong>Excel 2010 chart with 1,048,576 points</strong></p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart2003_pts32000log.png" alt="Excel 2003 chart with 32,000 points" /><br />
 <strong>Excel 2003 chart with 32,000 points</strong></p>
<p>I&#8217;ve just noticed that the chart export feature has stripped off the axis labels in the Excel 2010 chart.</p>
<p>The timed redrawing results are shown in this table, seconds to redraw vs. number of points:</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/RedrawPerfTable.png" alt="Excel 2010 and 2003 chart redrawing performance" /></p>
<p>This is a blog about charting, so I have charted the performance here:</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/RedrawPerfLog.png" alt="Excel 2010 and 2003 chart redrawing performance" /></p>
<p>At the low end, both versions show a plateau where redraw times are insensitive to the number of points. Excel 2003 is faster than Excel 2010, but by a factor of two or less. At the high end, both versions converge on the same redrawing vs. points line. The ultra long redraw times I observed last week obviously was not due to inferior redrawing, but to superior amounts of data.</p>
<p>This is good news. It means that the work Microsoft has undertaken to improve charting performance, particularly chart redrawing performance, has paid off.</p>
<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/chart-redrawing-performance-excel-2003-2010/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Improved Macro Security Warning in Excel 2010</title>
		<link>http://peltiertech.com/WordPress/improved-macro-security-warning-in-excel-2010/</link>
		<comments>http://peltiertech.com/WordPress/improved-macro-security-warning-in-excel-2010/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 05:00:21 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Excel 2010]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2335</guid>
		<description><![CDATA[In the old days, say, from Excel versions 97 through 2003, when you opened a workbook containing VBA code, you received a big ugly modal dialog box with the macro warning. You had to click a button on the dialog in order to continue. The dialog was annoying, but it was a reminder to allow [...]]]></description>
			<content:encoded><![CDATA[<p>In the old days, say, from Excel versions 97 through 2003, when you opened a workbook containing VBA code, you received a big ugly modal dialog box with the macro warning. You had to click a button on the dialog in order to continue. The dialog was annoying, but it was a reminder to allow the code to run.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/SecurityWarningDialog.png" alt="Macro Security Dialog" /></p>
<p><span id="more-2335"></span>In Excel 2007, if the Visual Basic window is open, you still get this dialog. In fact, the dialog shown above is the Excel 2007 version. However, if the VB window is not open, you don&#8217;t get the dialog. Instead you get a notice embedded in the UI. It&#8217;s a non-modal message, with no beep, and it doesn&#8217;t make you respond to it.</p>
<p>See the notice, tucked away between the ribbon and the formula bar? I didn&#8217;t think so. Half the time I don&#8217;t notice it, and I run around wondering what&#8217;s wrong.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/SecurityWarning2007.png" alt="Macro Security Notice in Excel 2007" /></p>
<p>I can&#8217;t count how often I&#8217;ve loaded a workbook with macros, and not known why they don&#8217;t work. Or at least I&#8217;m annoyed by the next message.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/MacrosDisabled.png" alt="Macros Disabled" /></p>
<p>Excel 2010 works like 2007. If the VB editor is open, you get the blatant dialog that forces you to respond. If the VB editor is closed, you still get the sedate little notice in the UI, but it&#8217;s no longer camouflaged to blend in with the ribbon.</p>
<p>See it there, between the ribbon and the formula bar? Think you could possibly miss it? Good.</p>
<p>This is one bit of gaudy formatting that I welcome. I always see the notice immediately every time it appears.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/SecurityWarning2010.png" alt="Macro Security Notice in Excel 2010" /></p>
<p><br class="spacer_" /></p>
<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/improved-macro-security-warning-in-excel-2010/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Chart Point Limits in Excel 2010</title>
		<link>http://peltiertech.com/WordPress/chart-point-limits-in-excel-2010/</link>
		<comments>http://peltiertech.com/WordPress/chart-point-limits-in-excel-2010/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 05:00:16 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Excel 2010]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2337</guid>
		<description><![CDATA[I heard a rumor that Excle 2010 had expanded limits to how many points you could plot in a chart. From Excel 97 through 2007, you were limited to 32,000 points per chart series, and 256,000 points per chart. As far as I was ever concerned, this was more than enough points to make a [...]]]></description>
			<content:encoded><![CDATA[<p>I heard a rumor that Excle 2010 had expanded limits to how many points you could plot in a chart. From Excel 97 through 2007, you were limited to 32,000 points per chart series, and 256,000 points per chart. As far as I was ever concerned, this was more than enough points to make a chart unreadable. Most charts have a plot area less than 250,000 pixels. The plot area in the following chart, which I&#8217;ve shaded yellow, is rather large, 605 x 423 pixels, or 255,915 total pixels. If every point is one pixel in size, and no points overlap, you couldn&#8217;t fit them all into this chart.</p>
<p>Never mind now long it takes to redraw.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/256Kpixels.png" alt="Chart with 256,000 pixel plot area" /></p>
<p><strong><span id="more-2337"></span>Number of Points in a Series</strong></p>
<p>Despite the limited utility of cramming data points on top of each other, I thought I&#8217;d investigate the rumored new limits. Here&#8217;s an Excel 2010 chart with 100 points; I&#8217;ve used the row number for X and 1/(row number) for Y.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_pts100.png" alt="Chart with 100 points" /></p>
<p>Let&#8217;s skip 1000 points, here&#8217;s a chart with 10,000 points</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_pts10000.png" alt="Chart with 10,000 points" /></p>
<p>Keep piling on. Here&#8217;s a chart with 32,000 points, the maximum allowed in a series in earlier Excel versions.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_pts32000.png" alt="Chart with 32,000 points" /></p>
<p>100,000 points, anyone?</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_pts100000.png" alt="Chart with 100,000 points" /></p>
<p>Okay, I&#8217;ll bite. Here&#8217;s a chart with all of column A as X values and all of column B as Y values. 1,048,576 points. And it didn&#8217;t choke. It took a while to redraw, of course.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_pts1048576.png" alt="Chart with 1,048,576 points" /></p>
<p>Check out this unique chart series formula. It uses the entire columns in the definitions of X and Y.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_pts_max_fmla.png" alt="Chart formula using entire columns" /></p>
<p><strong>Number of Series in a Chart</strong></p>
<p>I tried the same thing with the number of chart series. This is what 100 series look like in a chart. The X values are 1 through 25. Series 1 uses Y values 2 to 26, Series 2 uses 3 to 27, and so forth.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_srs100.png" alt="Chart with 100 series" /></p>
<p>Here&#8217;s the same chart with 255 series, the maximum number of series in a chart in prior versions of Excel.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_srs255.png" alt="Chart with 255 series" /></p>
<p>I tried adding more, and learned I&#8217;d exceeded the limit.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/chart_srs_max.png" alt="No more series" /></p>
<p><strong>Summary</strong></p>
<p>The number of series allowed in a chart in Excel 2010 has remained the same as in earlier versions, 255 series, but the number of points in a series has increased dramatically, from 32,000 to 1,048,576, so that entire columns in the larger grid of Excel 2007 &amp; 2010 can be used as the source data of a chart series.</p>
<p>The total number of points allowed in a chart has obviously increased, since the old limit of 256,000 points is smaller than the new limit on points per series. Since drawing one series with a million points took over a minute, I did not have time to explore this limit. (Hmm, I also didn&#8217;t check whether the help files have yet been updated with the new limits.)</p>
<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/chart-point-limits-in-excel-2010/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>PTS Charts in Excel 2010</title>
		<link>http://peltiertech.com/WordPress/pts-charts-in-excel-2010/</link>
		<comments>http://peltiertech.com/WordPress/pts-charts-in-excel-2010/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 17:59:06 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Excel 2010]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2276</guid>
		<description><![CDATA[As I wrote in My First Look at Excel 2010 and in Sparklines and Data Bars in Excel 2010, and as roughly 97% of the blogs in the whole internet have reported, Microsoft has just released the Technical Preview edition of Office 2010. I spent my first couple hours in Excel 2010 just driving around, [...]]]></description>
			<content:encoded><![CDATA[<p>As I wrote in <a href="http://peltiertech.com/WordPress/my-first-look-at-excel-2010/"title="My First Look at Excel 2010 | PTS Blog" >My First Look at Excel 2010</a> and in <a href="http://peltiertech.com/WordPress/sparklines-and-data-bars-in-excel-2010/"title="Sparklines and Data Bars in Excel 2010 | PTS Blog" >Sparklines and Data Bars in Excel 2010</a>, and as roughly 97% of the blogs in the whole internet have reported, Microsoft has just released the Technical Preview edition of Office 2010.</p>
<p>I spent my first couple hours in Excel 2010 just driving around, seeing what the terrain looked like. Then I experimented with a new feature, Sparklines, and with a feature that was introduced in Excel 2007 but made useful in 2010, Data Bars.</p>
<p><strong>PTS Utilities in Excel 2010 &#8211; Good news!</strong></p>
<p>Finally today I got up the courage to test my commercial utilities in Excel 2010. Aside from very minor things, like building the ribbon interface not just in 2007 but in any version 2007 and later, the utilities have worked just fine.</p>
<p><span id="more-2276"></span>This screen shot shows the commands for my utilities happily displayed on the PTS Charts tab of the ribbon. In the worksheet below is a waterfall chart created using the unmodified Waterfall Chart utility.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/PTSCharts2010a.png" alt="PTS Charts Tab and Waterfall Chart in Excel 2010" /></p>
<p>If any PTS Utility customers want to try out their utility in Excel 2010, <a href="mailto:jonxlmvp@peltiertech.com?subject=PTS%20Chart%20Utilities%20v2010" rel="nofollow" >send me an email</a> and I will reply with a link to an updated version.</p>
<p><strong>PTS Utility in 2007 &#8211; Bad News</strong></p>
<p>I was putting the finishing touches on a new utility, the PTS Chart Zoomer Utility. It allows a user to select a region of a chart using the mouse, and the chart axes are rescaled to show a closer view of this region.</p>
<p align="center"><img src="http://peltiertech.com/Excel/pix5/Zoomer1.png" alt="" /><br />
 Select a region of a chart with the mouse&#8230;</p>
<p align="center"><img src="http://peltiertech.com/Excel/pix5/Zoomer2.png" alt="" /><br />
 &#8230; the region expands to fill the chart. Select another region&#8230;</p>
<p align="center"><img src="http://peltiertech.com/Excel/pix5/Zoomer3.png" alt="" /><br />
 &#8230; and this region now fills the chart.</p>
<p>I built the ribbon bits for this utility, and I was going through my final testing in Excel 2007 SP2, and nothing worked. No selection rectangle appeared in the chart, no resizing of the chart region occurred, nothing happened. I checked my code: it looked fine. I reran my code in Excel 2003: it worked fine.</p>
<p>I was starting to think, not another Excel 2007 upgrade hassle. I&#8217;ve had three unpleasant 2003 to 2007 upgrades of client projects in the past couple of months. The unpleasantness is due to a load of unanticipated incompatibilities, and even my best workaround attempts weren&#8217;t always successful. In one or two cases, the code might have changed, so that formerly optional arguments were required (though the documentation didn&#8217;t point this out). Mostly, though, the problems were with file formats, template handling differences, and charts. Charts, ouch. Dynamic charts would lose track of the ranges they were linked to. Charts on copied sheets would end up linked to the wrong data sheets. Labels or entire charts would move or disappear.</p>
<p>The problem in this case boiled down to a couple chart events not working. To draw a selection rectangle as shown in the screen shots above, you need to click the mouse (the MouseDown event), drag the mouse (the MouseMove event), and release the mouse (the MouseUp event). MouseMove is working just fine in 2007, but neither MouseDown nor MouseMove are triggered by user actions.</p>
<p>I think I could hack my way around this deficiency if all I were doing were drawing the rectangle and rescaling the axes. It wouldn&#8217;t be pretty, but it might work. However, the Chart Zoomer utility also has features that remember and restore previous zoom settings (Ctrl+Left or Right Click), and that resize to fit all points or to restore Excel&#8217;s default axes (Alt+Left or Right Click). I can&#8217;t figure out how to capture these mouse clicks, so I wouldd have to add a bunch of controls to the ribbon tab, or float a dialog nearby, or generate a bunch of shortcut keys.</p>
<p>I haven&#8217;t decided whether or how to proceed with this utility: should I scrap it, release what I have as a Classic Excel only utility, or hack my brains out and release a utility that works or at least mostly works in all versions of Excel?</p>
<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/pts-charts-in-excel-2010/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Sparklines and Data Bars in Excel 2010</title>
		<link>http://peltiertech.com/WordPress/sparklines-and-data-bars-in-excel-2010/</link>
		<comments>http://peltiertech.com/WordPress/sparklines-and-data-bars-in-excel-2010/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 05:00:08 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Excel 2010]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2265</guid>
		<description><![CDATA[There are two Conditional Formatting features in Excel 2010 which allow for graphical displays right in the worksheet. Sparklines, the word-sized graphical elements invented by Edward Tufte, are a new addition to Excel 2010. Data Bars were introduced in Excel 2007, but they have been improved and expanded in 2010. I gave each a test [...]]]></description>
			<content:encoded><![CDATA[<p>There are two Conditional Formatting features in Excel 2010 which allow for graphical displays right in the worksheet. Sparklines, the word-sized graphical elements invented by Edward Tufte, are a new addition to Excel 2010. Data Bars were introduced in Excel 2007, but they have been improved and expanded in 2010. I gave each a test drive today.</p>
<p><strong>Sparklines</strong></p>
<p>There are numerous products which add sparklines to Excel. Two popular commercial products are <a href="http://www.bonavistasystems.com/Products_SparkLiner_Overview.html" rel="nofollow" class="vt-p" title="BonaVista Microcharts by XLCubed" >BonaVista Microcharts</a> and <a href="http://www.bissantz.com/sparkmaker/index_en.asp" rel="nofollow" class="vt-p" title="Bissantz SparkMaker" >Bissantz SparkMaker</a>, which work by forming the graphics using specially designed fonts. <a href="http://sparklines-excel.blogspot.com/" rel="nofollow" class="vt-p" title="Sparklines For Excel by Fabrice Rimlinger" >Sparklines For Excel</a> is an open source add-in which works by drawing sets of shapes to construct the sparklines. These are full-featured sparkline programs which accommodate many chart types and styles.</p>
<p>Microsoft has gotten its start in sparklines in Excel 2010. <a href="http://blogs.msdn.com/excel/default.aspx" rel="nofollow" class="vt-p" title="The Microsoft Excel Team Blog" >The Microsoft Excel Team Blog</a> has discussed this new feature in <a href="http://blogs.msdn.com/excel/archive/2009/07/17/sparklines-in-excel.aspx" rel="nofollow" class="vt-p" title="Sparklines in Excel" >Sparklines in Excel</a>, <a href="http://blogs.msdn.com/excel/archive/2009/07/20/adding-some-spark-to-your-spreadsheets.aspx" rel="nofollow" class="vt-p" title="Adding Some Spark to Your Spreadsheets" >Adding Some Spark to Your Spreadsheets</a>, and <a href="http://blogs.msdn.com/excel/archive/2009/07/22/formatting-sparklines.aspx" rel="nofollow" class="vt-p" title="Formatting Sparklines" >Formatting Sparklines</a>. There are only three chart types: line, column, and high-low; and they do not have such features as baselines or axes or shaded zones. However, I think it&#8217;s a promising start.</p>
<p><span id="more-2265"></span>To try out the sparklines, I loaded my blog stats into a pivot table, with months in rows and day of the month in columns. Creating the charts was easy. I selected the block of data to plot, then clicked the Sparklines &#8211; Lines button on the Insert tab.</p>
<p><img src="http://peltiertech.com/images/2009-07/InsertChartSparkSlicer.png" alt="Insert tab of the Ribbon, including Sparklines" /></p>
<p>A simple dialog pops up with two RefEdit boxes, one for selecting the data, the other for selecting the cell(s) to contain the graphics. If you&#8217;ve selected cells containing data, the Data Range box indicates this range; if you&#8217;ve selected a range of empty cells, the Location Range box indicates the selected range. These two ranges do not need to be on the same worksheet.</p>
<p><img src="http://peltiertech.com/images/2009-07/CreateSparklines.png" alt="Create Sparklines Dialog" /></p>
<p>Click OK and the sparklines appear in the indicated position.</p>
<p><img src="http://peltiertech.com/images/2009-07/PT_SparkLin_IndivScale.png" alt="Excel 2010 Sparkline Line Charts with Individually Defined Scales" /></p>
<p>The weekly cycles within each month are readily apparent, but the scales aren&#8217;t quite right. The statistics begin in March 2008, about one month after starting my blog. The numbers on the first day were nowhere near where thay have been for the past few months.</p>
<p><img src="http://peltiertech.com/images/2009-07/Spark_Axis_Menu.png" alt="Excel 2010 Sparkline Axis Menu" /></p>
<p>The default setting is that each sparkline scales the vertical position of the data point so that its minimum and maximum fill the cell. When I selected the &#8216;Same for All Sparklines&#8217; setting, the scales of all sparklines are the same, so the earlier months are pretty much flat compared to more recent months.</p>
<p><img src="http://peltiertech.com/images/2009-07/PT_SparkLin_SameScale.png" alt="Excel 2010 Sparkline Bar Charts with Shared Scales" /></p>
<p>It&#8217;s easy to change from one sparkline style to another: just click in the range of sparklines, then click the button for the desired style.</p>
<p><img src="http://peltiertech.com/images/2009-07/PT_SparkCol_SameScale.png" alt="Excel 2010 Sparkline Bar Charts with Shared Scales" /></p>
<p>Above are the line and column styles. A third style is Win-Loss, which plots a positive block for any positive number, a negative block for any negative number, and a blank for a zero.</p>
<p><img src="http://peltiertech.com/images/2009-07/SparkWL.png" alt="Excel 2010 Sparkline Win-Loss Chart" /></p>
<p>The sparklines in a set are grouped together, and when you select one cell, the whole range of sparklines is outlined with a thin blue border, as shown in the sine waves below. When you apply sparkline formatting to a cell containing a sparkline, all sparklines in the group assume this formatting. You can ungroup the sparklines, and format them individually.</p>
<p><img src="http://peltiertech.com/images/2009-07/SparkSin1.png" alt="Sine Wave Sparklines" /></p>
<p>Although there are a limited number of sparkline chart types, within each type you have a range of formatting options. In the line charts, you can draw the line only, you can add markers, and you can format positive and negative markers differently (there is apparently no distinction between zero and positive markers). You can highlight the first and last points, and the high and low points. I added the last group to see what happened when the cells contained both sparklines and content. Apparently the sparklines decorate the back of the cell, and the text appears in front.<br class="spacer_" /></p>
<p><img src="http://peltiertech.com/images/2009-07/SparkLinStyles.png" alt="Sparkline Line Chart Styles" /></p>
<p>You can format the bar chart sparklines all the same (top left) or different positive and negative bars (top right). You can highlight the first and last bars, or the high and low bars (bottom left and center). Any text in the cell appears in front of the sparkline.</p>
<p>The top center group below shows how one sparkline can be ungrouped in order to format it differently. The other three have remained grouped despite not being contiguous.</p>
<p><img src="http://peltiertech.com/images/2009-07/SparkBarStyles.png" alt="Sparkline Bar Chart Styles" /></p>
<p><strong>Data Bars</strong></p>
<p>Data Bars appeared in Excel 2007 as a way to show values visually using bars within the cells containing the values. In 2010 the capabilities of Data Bars were expanded, and the ability to make deceptive Data Bars was reduced.</p>
<p>Data Bars in 2007 had their base at the left edge of the cell, and they extended to the right. If a cell had a zero value, it still had a small length of bar, giving the wrong impression that the cell really did contain some value. Also, the bars started out with a good enough color at the base, but they faded to the right, so in some cases it became very difficult to judge where the bars ended.</p>
<p>These deficiencies were corrected in Excel 2010. Below left is the Excel 2007 representation of data bars. The first few cells contain zeros, but the cells have data bars of finite length. The bars increase in size appropriately, but they fade out from left to right, and eyes are forced to work just too hard to distinguish their ends. Finally, at the bottom the values decline asymptotically towards zero, but the bars don&#8217;t completely vanish.</p>
<p>In the center is the Excel 2010 version of the same data bars. Zero equals zero, and the bars have a distinct endpoint. You still can make the faded bars, but you know better. I&#8217;m not sure whether you can make nonzero bars for zero values; I don&#8217;t think so, and I hope not.</p>
<p>In Excel 2010 you can make your bars go right to left, as shown below right.</p>
<p><img src="http://peltiertech.com/images/2009-07/DataBarsRamp2007.png" alt="Data Bars in Excel 2007" /> <img src="http://peltiertech.com/images/2009-07/DataBarsRamp2010.png" alt="Data Bars in Excel 2010" /> <img src="http://peltiertech.com/images/2009-07/DataBarsNegRamp2010.png" alt="Reversed Data Bars in Excel 2010" /></p>
<p>The unorthodox treatment of non-positive values in Excel 2007&#8242;s data bars is further illustrated below. At left, since Excel 2007 didn&#8217;t allow for negative or right-to-left data bars, the sine wave showed positive bars, even for the most negative value. The Excel 2010 data bars plot negative values in the opposite direction, optionally in a different color.</p>
<p>You can control the color of the axis where positive meets negative, but unfortunately you cannot change the line style. The designers have picked a dashed line, which by nature of its discontinuous dashes, draws more attention to itself than a solid line would. However, data bars have been improved so much, that a small cosmetic problem like this isn&#8217;t too important.</p>
<p><img src="http://peltiertech.com/images/2009-07/DataBarsSine2007.png" alt="Positive and Negative Data Bars in Excel 2007" /> <img src="http://peltiertech.com/images/2009-07/DataBarsSine2010.png" alt="Positive and Negative Data Bars in Excel 2010" /></p>
<p><strong>Backwards Compatibility</strong></p>
<p>A commenter on one of the Sparklines blog posts wondered what would happen if a workbook with sparklines were opened in a previous version of Excel. I tried it and discovered:</p>
<ul style="margin-left: 24pt;">
<li>A workbook containing sparklines will show blank cells when opened in Excel 2007 or 2003.</li>
<li>A workbook containing Excel 2010 data bars will show Excel 2007 style data bars when opened in Excel 2007, and blank cells when opened in Excel 2003.</li>
</ul>
<p>In either case, you receive a warning about the file being created in a later version of Excel, and while your version of Excel will do its best to open the workbook, there may be some formatting which will not be faithfully displayed.</p>
<p>I also tried round-tripping a workbook through previous versions of Excel:</p>
<ul style="margin-left: 24pt;">
<li>When a workbook with 2010 data bars and sparklines is opened and saved in Excel 2003, and reopened in Excel 2010, the sparklines have vanished, and the data bars have reverted to Excel 2007 style (bars fade at the ends and all start at the minimum at the left and extend to the right, although there are no positive length zero values).</li>
<li>When a workbook with 2010 data bars and sparklines is opened and saved in Excel 2007, and reopened in Excel 2010, the sparklines reappear, and the data bars retain their Excel 2010 style.</li>
</ul>
<p>Apparently these features survive displacement by one version, but not by two.</p>
<p><strong>Summary</strong></p>
<p>Excel 2010 introduces a simple version of sparklines for compact visualization in the worksheet. The native Excel sparklines are not as comprehensive as existing third-party solutions can produce, but they can still be useful in many cases.</p>
<p>Excel 2010 also fixes conceptual problems and cosmetic issues with the data bars that were introduced in Excel 2007.
<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/sparklines-and-data-bars-in-excel-2010/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

