<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Pointy Haired Dilbert: Charting &amp; Excel Tips - Chandoo.org</title>
	
	<link>http://chandoo.org/wp</link>
	<description>Fresh Excel Tips, Tricks, Charts, Tutorials, Downloads, Dashboards and Visualization Showcase for your Inspiration and Productivity</description>
	<lastBuildDate>Thu, 12 Nov 2009 18:39:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<geo:lat>40.047273</geo:lat><geo:long>-83.069867</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/PointyHairedDilbert" type="application/rss+xml" /><feedburner:emailServiceId>PointyHairedDilbert</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Top X chart – Show Top X values of a chart Interactively</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/KIRxzpHgBbA/</link>
		<comments>http://chandoo.org/wp/2009/11/12/topx-chart/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 10:00:11 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Charts and Graphs]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[bar charts]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[charting principles]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[dynamic charts]]></category>
		<category><![CDATA[if()]]></category>
		<category><![CDATA[large]]></category>
		<category><![CDATA[Microsoft Excel Functions - Examples & Tutorials]]></category>
		<category><![CDATA[OFFSET()]]></category>
		<category><![CDATA[rows()]]></category>
		<category><![CDATA[screencasts]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[topx charts]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[vlookup]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2395</guid>
		<description><![CDATA[Two charting principles we hear all the time are,
<ul>
	<li>Sort your data in a meaningful order before plotting it.</li>
	<li>Show only relevant information, not everything - because un-necessary information clutters the chart.</li>
</ul>
Today we will learn a <a href="http://chandoo.org/wp/tag/dynamic-charts">dynamic charting technique</a> that will mix these two ideas in a useful way. <strong>I call this a Top X chart</strong>.]]></description>
			<content:encoded><![CDATA[<p>Two charting principles we hear all the time are,</p>
<ul>
<li>Sort your chart data in a meaningful order.</li>
<li>Show only relevant information, not everything &#8211; because un-necessary information clutters the chart.</li>
</ul>
<p>Today we will learn a <a href="http://chandoo.org/wp/tag/dynamic-charts">dynamic charting technique</a> that will mix these two ideas in a useful way. <strong>I call this a Top X chart</strong>.</p>
<p><strong>Note:</strong> This article uses the concepts from <a href="http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series">How to make chart data ranges dynamic</a>. I suggest reading that article first if you haven&#8217;t.</p>
<p><strong>What in the name of 3d square pie is a TopX chart?</strong></p>
<p>A top-x chart is an interactive (or dynamic) chart which automatically sorts the data from top to bottom and displays only TOP &#8216;X&#8217; items and showing the remaining balance as the last item. Users can adjust the value of &#8216;X&#8217; and chart will be re-drawn to show more (or less) values.</p>
<p><em>See this example implementation:</em><br />
<img title="Top X chart - Show top x values of a chart interactively" src="http://chandoo.org/img/c/topx-chart-excel.gif" alt="Top X chart - Show top x values of a chart interactively" width="468" height="312" /></p>
<h2>How to make a Top X chart using Excel &#8211; 5 Step Tutorial</h2>
<h3>1. Have your data ready</h3>
<p>It should be in 2 columns &#8211; first column &#8211; the attribute (for eg. customer name) and second column &#8211; the value. Lets assume the data is in range A1:B10.</p>
<h3>2. Add 3 dummy columns</h3>
<p>We need to add 3 dummy columns to this list. (you can do away with dummy columns if the list is sorted).</p>
<ol>
<li>First dummy column &#8211; to make the values unique. We just take the value in column B and make it unique in Column C by adding a small incremental fraction to it. Something like =B1+10^-6*ROWS($B$1:B1) will do. [<a href="http://chandoo.org/wp/2009/08/17/rows-and-columns-excel-formulas/">Help on ROWS formula</a>]</li>
<li>Second dummy column &#8211; to get first X sorted customer names.</li>
<li>Third dummy column &#8211; to get first X sorted sales values. We use <a href="http://chandoo.org/excel-formulas/large.html">LARGE excel formula</a> [<a title="Powerful and useful excel formulas" href="http://chandoo.org/wp/2008/08/13/15-microsoft-excel-formulas/">14 more powerful excel formulas</a>] for both these columns.<br />
It is your home work to figure out how to write these formulas.</li>
</ol>
<h3>3. Find a cell where user can input the X</h3>
<p>Lets call it $F$2.</p>
<h3>4. Update the dummy column formulas</h3>
<p>We need to update the formulas in dummy columns 2 &amp; 3 so that we can show &#8220;all remaining customers&#8221; as well.<br />
To Do this, you can add an IF formula that would check if the number of the customer is &gt;X and then just show &#8220;All remaining&#8221; with the sum of remaining values. Remember, your IF formula should be smart enough to show empty values if the row number is &gt;X+1.</p>
<p>At this point, the data table should look something like this for X=5</p>
<p><img class="ppic" title="Top X chart - Data" src="http://chandoo.org/img/c/topx-chart-data.png" alt="Top X chart - Data" /></p>
<h3>5. Finally, select Dummy column 2 and 3, make a chart</h3>
<p>We will re-visit our tutorial on <a href="http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series">how to make charts with dynamic ranges of data</a>. We use the same concepts to make this interactive top x chart.</p>
<p>So make a named range pointing to the result of an <a href="http://chandoo.org/wp/2008/11/19/vlookup-match-and-offset-explained-in-plain-english-spreadcheats/">OFFSET formula</a>. If this sounds like <em>turkish</em>, I suggest getting a cup of coffee and reading the <a href="http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series">charts with dynamic ranges</a> post. Now.</p>
<p><img class="ppic" src="http://chandoo.org/img/c/topx-chart-using-excel.png" alt="Top X chart - Show top x values of a chart interactively" align="right" />Once you have created the named range, just insert a new chart and use the named ranges as data sources. Format the chart a bit if needed and you should have a Sparkling Top X Chart, ready to fly.</p>
<h3>Why Top X charts are cool?</h3>
<ul>
<li>Top X charts let users play with them and find what they want. They are better than static versions.</li>
<li>The show the necessary while hiding the rest.</li>
<li>They show data in sorted order, which is awesome.</li>
<li>You can easily build up on this concept to make them more presentable / fun. For eg. you can add a slider control and point it to cell F2.</li>
</ul>
<h3>Go ahead and download the Top X chart Template</h3>
<p><a href="http://cid-b663e096d6c08c74.skydrive.live.com/self.aspx/Public/topx%20chart%20v1.xls">Click here to download the topx chart template</a> [<a href="http://cid-b663e096d6c08c74.skydrive.live.com/self.aspx/Public/topx%20chart%20v1.xlsx">Click here for Excel 2007 version</a>, it is even more awesome] Play with it to learn how the formulas are working.</p>
<p>This is a slightly complicated chart, so beginners, you may want to jump around PHD and to get a grip on the key concepts.</p>
<h2>What are your views on Top X Chart?</h2>
<p>Please share your ideas and implementations suggestions using comments. I *love* to hear what you think about this.</p>
<h3>Other Charts you can try:</h3>
<p>Check out some of the <a href="http://chandoo.org/wp/tag/dynamic-charts">excel dynamic charts</a> to get inspired.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIRxzpHgBbA:-S2zugs1u1E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIRxzpHgBbA:-S2zugs1u1E:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=KIRxzpHgBbA:-S2zugs1u1E:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIRxzpHgBbA:-S2zugs1u1E:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIRxzpHgBbA:-S2zugs1u1E:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=KIRxzpHgBbA:-S2zugs1u1E:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIRxzpHgBbA:-S2zugs1u1E:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=KIRxzpHgBbA:-S2zugs1u1E:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIRxzpHgBbA:-S2zugs1u1E:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/12/topx-chart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/12/topx-chart/</feedburner:origLink></item>
		<item>
		<title>Chart this Sales Data and get an iPod Touch [Visualization Challenge #2]</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/0Btjz13aixw/</link>
		<comments>http://chandoo.org/wp/2009/11/11/visualizing-salesdata-challenge/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 10:30:54 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Charts and Graphs]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[user polls]]></category>
		<category><![CDATA[visualization challenge]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2393</guid>
		<description><![CDATA[Here is a challenge many people face. How to make a chart visualizing sales data with several dimensions like product, brand, region, sales person name, year (or month or quarter) and one or two values like sales, # of units sold, profits, # of new customers.

In visualization challenge #2, all you have to do is a make a chart or dashboard to visualize this sales data effectively.]]></description>
			<content:encoded><![CDATA[<p><em><strong>Update 1: </strong>you can make a chart or dashboard or combo chart.</em><br />
<em><strong>Update 2:</strong> Download file changed, fixed an error with dates.</em><br />
<em><strong>Update 3:</strong> We got a sponsor, it is Zoho. Scroll down to see more.</em></p>
<p>Here is a challenge many people face. How to make a chart visualizing sales data with several dimensions like product, brand, region, sales person name, year (or month or quarter) and one or two values like sales, # of units sold, profits, # of new customers.</p>
<p>In visualization challenge #2, all you have to do is a make <span style="text-decoration: line-through;"><em><strong>one</strong></em> </span>chart (dashboards are ok too) to visualize this sales data effectively.</p>
<h3>The Data</h3>
<p><a href="http://cid-b663e096d6c08c74.skydrive.live.com/self.aspx/Public/data-visualization-challenge-nov11.csv">Download the CSV file with data</a> [<a href="http://chandoo.org/img/cb/data-visualization-challenge-nov11.csv">mirror</a>]. It has 28 columns &#8211; Region,Product,Customer Type,Sales Person Name and 24 Months starting Jan 08.<br />
<img src="http://chandoo.org/img/cb/sales-data-vis-challenge.png" alt="Sales Data for visualization challenge" /></p>
<h3>The Objective</h3>
<p>You have to make <span style="text-decoration: line-through;"><em><strong>one</strong></em> </span>chart (or dashboards) using this data that would help a senior manager understand how the sales people have done in the 24 months. The chart can be dynamic / interactive / macro based. You can use any software (not just excel) to make this chart.</p>
<h3>The Booty</h3>
<p>The winner gets an &#8230; wait for it &#8230; <a href="http://www.amazon.com/gp/product/B002ONBOZQ?ie=UTF8&amp;tag=poinhairdilb-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002ONBOZQ">iPod Touch 8GB</a><img class="dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy dkdsbvljyibyxrkomczy ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv ftaxnajpkvcffudtybcv" style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=poinhairdilb-20&amp;l=as2&amp;o=1&amp;a=B002ONBOZQ" border="0" alt="" width="1" height="1" /> sponsored by good folks at <a href="http://reports.zoho.com/">Zoho Reports</a>. That is right. We are going all out to make sure you submit the best.</p>
<p><a href="http://www.amazon.com/gp/product/B002ONBOZQ?ie=UTF8&amp;tag=poinhairdilb-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002ONBOZQ"><img class="ppic" src="http://chandoo.org/img/cb/ipod-touch-8gb.png" alt="iPOD touch - 8GB - Apple" /></a></p>
<p><strong>2 more contestants will get a complimentary copy of <a href="http://chandoo.org/wp/project-management-templates/">project management bundle for excel</a>.</strong></p>
<h3>The Fineprint, read all of these before you start your engines:</h3>
<ul>
<li>You can submit any number of entries.</li>
<li>You are free to change the actual numbers in the data. I just used RANDBETWEEN () to get these values. You can replace them with some other numbers if you want.</li>
<li><strong>The contest is open from now to <span style="color: #ff0000;">28-Nov-2009</span>.</strong></li>
<li>Winner will be selected using a poll by our readers.</li>
<li>There is a second and third prize too. 2 contestants will get one copy of <a href="http://chandoo.org/wp/project-management-templates/">Project Management Templates Set</a>.</li>
<li>You can use any software, but you must submit the source files (or alteast stuff close to that) so that our readers can download and play with the files.</li>
<li><em><strong>International contestants</strong></em> &#8211; If Amazon or Apple don&#8217;t ship the iPod to your country, we are still cool. You can choose to have some other product that can be bought online and delivered to you, because we are awesome like that.</li>
</ul>
<h3>How to submit entries?</h3>
<ul>
<li>Download the data and make the chart(s).</li>
<li>Upload the chart source files, any images to a free online storage service like skydrive.</li>
<li>Drop a comment here with links to your files.</li>
<li>Alternatively e-mail the files to me (I am e-mail rustic. So expect few days delay before I upload them somewhere) at chandoo.d @ gmail.com</li>
<li><span style="text-decoration: underline;"><strong>Please note:</strong></span> You agree that the files you submit can be freely distributed to readers on PHD for learning purposes.</li>
</ul>
<h3>Contest Sponsored by Zoho Reports</h3>
<p><img class="ppic" src="http://chandoo.org/img/cb/zoho-reports-logo.png" alt="Zoho Reports - Sponsor of the Contest" align="right" />This contest is sponsored by awesome folks at <a href="http://reports.zoho.com/">Zoho Reports, Online Reporting and Business Intelligence Service</a></p>
<h3>Please spread the message:</h3>
<p>Take a minute and <strong>e-mail a friend</strong> or <strong><a href="http://twitter.com/home?status=Make a chart and get an iPod Touch http://bit.ly/i4j1E">tweet about this</a></strong> contest or <a href="http://www.facebook.com/sharer.php?u=http://chandoo.org/wp/2009/11/11/visualizing-salesdata/&amp;t=Charting Sales Data - Visualization Challenge"><strong>share this on facebook</strong></a>. The more people participating in this, the better it is for us. We can learn several interesting implementations.</p>
<h3>Some inspiration:</h3>
<ul>
<li><a href="http://www.nytimes.com/interactive/2009/11/06/business/economy/unemployment-lines.html">NY Times visualization of Jobless rate by Age, Race, Education Level and Sex</a></li>
<li><a href="http://peltiertech.com/WordPress/interactive-multiple-line-chart/">Jon Pletier&#8217;s tutorial of highlighting one chart series using list boxes</a></li>
<li><a href="chandoo.org/wp/2009/04/05/budget-vs-actual-charts/">Budget vs. Actual charts &#8211; 14 charting ideas for showing sales performance</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0Btjz13aixw:1z-Dno0PrDs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0Btjz13aixw:1z-Dno0PrDs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=0Btjz13aixw:1z-Dno0PrDs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0Btjz13aixw:1z-Dno0PrDs:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0Btjz13aixw:1z-Dno0PrDs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=0Btjz13aixw:1z-Dno0PrDs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0Btjz13aixw:1z-Dno0PrDs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=0Btjz13aixw:1z-Dno0PrDs:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0Btjz13aixw:1z-Dno0PrDs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/11/visualizing-salesdata-challenge/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/11/visualizing-salesdata-challenge/</feedburner:origLink></item>
		<item>
		<title>What is Excel SUMPRODUCT formula and how to use it?</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/0XDMR41xcZ0/</link>
		<comments>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 09:35:17 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[illustrations]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Microsoft Excel Functions - Examples & Tutorials]]></category>
		<category><![CDATA[spreadcheats]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[sumif()]]></category>
		<category><![CDATA[sumifs]]></category>
		<category><![CDATA[sumproduct]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392</guid>
		<description><![CDATA[Today we will learn a new and exciting excel formula - the all powerful SUMPRODUCT.

At the outset SUMPRODUCT formula may not seem like all that useful. But once you understand how excel works with  lists (or arrays) of data, the SUMPRODUCT's relevance becomes crystal clear.]]></description>
			<content:encoded><![CDATA[<p>Today we will learn a new and exciting excel formula &#8211; the all powerful SUMPRODUCT.</p>
<p>At the outset SUMPRODUCT formula may not seem like all that useful. But once you understand how excel works with  lists (or arrays) of data, the SUMPRODUCT&#8217;s relevance becomes crystal clear.</p>
<h3>SUMPRODUCT formula &#8211; syntax and usage</h3>
<p><img class="ppic" src="http://chandoo.org/img/n/excel-sumproduct-formula-tutorial.png" alt="Excel SUMPRODUCT formula - tutorial" align="right" />The sum-product formula syntax is very simple. It takes 1 or more arrays of numbers and gets the sum of products of corresponding numbers.</p>
<p>The syntax is <code>=SUMPRODUCT (list 1, list 2 ...)</code></p>
<p><img class="ppic" src="http://chandoo.org/img/n/sumproduct-formula-example.png" alt="Excel SUMPRODUCT formula - examples" align="right" />So, for ex: if you have data like {2,3,4} in one list and {5,10,20} in another list, and if you apply SUMPRODUCT, you will get 120 (because 2*5 + 3*10 + 4*20 is 120).</p>
<p>At this point it might seem like an almost useless function. But all that will change in the next 2 minutes, keep reading.</p>
<h3>SUMPRODUCT and Arrays</h3>
<p>Lets say you have a list of sales data with columns Name, Region, Product and Sales. Now, you want to know how many units the sales person named &#8220;Luke&#8221; sold. This is simple, you will write a <a href="http://chandoo.org/excel-formulas/sumif.html">SUMIF formula</a> [<a href="http://chandoo.org/wp/2008/11/12/using-countif-sumif-excel-help/">examples</a>] and use the Name column as &#8220;criteria range&#8221; and Sales column as &#8220;sum range&#8221;.</p>
<p>But, wait a second, you want to find how many units sales person &#8220;Luke&#8221; sold in the region &#8220;west&#8221;.</p>
<p>Hmm&#8230;. we have 2 options,</p>
<ul>
<li>Use an array formula</li>
<li>Use a pivot table [<a href="http://chandoo.org/wp/2009/08/19/excel-pivot-tables-tutorial/">what is a pivot table?</a>]</li>
</ul>
<p>Actually, there is a hidden third option, use SUMPRODUCT.</p>
<p>That is right, my friend, we can use SUMPRODUCT to do just this (and much more).</p>
<h3>Using SUMPRODUCT as an array formula</h3>
<p>Assuming, the data is in range A1:D10, with Name in column A, Region in B, Product in C and Sales in D, the SUMPRODUCT formula is,</p>
<p><code>=SUMPRODUCT(--(A1:A10="Luke Skywalker"),--(B1:B10="West"),D1:D10)</code></p>
<p>Okay, lets take a minute and try to understand WTF (what the formula) is doing.</p>
<ul>
<li>The portion <code>--(A1:A10="Luke Skywalker")</code>is looking for Luke Skywalker across planetary systems in all universes <img src='http://chandoo.org/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  It is going to give us a bunch of ONEs and ZEROs, one if the cell has Luke, Zero if the cell has something else.</li>
<li>The portion <code>--(B1:B10="West")</code>is doing the same, but gets 1s when the value is &#8220;West&#8221;.</li>
<li>The portion <code>D1:D10 </code>is just returning all the sales figures.</li>
<li>When you put everything together and multiply, it just works. <em><strong>Why?</strong></em> That is your home work to figure out.</li>
</ul>
<p><img class="ppic" style="border:1px solid #ccc;padding:5px;" src="http://chandoo.org/img/n/sumproduct-tutorial-and-help.png" alt="Excel SUMPRODUCT formula example and explanation" /></p>
<h3>Share your SUMPRODUCT formula Tips &amp; Tricks</h3>
<p>SUMPRODUCT formula can do much more once you understand how it works. This post is meant to open the door for you. Go ahead and explore the possibilities, then come back and share your tips with us.</p>
<h3>Recommended Reading</h3>
<p>I suggest reading the <a href="http://chandoo.org/wp/tag/array-formulas/">excel array formula examples</a>, <a href="http://chandoo.org/wp/2009/07/22/sumif-with-multiple-conditions/">sumif with multiple conditions</a> and other <a href="http://chandoo.org/wp/tag/formulas/">excel formula tutorials</a>.</p>
<p><em>This post is part of our <a href="http://chandoo.org/wp/tag/spreadcheats/">spreadcheats</a> series </em></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0XDMR41xcZ0:3JEF6635QtY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0XDMR41xcZ0:3JEF6635QtY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=0XDMR41xcZ0:3JEF6635QtY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0XDMR41xcZ0:3JEF6635QtY:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0XDMR41xcZ0:3JEF6635QtY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=0XDMR41xcZ0:3JEF6635QtY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0XDMR41xcZ0:3JEF6635QtY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=0XDMR41xcZ0:3JEF6635QtY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=0XDMR41xcZ0:3JEF6635QtY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/</feedburner:origLink></item>
		<item>
		<title>PHD Gets a Facelift (again)</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/GxhivzLGf-g/</link>
		<comments>http://chandoo.org/wp/2009/11/09/phd-gets-a-facelift-again/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 20:05:12 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[about]]></category>
		<category><![CDATA[announcements]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[PHD]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2389</guid>
		<description><![CDATA[Folks, I have an announcement for you. Our little site, Pointy Haired Dilbert got yet another face lift. Over the weekend, I have made some changes to the site layout and navigation to make it better.
The key changes are,
 
On archive pages (that is category, tag and monthly pages) you can see 15 posts per [...]]]></description>
			<content:encoded><![CDATA[<p>Folks, I have an announcement for you. Our little site, <a href="http://chandoo.org/wp/">Pointy Haired Dilbert</a> got yet another face lift. Over the weekend, I have made some changes to the site layout and navigation to make it better.</p>
<p>The key changes are,</p>
<ul> <img class="ppic" src="http://chandoo.org/img/s/sample-page-phd-s.png" alt="Pointy Haired Dilbert - Site Changes" align="right" /></p>
<li>On archive pages (that is category, tag and monthly pages) you can see 15 posts per page in a grid fashion. The post title, an image (if any) along with number of comments on that post are shown. This should be an easier way to deep dive in to the site and find interesting stuff to learn. Here are few example pages &#8211; <a href="http://chandoo.org/wp/tag/quick-tip">quick tips page</a>, <a href="http://chandoo.org/wp/category/best-of-phd/">Most popular articles on PHD</a> or <a href="http://chandoo.org/wp/tag/charting-principles/">Charting Principles</a>.</li>
<li>On <a href="http://chandoo.org/wp/">Home page</a>, you now see the featured post prominently in a box. It takes less space and stands out from rest.</li>
<li>The search bar on top is now very obvious. In case you are on PHD and want to find something, just enter the search keywords and let the google find right articles for you.</li>
<li>The side bar navigation is awesome<em>ified</em>. We now have 3 boxes, one for &#8220;excel beginners&#8221;, one for &#8220;advanced excel&#8221; and one for &#8220;archives and resources&#8221; with less number of links to important landing pages on the site.</li>
<li><strong>We have an all new books store</strong> &#8211; that is right fellas, I have created a simple amazon store where you can purchase some of the excel / charting / powerpoint books recommended by me. <strong><a href="http://chandoo.org/wp/shop/excel-vba-books/">Check out the store here</a></strong>.</li>
</ul>
<p><strong>Go take a look at the new site <a href="http://chandoo.org/wp/">here</a></strong>. Deep dive in to one or two pages.</p>
<h3>Please do me a favor</h3>
<p>Please take a minute and drop me a comment telling what you think about,</p>
<ul>
<li>Site navigation</li>
<li>Ability to find right information</li>
<li>How you felt as a new visitor to the site &#8211; what turned you on / off?</li>
<li>How we can make this place better, warmer, fuzzier and awesomer?</li>
</ul>
<p><em><strong>Thank you in advance.</strong><br />
</em></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=GxhivzLGf-g:Qik3b_7EaHY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=GxhivzLGf-g:Qik3b_7EaHY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=GxhivzLGf-g:Qik3b_7EaHY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=GxhivzLGf-g:Qik3b_7EaHY:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=GxhivzLGf-g:Qik3b_7EaHY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=GxhivzLGf-g:Qik3b_7EaHY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=GxhivzLGf-g:Qik3b_7EaHY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=GxhivzLGf-g:Qik3b_7EaHY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=GxhivzLGf-g:Qik3b_7EaHY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/09/phd-gets-a-facelift-again/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/09/phd-gets-a-facelift-again/</feedburner:origLink></item>
		<item>
		<title>Excel Links of the week [After a long time edition]</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/rWHidCh5DCY/</link>
		<comments>http://chandoo.org/wp/2009/11/09/excel-links-nov9/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 09:34:42 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[excel links]]></category>
		<category><![CDATA[chart tamer]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[Excel 2010]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[OFFSET()]]></category>
		<category><![CDATA[peltier]]></category>
		<category><![CDATA[pivot tables]]></category>
		<category><![CDATA[table of contents]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2387</guid>
		<description><![CDATA[It has been a really long time since we have an excel links post here. That doesnt mean I am not reading anything exciting. It is just that I have gotten busy being a dad. But now that I am in to a saner schedule, we are bringing back the excel links.
Here is a list [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a really long time since we have an excel links post here. That doesnt mean I am not reading anything exciting. It is just that I have gotten busy being a dad. But now that I am in to a saner schedule, we are bringing back the excel links.</p>
<p>Here is a list of really interesting excel articles to start your week. Go check!</p>
<p><strong><a href="http://www.howtogeek.com/howto/4136/create-charts-in-excel-2007-the-easy-way-with-chart-advisor/" target="_blank">Use Microsoft Chart Adviser to make Better Charts</a></strong></p>
<p>The howtogeek reviews the chart adviser tool from MS office labs and shows us how to make better charts using this. The chart adviser looks at your data and recommends charts best fit for visualizing it.  It takes the guess work out of the chart making process and can be useful (especially if you are a newbie). The tool is similar to <a href="http://chandoo.org/wp/2009/05/04/review-chart-tamer/">Bonavista Chart tamer</a>, but not so much awesome. You can download the chart adviser from office labs <a href="http://www.officelabs.com/projects/chartadvisor/Pages/default.aspx">here</a>.</p>
<p><strong><a href="http://blog.contextures.com/archives/2009/11/04/creating-excel-hyperlinks-is-a-drag/" target="_blank">Make table of contents with just dragging</a></strong></p>
<p>Debra teaches us the easiest way to make table of contents in a large excel sheet. Just use the mouse. Curious? Head over to contextures to learn the trick.</p>
<p><strong><a href="http://blogs.msdn.com/excel/archive/2009/10/23/using-powerpivot-with-excel-2010.aspx" target="_blank">Understand the PowerPivot for Excel 2010</a></strong></p>
<p>Straight from the MS Excel Team Blog, this article explains the power pivot features of Excel 2010. (For the curious, the powerpivot was Project Gemini) Using power pivot it is easy to analyze complex data (with probably millions of rows) and prepare dashboards for the boss.</p>
<p><strong><a href="http://www.thefinancialmodeler.com/2009/offset-function-tutorial/" target="_blank">Learn Excel OFFSET Function Interactively</a></strong></p>
<p>The Financial Modeler gives us an interactive excel workbook using which you can learn the excel offset formula. I recommend checking this out if you have doubts about offset formula.</p>
<p><strong><a rel="nofollow" href="https://www.e-junkie.com/ecom/gb.php?ii=551753&amp;c=ib&amp;aff=49044&amp;cl=84674" target="ejejcsingle">Cascade Chart Utlity for Excel</a></strong></p>
<p>John Peltier releases yet another awesome charting utility &#8211; an Excel add-in to make cascade charts. Cascade charts are great way to show one series vertically (e.g., revenue) against a cumulative series horizontally (e.g., market segment size). As usual, PHD proudly recommends this tool.<br />
<small>PS: I am using affiliate code to recommend this awesome product.</small></p>
<p>That is all folks. Stay tuned for another beautiful week of excel and charting (well, it is not so beautiful in Copenhagen, unless you call gray skies and crappy weather beautiful, but I hope it is blue skies where you live).</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=rWHidCh5DCY:aXNGYuWDMSo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=rWHidCh5DCY:aXNGYuWDMSo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=rWHidCh5DCY:aXNGYuWDMSo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=rWHidCh5DCY:aXNGYuWDMSo:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=rWHidCh5DCY:aXNGYuWDMSo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=rWHidCh5DCY:aXNGYuWDMSo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=rWHidCh5DCY:aXNGYuWDMSo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=rWHidCh5DCY:aXNGYuWDMSo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=rWHidCh5DCY:aXNGYuWDMSo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/09/excel-links-nov9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/09/excel-links-nov9/</feedburner:origLink></item>
		<item>
		<title>Lets Pimp a Gauge Chart [Chart Porn Friday]</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/KIcqa0ofnsQ/</link>
		<comments>http://chandoo.org/wp/2009/11/06/fancy-gauge-chart/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 10:00:55 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Charts and Graphs]]></category>
		<category><![CDATA[bad charts]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[combination charts]]></category>
		<category><![CDATA[combo charts]]></category>
		<category><![CDATA[donut charts]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[pie charts]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2381</guid>
		<description><![CDATA[Egil, one of our alert readers from Norway sent this to me in e-mail, which I swear, I am not making up &#8211; A Fancy Gauge Chart. See the e-mail and chart yourself.

I&#8217;m having a lot of fun with your gauge template 
To make it more industrial-like, I&#8217;ve added:
1. Brushed metal background picture
2. Gradient fill [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Egil</strong></em>, one of our alert readers from Norway sent this to me in e-mail, which I swear, I am not making up &#8211; <strong>A Fancy Gauge Chart.</strong> See the e-mail and chart yourself.<br />
<img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/11/fancy-gauge-chart-excel.png" alt="Fancy Gauge Chart - Excel" width="312" height="186" align="right" /></p>
<div style="border: 1px solid #e8e8e8; padding: 10px; background: #f8f8f8 none repeat scroll 0% 0%; width: 90%; line-height: 20px; margin-bottom: 10px;">I&#8217;m having a lot of fun with your gauge template <img src='http://chandoo.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
To make it more industrial-like, I&#8217;ve added:<br />
1. Brushed metal background picture<br />
2. Gradient fill format to the pie shares<br />
3. A gradient fill. semi-transparent square (to make glass effect)<br />
4. Sqrew-head pics</div>
<p>The original <a href="http://chandoo.org/wp/2008/09/09/excel-speedometer-chart-download/">gauge chart template</a> behind <strong><em>Egil&#8217;s</em></strong> industrious effort caused enough debate among our community.</p>
<p>I think gauges are a poor way to visualize data, but I don&#8217;t completely shoot them down either. Gauges connect well with certain type of audience / situations &#8211; like kids, informal communications, conveying just one point etc. But it would be disastrous to have a gauge chart on your weekly dashboard to the CFO, no matter how industrial-like it is.</p>
<h3>Download Egil&#8217;s version of the Gauge</h3>
<p><a href="http://cid-b663e096d6c08c74.skydrive.live.com/self.aspx/Public/gauge-template-egil.xls"><strong>Click here</strong></a> to download the fancy gauge chart template. <strong>Thanks Egil for your idea. I think it is pimptastic.</strong></p>
<h3><em><strong>Anyways, here is a fun challenge:</strong></em></h3>
<p><em><strong></strong></em>Download the gauge, and pimp it in your style. Take a screenshot, upload it somewhere and link it here. I want to see how you would pimp it.</p>
<p>And if you are furious to see a gauge chart on this blog, remember, and I am not making this up either, today is Friday. Have fun folks.</p>
<p>PS: yes, I am HUGE fan of Dave Barry, and no, I am not making this up.</p>
<p><strong>Added later:</strong> Just to be clear, I think <strong><em>Egil</em>&#8217;s implementation is pretty cool</strong> and shows what is possible with excel.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIcqa0ofnsQ:HB6N0ePihXI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIcqa0ofnsQ:HB6N0ePihXI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=KIcqa0ofnsQ:HB6N0ePihXI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIcqa0ofnsQ:HB6N0ePihXI:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIcqa0ofnsQ:HB6N0ePihXI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=KIcqa0ofnsQ:HB6N0ePihXI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIcqa0ofnsQ:HB6N0ePihXI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=KIcqa0ofnsQ:HB6N0ePihXI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=KIcqa0ofnsQ:HB6N0ePihXI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/06/fancy-gauge-chart/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/06/fancy-gauge-chart/</feedburner:origLink></item>
		<item>
		<title>Product Recommendation – Excel Lookup Toolbox</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/vXdTaM97XKQ/</link>
		<comments>http://chandoo.org/wp/2009/11/05/excel-lookup-toolbox-review/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 09:35:19 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[array formulas]]></category>
		<category><![CDATA[countif()]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[e-books]]></category>
		<category><![CDATA[excel books]]></category>
		<category><![CDATA[INDEX()]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[MATCH()]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Microsoft Excel Functions - Examples & Tutorials]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[sumif()]]></category>
		<category><![CDATA[sumproduct]]></category>
		<category><![CDATA[vlookup]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2376</guid>
		<description><![CDATA[Anyone working on the data using excel will know the importance of lookup formulas. They are vital for making almost any spreadsheet or dashboard. That is why when my friend John Franco, who maintains Excel-Spreadsheet-Authors.com, wrote to me about his new book Excel lookup toolbox I was truly excited. In this post I am going to share my review of this product. ]]></description>
			<content:encoded><![CDATA[<p><img class="ppic" src="http://chandoo.org/img/r/excel-lookup-toolbox-review.gif" alt="Excel Lookup Toolbox - Product Review" align="right" />Anyone working on the data using excel will know the importance of lookup formulas. They are vital for making almost any spreadsheet or dashboard. That is why when my friend John Franco, who maintains Excel-Spreadsheet-Authors.com, wrote to me about his new book <em><strong>Excel lookup toolbox</strong></em> I was truly excited.</p>
<h3>What is in this book?</h3>
<p>The <em><strong>Excel lookup toolbox</strong></em> has 120 pages of very useful information on writing lookup formulas (VLOOKUP, INDEX, MATCH) and associated excel formulas like SUMPRODUCT, COUNTIF, SUMIF, Array Formulas etc.</p>
<p>The book starts with a detailed overview of the formulas vlookup, index, match, countif, countifs, sumif, sumifs, sumproduct, averageif, averageifs and array formulas.</p>
<p>Then the book moves to describe 8 familiar lookup scenarios,</p>
<ol>
<li> Looking up a number/date/text equal to</li>
<li> Looking up text that begins with/ ends with / contains</li>
<li> Looking up case-sensitive text</li>
<li> <a href="http://chandoo.org/img/r/excel-lookup-toolbox-page-65-l.png" target="_blank"><img class="ppic" style="border:1px #ccc solid;" src="http://chandoo.org/img/r/excel-lookup-toolbox-page-65-s.png" alt="Excel Lookup Toolbox - Example Page - #65" align="right" /></a>Looking up two index columns and other advanced lookup formulas</li>
<li> Looking up the max/min number, newest/oldest date etc.</li>
<li> Looking up the exact or lower approximate text/number/date</li>
<li> Looking up the exact or lower/greater approximate text/number/date</li>
<li> Looking up the amount of a category</li>
</ol>
<p>For each of these lookup scenarios, John explains how to write lookup formulas, gives a handful of practical examples (with illustrations) and highlights common mistakes and errors.</p>
<p><em><strong><a href="http://chandoo.org/img/r/excel-lookup-toolbox-page-65-l.png" target="_blank">Read a sample page of the book</a></strong></em>.</p>
<h3>Benefits of using <em>Excel lookup toolbox</em></h3>
<p>Anyone reading this blog for more than a week would appreciate the important role excel formulas play in building better excel worksheets / models / reports / dashboards. I think there are several benefits of <em><strong>really </strong></em>learning excel lookup formulas.</p>
<p>In my opinion, this book will help you,</p>
<ul>
<li> become better at understanding the structure of your data(base)</li>
<li> write smarter and accurate lookup formulas, thus saving time and effort</li>
<li> not rush to Google or ask in forums on how to fetch the &#8220;x&#8221; from &#8220;y&#8221;</li>
<li> know exactly why an error is occurring when you see a #N/A or something equally annoying.</li>
<li> learn how to fix errors in lookup formulas and better still, know how to avoid such errors</li>
</ul>
<h3>What you get when you buy the toolbox?</h3>
<p>When you purchase the <em><strong>Excel lookup toolbox</strong></em> you get,</p>
<ul>
<li> A 120 page e-book on Excel Lookup Formulas (PDF)</li>
<li> 45 Excel files with detailed examples of lookup formulas</li>
<li> A fact-sheet detailing various errors that occur when writing lookup formulas and the remedies</li>
</ul>
<h3>How Much is the Excel Lookup Toolbox?</h3>
<p><strong>For a limited time John is selling the toolbox for $19.85</strong>. Believe me when I say this toolbox is a steal.</p>
<p><strong><a rel="nofollow" href="https://paydotcom.com/r/90012/r1c1/25966026/" target="_blank">Go here to purchase</a>.</strong></p>
<h3>My Review &amp; Opinion</h3>
<p>John uses his prior experience in system development to give us several real world scenarios and how the lookup formulas can be written for these. I really liked the way the John presented the content. See the sample page above.</p>
<p>I recommend the <a rel="nofollow" href="https://paydotcom.com/r/90012/r1c1/25966026/" target="_blank">excel lookup toolbox</a> for anyone working on excel to manage and report data. The book can teach you some really awesome tricks and help you become better at writing lookup formulas. That, my dear reader is the easiest way to impress everyone at work and get things done.</p>
<h3>Any questions?</h3>
<p>Do you have any questions about this product? Please drop a comment, John has agreed to reply to your queries directly here. If you bought the product, please feel free share your review here because it will help others.</p>
<p><strong>Disclosure</strong></p>
<p>John is a friend of mine. I have reviewed this ebook even before release (you can read my testimonial in the book as well). I get small commission when you buy the excel lookup toolbox. But I am 100% sure you get much more value out of the toolbox than what John or I make from the sale. <a rel="nofollow" href="https://paydotcom.com/r/90012/r1c1/25966026/" target="_blank"><strong>Go ahead and get the excel lookup toolbox today</strong></a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=vXdTaM97XKQ:zpUIfARNXNw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=vXdTaM97XKQ:zpUIfARNXNw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=vXdTaM97XKQ:zpUIfARNXNw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=vXdTaM97XKQ:zpUIfARNXNw:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=vXdTaM97XKQ:zpUIfARNXNw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=vXdTaM97XKQ:zpUIfARNXNw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=vXdTaM97XKQ:zpUIfARNXNw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=vXdTaM97XKQ:zpUIfARNXNw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=vXdTaM97XKQ:zpUIfARNXNw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/05/excel-lookup-toolbox-review/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/05/excel-lookup-toolbox-review/</feedburner:origLink></item>
		<item>
		<title>Dashboard Best Practice – Google Analytics Intelligence Report</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/FcN7VfkzcK8/</link>
		<comments>http://chandoo.org/wp/2009/11/04/dashboard-best-practice-google-analytics/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 09:30:53 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Charts and Graphs]]></category>
		<category><![CDATA[Cool Infographics & Data Visualizations]]></category>
		<category><![CDATA[bar charts]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[charting principles]]></category>
		<category><![CDATA[dashboards]]></category>
		<category><![CDATA[data labels]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[line charts]]></category>
		<category><![CDATA[using color]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2378</guid>
		<description><![CDATA[Yesterday while checking my website analytics reports on Google analytics site, I have noticed a new beta feature called &#8220;Intelligence&#8221;. Out of curiosity I clicked on it. It took me to a an intelligence alert dashboard.
Ok, lets just back up for a minute and understand what &#8220;intelligence dashboard&#8221; is before moving on. In the web [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday while checking my website analytics reports on Google analytics site, I have noticed a new beta feature called &#8220;Intelligence&#8221;. Out of curiosity I clicked on it. It took me to a an intelligence alert dashboard.</p>
<p>Ok, lets just back up for a minute and understand what &#8220;<strong><em>intelligence dashboard</em></strong>&#8221; is before moving on. In the web analytics world, intelligence means &#8220;is there something interesting happening on the site?&#8221;. This could be information like &#8220;300% more visitors from city of New York on 3rd November&#8221; or &#8220;Pages on Conditional Formatting received 50% less traffic than usual from search engines on Monday&#8221;.</p>
<p>So, I clicked on the intelligence alert dashboard. And what a dashboard it is, very well thought out and designed. There are at least 10 dashboard best practices you can pick up from this and use in your day to day work. See it:</p>
<p><img class="ppic" src="http://chandoo.org/img/p/dashboard-bestpratices-google-analytics-daily-alerts1.png" alt="Dashboard Best Practices - Google Analytics Intelligence Report" /></p>
<p>I have highlighted the important takeaways for us chart makers and story tellers.</p>
<ol>
<li><strong>Use date windows so that end-users can change the date to see different report.</strong> This can be done in various ways. For eg. in our <a href="http://chandoo.org/wp/2008/08/20/create-kpi-dashboards-excel-1/">KPI Dashboards using Excel</a> posts, we have used scroll-bars. If you have pivot reports, just add the date to &#8220;header&#8221; section. Otherwise, you can also use data filters to make your charts dynamic.</li>
<li><strong>Band / highlight selected dates</strong> to so that users know what they are looking. This can be done using simple formulas and a combo-box control. Here is an example of <a href="http://chandoo.org/wp/2009/08/27/dynamic-event-grouping-in-charts/">conditionally banding charts in excel</a>.</li>
<li><strong>Use effective colors </strong>- Google uses simple but very effective colors. [<a href="http://chandoo.org/wp/2008/03/28/73-free-designer-quality-excel-chart-templates-grab-now-and-become-a-charting-superman/">Get 73 beautiful excel chart templates and make better charts</a>]</li>
<li><strong>Use basic charts</strong> &#8211; Often we fancy ourselves to use some super-complicated-chart. Heck, Jon <a href="http://peltiertech.com/WordPress/climate-change-survey-results/">reviewed (more like lambasted) a 3d Square Pie Chart</a> just yesterday. See how Google has used simple line and column charts to make the point. It is the same lesson every time folks -<strong> keep it simple</strong>.</li>
<li><strong>Use dynamic charts </strong>- We, humans like to play. That is the single most important reason to have dynamic charts in dashboards. See how google has used the dynamic charts in this dashboard (scroll down and see the video to understand how this dashboard works). <a href="http://chandoo.org/wp/tag/dynamic-charts/">Making Dynamic Charts in Excel &#8211; Comprehensive tutorials &amp; examples</a>.</li>
<li><strong>Be smart with data labels:</strong> While data labels can help understand the charts, often dashboards have too many charts and thus data labels make it look cluttered. A simple solution is to <a href="http://chandoo.org/wp/2009/01/29/colors-in-excel-chart-labels-trick/">use data labels conditionally</a>. Ajay at has another good example at databison on <a href="http://www.databison.com/index.php/chart-label-trick-using-interactive-labels-on-chart/">interactive data labels</a>.</li>
<li><strong>Let your users customize the dashboard:</strong> This means ability to switch rows to columns, choosing how much information to see etc.</li>
<li><strong>Highlight important information:</strong> use different font (or font size), have special area on the dashboard to display key metrics etc.</li>
<li><strong>Show metrics by dimension: </strong>this is more common way to look at business intelligence reports. It might be a bit too much to do this kind of reporting from excel, but pivot tables can certain help you get there.</li>
<li><strong>A good dashboard tells what is important and what is not: </strong>While we can argue that dashboards should show &#8220;only&#8221; the important, a good dashboard lets user customize the contents and clearly tells what is not important if it ever shows up.</li>
</ol>
<p>There is so much more beauty and design behind this google dashboard than what I can capture in a simple post. So I have recorded a small video (4 mins). Please take a look at it if you are keen to learn few more lessons on better dashboard design.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/Z5MhcueW8w4&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/Z5MhcueW8w4&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.youtube.com/watch?v=Z5MhcueW8w4">Watch it on Youtube</a> if you are not able to see it here.</p>
<p><strong>What do you think about the Google analytics intelligence dashboard?</strong></p>
<p>Share your comments with us, what do you like about this dashboard? Do you find any mistakes in it? How would you use this lessons in your work?</p>
<p>Read more <a href="http://chandoo.org/wp/management-dashboards-excel/">examples, tutorials and case studies on information dashboards</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=FcN7VfkzcK8:k3Ri_Hyy1lE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=FcN7VfkzcK8:k3Ri_Hyy1lE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=FcN7VfkzcK8:k3Ri_Hyy1lE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=FcN7VfkzcK8:k3Ri_Hyy1lE:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=FcN7VfkzcK8:k3Ri_Hyy1lE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=FcN7VfkzcK8:k3Ri_Hyy1lE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=FcN7VfkzcK8:k3Ri_Hyy1lE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=FcN7VfkzcK8:k3Ri_Hyy1lE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=FcN7VfkzcK8:k3Ri_Hyy1lE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/04/dashboard-best-practice-google-analytics/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/04/dashboard-best-practice-google-analytics/</feedburner:origLink></item>
		<item>
		<title>10 Tips to Make Better and Boss-proof Excel Spreadsheets</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/1f3J-q5KzRM/</link>
		<comments>http://chandoo.org/wp/2009/11/03/make-better-excel-sheets/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 09:23:34 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[cell comments]]></category>
		<category><![CDATA[cell styles]]></category>
		<category><![CDATA[data validation]]></category>
		<category><![CDATA[excel 2007]]></category>
		<category><![CDATA[freeze panes]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[hide sheets]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[list posts]]></category>
		<category><![CDATA[lock cells]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[protection]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[unhide sheets]]></category>
		<category><![CDATA[using color]]></category>
		<category><![CDATA[using excel]]></category>
		<category><![CDATA[worksheet protection]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2375</guid>
		<description><![CDATA[We all have atleast one story of how that one time the boss / co-worker / classmate / cat ruined the carefully crafted excel spreadsheet by mucking up the formulas or disturbing the formatting. Read this post to learn 10 awesome excel tips to make better and boss-proof excel sheets.]]></description>
			<content:encoded><![CDATA[<p><img class="ppic" src="http://chandoo.org/img/l/make-better-excel-sheets-howto.png" alt="Tips to make better excel spreadsheets" /></p>
<p>We all have atleast one story of how that one time the boss / co-worker / classmate / cat ruined the carefully crafted excel spreadsheet by mucking up the formulas or disturbing the formatting. There are 3 very easy solutions to prevent this problem,</p>
<ol>
<li>Write an unleash_a_pack_of_wild_cats_when_someone_messes_with_the_file () macro: It is not an elegant solution, and cats are not very consistent, but it can work.</li>
<li>Move to marketing department, you dont need to send excel files any more, just ppts. <img src='http://chandoo.org/wp/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </li>
<li>Or, read this post and learn 10 awesome tips on how to boss proof your excel files.</li>
</ol>
<p>So here is the list of 10 tips to make better excel spreadsheets. I suggest using all these tips for a perfect boss proof workbook.</p>
<h3>Restrict The Work Area Few Columns and Rows</h3>
<p>Not all spreadsheets have 256 columns and 65000 rows of data. So why show the entire grid when you can, say, just show the 44 rows and 23 columns in which the sales report is presented.</p>
<p><img class="ppic" src="http://chandoo.org/img/l/show-only-few-rows-and-columns.png" alt="Restrict The Work Area to few columns and rows in an excel workbook" /></p>
<p>To restrict the work area,</p>
<ul>
<li> Select the first column you dont want to see (24th column) and press CTRL+SHIFT+RIGHT ARROW. Now Right click and select &#8220;Hide&#8221; option.</li>
<li> Select the first row you dont want to see (45th row) and press CTRL+SHIFT+DOWN ARROW. Now right click and select &#8220;Hide&#8221; option.</li>
</ul>
<h3>Lock Formula Cells And Protect The Worksheet</h3>
<p>Formulas are the most vulnerable part of an excel sheet. You accidentally edit something, say in payroll sparesheet, and you just gave 3200% bonus to someone in the organization. That is alright if that someone is a CEO of a bailed-out bank, but in all other cases, you end up spending a sweet afternoon trying to figure out what went wrong.</p>
<p><img class="ppic" src="http://chandoo.org/img/l/protecting-formulas.png" alt="Lock Formula Cells And Protect The Worksheet" /></p>
<p>So, it is better to lock the workbook formulas and protect the worksheet so that no one accidentally erase the formulas or mess with them. To do this follow the steps in the illustration above.</p>
<p>You can use the same trick to lock the charts and other worksheet objects.</p>
<h3>Freeze Panes So that Your boss Knows what she is Reading</h3>
<p><img class="ppic" src="http://chandoo.org/img/l/using-freeze-panes-in-excel.png" alt="Freeze Panes And Splits" /></p>
<p>Freeze panes is a very useful feature. It locks the important items on the top so even when you scroll down you still see them. (You can do the same for columns, thus seeing the first few column even when scrolling left).</p>
<p>Bonus tip: Use excel tables (new feature in Excel 2007) so that you dont need to freeze panes. <a href="http://chandoo.org/wp/2009/10/08/excel-tables-scroll-feature/">Learn more</a>.</p>
<h3>Hide Un-necessary / Calculation Sheets</h3>
<p>It is fairly common for excel workbooks to have tens worksheets, some with data, some with calculations, some with intermediate stuff and only one or two sheets with actual outcome (like a dashboard or a report).</p>
<p><img class="ppic" src="http://chandoo.org/img/l/hide-excel-worksheets.png" alt="Hide Un-Necessary / Calculation Sheets" /></p>
<p>There is no reason to think that all these worksheets should be visible all the time to the boss. While it makes sense to have the data and calculations visible so that someone can audit the worksheet, I am sure you dont want your boss to waster her time doing that.  So here is a handy tip:</p>
<ul>
<li>Select all the worksheets other than the output sheets and hide them.</li>
</ul>
<h3>Hide Rows / Columns</h3>
<p>If for some reason, hiding worksheets is not possible, you can still try hiding rows and columns. This is a very good way to prevent someone from accidentally messing a with a row of &#8220;really big and complicated formulas&#8221;.</p>
<p><img class="ppic" src="http://chandoo.org/img/l/hide-rows-columns-excel.png" alt="Hide Rows / Columns" /></p>
<p>Just select the rows / columns you want to hide and right click and select the &#8220;hide&#8221; option.</p>
<h3>Include Cell &#8211; Comments / Help Messages</h3>
<p>We all know bosses have a busy mind. They dont have time to remember (or know) every little thing. Heck, sometimes they dont even know what somethings are.</p>
<p><img class="ppic" src="http://chandoo.org/img/l/use-cell-comments.png" alt="Include Cell - Comments / Help Messages" /></p>
<p>I suggest using cell comments and help messages to give right information / guidelines to the spreadsheet end user, like &#8220;enter your age in this cell&#8221;. They are easy to implement and totally non-intrusive.</p>
<ul>
<li>To include a cell comment, select the cell and press SHIFT+F2 and write the comment.<br />
To include a cell message, select the cell, go to data validation, go to &#8220;input message&#8221; tab and type what you want.</li>
</ul>
<h3>Data Validations, Error Messages</h3>
<p>Spreadsheets are complicated things that are carefully crafted with umpteen pre-conditions and assumptions. I am sure there is at least one excel file out there that will only work if a cat enters the input. But we are not talking about cats, the point is, it is important that right data is fed to the worksheet before the formulas (or charts or payroll macro etc.) can work. That is where data validation can help.</p>
<p><img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/10/data-validation-error-message.png" alt="Data Validations, Error Messages" /></p>
<p>It is very easy to set up data validation in excel. Just select the cell and go to data validation (in Data ribbon / menu). There are several ways in which you can set up data validations,</p>
<ul>
<li>You can <a href="http://chandoo.org/wp/2008/08/07/excel-add-drop-down-list/">show an incell drop down box</a> and ask users to pick from a list</li>
<li>You can specify the type of data allowed (dates, times, numbers, text)</li>
<li>You can specify the length of data</li>
<li>You can specify the conditions on data (like between 2 numbers, less than a given date etc.)</li>
<li>You can even use formulas to make your own data validations [<a title="Prevent Duplicate Data Entry using Data Validations" href="http://chandoo.org/wp/2009/10/26/duplicate-data-entry/">example</a>]</li>
</ul>
<p>There are several <a href="http://chandoo.org/wp/tag/data-validation/">examples of using data validation</a> in this site. Go check.</p>
<h3>Use Consistent Colors And Schemes</h3>
<p>Anything looks better when it is consistent, even when it is internally screwed up. That same rule applies to excel workbooks as well. It will make your boss feel comfortable and relaxed to see an excel workbook with consistent colors and (simple) schemes.</p>
<p><img class="ppic" src="http://chandoo.org/img/l/consistent-cell-colors.png" alt="Use Consistent Colors And Schemes" /></p>
<p>I suggest <a href="http://chandoo.org/wp/2009/10/01/use-cell-styles-in-spreadsheet-models/">using excel cell styles</a> to define the styles for your workbooks. This ensures consistency and you dont have to spend after hours formatting the worksheets. <a href="http://chandoo.org/wp/2009/10/01/use-cell-styles-in-spreadsheet-models/">Read more about cell styles</a>.</p>
<h3>Name and Color Worksheet Tabs Appropriately</h3>
<p>It doesnt matter if you have designed an awesome excel dashboard, your boss can be still pissed because the sheet name is &#8220;Sheet 69&#8243;. That brings us to the last and final point.</p>
<p><img class="ppic" src="http://chandoo.org/img/l/tab-colors-in-excel.png" alt="Name And Color Worksheet Tabs Appropriately" /></p>
<p>Use appropriate names (and may be tab colors) for the worksheet tabs. This makes the navigation easy and boss proof.</p>
<p><a href="http://chandoo.org/wp/2008/08/01/15-fun-things-with-excel/">Learn how to color excel worksheet tabs</a>.</p>
<h3>Before Closing The Workbook, Select Cell A1 On The Correct Sheet</h3>
<p>Just before you finally save the workbook and e-mail it to the boss, make sure you are on the right worksheet (ie the dashboard or the report) and selected cell A1. The ensures that when the boss opens the workbook, she sees the right tab with right information, not some calculations or formulas.</p>
<p><em><strong>That is all, you have just learned a handful of trick to impress your boss.</strong></em></p>
<h3>Share your boss proofing tricks for excel</h3>
<p><strong>Got an awesome idea that has been working on your boss?</strong> Share it with us in comments. I love to hear your stories and how you are using excel to further your career.</p>
<h3>Be awesome, Learn few more excel tricks:</h3>
<p>We at PHD have a simple goal &#8211; &#8220;to make you awesome in excel and charting&#8221;. Here is a list of articles I recommend reading if you are new here or just wanted to be more.</p>
<ul>
<li><a href="http://chandoo.org/wp/2008/08/01/15-fun-things-with-excel/">15 fun and exciting excel tips &#8211; who say spreadsheets are boring?</a></li>
<li><a href="chandoo.org/wp/2008/08/13/15-microsoft-excel-formulas/">15 Excel formulas beyond IF() and SUM()</a></li>
<li><a href="http://chandoo.org/wp/2008/10/16/microsoft-excel-15-productivity-tips/">15 Excel productivity tips  that you dont know</a></li>
<li><a href="http://chandoo.org/wp/2009/05/26/excel-2007-productivity-tips/">10 things about Excel 2007 that you should know to work better</a></li>
<li><a href="http://chandoo.org/wp/tag/productivity/">More articles on excel productivity </a></li>
</ul>
<p><small>Dilbert cartoon from <a href="http://dilbert.com/strips/comic/1998-12-11/">Dilbert.com</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=1f3J-q5KzRM:35kQxMIpQzk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=1f3J-q5KzRM:35kQxMIpQzk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=1f3J-q5KzRM:35kQxMIpQzk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=1f3J-q5KzRM:35kQxMIpQzk:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=1f3J-q5KzRM:35kQxMIpQzk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=1f3J-q5KzRM:35kQxMIpQzk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=1f3J-q5KzRM:35kQxMIpQzk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=1f3J-q5KzRM:35kQxMIpQzk:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=1f3J-q5KzRM:35kQxMIpQzk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/03/make-better-excel-sheets/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/03/make-better-excel-sheets/</feedburner:origLink></item>
		<item>
		<title>Switch Rows and Columns in Charts [Quick Charting Tip]</title>
		<link>http://feedproxy.google.com/~r/PointyHairedDilbert/~3/4SOIRpeyi1Q/</link>
		<comments>http://chandoo.org/wp/2009/11/02/switch-rows-and-columns-in-charts-quick-charting-tip/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 10:31:53 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Charts and Graphs]]></category>
		<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[axis formatting]]></category>
		<category><![CDATA[bar charts]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[screencasts]]></category>
		<category><![CDATA[transpose]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[using excel]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2374</guid>
		<description><![CDATA[Let us say you have built a nice chart showing your sales and profits for the top 5 products (learn how to highlight top 5 products in a list), with products on X axis. Suddenly your boss wants to switch the rows to columns (or transpose the chart) so that she can see metric level grouping instead of product level grouping. No need to freak out and rush to Espresso machine, You can do it very easily with Excel Charting features.

In today's quick tip you will learn how to swap chart rows and columns in excel.]]></description>
			<content:encoded><![CDATA[<p>Let us say you have built a nice chart showing your sales and profits for the top 5 products (<a href="http://chandoo.org/wp/2009/03/17/highlight-top-10-values-conditional-formatting/">learn how to highlight top 5 products in a list</a>), with products on X axis. Suddenly your boss wants to switch the rows to columns (or transpose the chart) so that she can see metric level grouping instead of product level grouping. No need to freak out and rush to Espresso machine, You can do it very easily with Excel Charting features.</p>
<p><em><strong>In today&#8217;s quick tip you will learn how to swap chart rows and columns in excel,</strong></em></p>
<p><strong>In Excel 2007+</strong>, select the chart and go to &#8220;Design&#8221; tab. Here you will see a big-fat-&#8221;Switch rows and columns&#8221; button. Just click it and thump your chest. See this tutorial to understand.</p>
<p><img class="ppic" src="http://chandoo.org/img/c/switch-rows-columns-excel-2007.gif" alt="Switch Rows and Columns in Excel Charts - MS Excel 2007" /></p>
<p><strong>In Excel 2003</strong>, select the chart and in the chart toolbar, you see 2 little buttons, called as &#8220;by row&#8221; and &#8220;by column&#8221;. Click the one you want and off you go. See this tutorial to get it.</p>
<p><img class="ppic" src="http://chandoo.org/img/c/switch-rows-columns-excel-2003.gif" alt="Switch Rows and Columns in Excel Charts - MS Excel 2003" /></p>
<p><strong>Read more <a href="http://chandoo.org/wp/tag/quick-tip/">quick tips</a> and/or <a href="http://chandoo.org/wp/category/visualization/">charting tips</a>, <em>be awesome at work</em>.</strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=4SOIRpeyi1Q:CuEwiOy6u5E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=4SOIRpeyi1Q:CuEwiOy6u5E:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=4SOIRpeyi1Q:CuEwiOy6u5E:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=4SOIRpeyi1Q:CuEwiOy6u5E:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=4SOIRpeyi1Q:CuEwiOy6u5E:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=4SOIRpeyi1Q:CuEwiOy6u5E:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=4SOIRpeyi1Q:CuEwiOy6u5E:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?i=4SOIRpeyi1Q:CuEwiOy6u5E:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PointyHairedDilbert?a=4SOIRpeyi1Q:CuEwiOy6u5E:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PointyHairedDilbert?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/11/02/switch-rows-and-columns-in-charts-quick-charting-tip/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://chandoo.org/wp/2009/11/02/switch-rows-and-columns-in-charts-quick-charting-tip/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 3.033 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-12 18:40:43 -->
