<?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>Pointy Haired Dilbert: Learn Excel Online - Chandoo.org &#187; Excel Howtos</title>
	<atom:link href="http://chandoo.org/wp/category/excel-howtos/feed/" rel="self" type="application/rss+xml" />
	<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, 11 Mar 2010 13:00:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Writing &#8220;Either Or&#8221; formula in Excel [Formula Howtos]</title>
		<link>http://chandoo.org/wp/2010/03/02/either-or-formula-in-excel/</link>
		<comments>http://chandoo.org/wp/2010/03/02/either-or-formula-in-excel/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 09:44:42 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[and()]]></category>
		<category><![CDATA[day()]]></category>
		<category><![CDATA[Excel 101]]></category>
		<category><![CDATA[if() excel formula]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[Microsoft Excel Formulas]]></category>
		<category><![CDATA[MOD()]]></category>
		<category><![CDATA[NOT()]]></category>
		<category><![CDATA[OR() excel formula]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[weekday]]></category>
		<category><![CDATA[XOR]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2575</guid>
		<description><![CDATA[We all know the AND, OR &#038; NOT formulas in Excel using which you can perform simple logical operations And, Or &#038; Negate. But what if you are the chief of HR at ACME Company, where they have a strange rule on extra allowance like this:

Now, to calculate the dates in a month that meet [...]]]></description>
			<content:encoded><![CDATA[<p>We all know the AND, OR &#038; NOT formulas in Excel using which you can perform simple logical operations And, Or &#038; Negate. But what if you are the chief of HR at ACME Company, where they have a strange rule on extra allowance like this:</p>
<p><img src="http://chandoo.org/img/f/exclusive-or-condition-example.png" alt="Either Or formula in Excel - howto?" class="ppic"/></p>
<p><strong>Now, to calculate the dates in a month that meet this clause, we need an &#8220;exclusive OR&#8221; formula or what geeks call as &#8220;XOR&#8221; operation. </strong></p>
<p><a href="http://en.wikipedia.org/wiki/Exclusive_or">Wikipedia defines XOR</a> as,</p>
<blockquote><p>The logical operation &#8230; exclusive or (symbolized XOR, EOR), &#8230; results in a value of true if exactly one of the operands has a value of true. A simple way to state this is &#8220;one or the other but not both.&#8221;</p></blockquote>
<p>Now, XOR or exclusive Or is a fairly common logical test, but there is no straight forward formula to test this. Instead we have to use a lengthy combination or AND, OR and NOT formulas to arrive at XOR.</p>
<p><strong>For eg. assuming you want TRUE only when one of the two logical conditions A or B is TRUE, </strong></p>
<p>you have to write,</p>
<p><code>=OR(AND(NOT(A),B),AND(A,NOT(B)))</code> [Afterall, that is <a href="http://en.wikipedia.org/wiki/Exclusive_or#Equivalencies.2C_elimination.2C_and_introduction">how XOR operation is defined</a> to begin with]</p>
<p>Now, that seems like an awful formula. May be there is a better formula after all?!? One that is less crazier than the HR clause of ACME Co.</p>
<p>Well, there is.</p>
<p><strong>If you observe closely, XOR is nothing but <> (not equal to sign).</strong> So, instead of going nuts writing the lengthy ANDORNOT combination, you can simplify the formula to,</p>
<p><strong><code>=A<>B</code> and it gives the same outcome.</strong></p>
<p>So, the formula to find whether a given date (in cell A1) qualifies for bonus allowance,</p>
<p><code>=IF((WEEKDAY(A1)=6)<>(MOD(DAY(A1),5)=0),"Pay Bonus","Pay Regular")</code></p>
<p><strong>More about logical formulas in Excel</strong></p>
<p><a href="http://chandoo.org/excel-formulas/and.html">AND Formula</a> | <a href="http://chandoo.org/excel-formulas/or.html">OR Formula</a> | <a href="http://chandoo.org/excel-formulas/not.html">NOT Formula</a> | <a href="http://chandoo.org/excel-formulas/">51 common excel formulas</a></p>
<p><strong>Do you XOR in real life?</strong></p>
<p>There have been few occasions when I had to XOR in my worksheets. I found that writing the correct formula can be a bit tricky depending on how <em>crazy</em> the rule is. But almost always a combination of <>, NOT, AND and OR worked for me well. </p>
<p><strong>What about you? Do you write formulas that involve complex IF clauses?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2010/03/02/either-or-formula-in-excel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Find and Remove Blank Items from a Range of Cells [personal experience]</title>
		<link>http://chandoo.org/wp/2010/02/23/find-and-remove-blank-cells/</link>
		<comments>http://chandoo.org/wp/2010/02/23/find-and-remove-blank-cells/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 09:51:16 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[blank rows]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[if() excel formula]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[Microsoft Excel Formulas]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[spreadsheets]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2562</guid>
		<description><![CDATA[Most of you know that during day time I work as a business analyst. Today while preparing some test scenarios for our latest insurance application, I came across a weird problem. 
There are some steps in testing. For each test scenario, a combination of these steps is required. It is my responsibility to identify the [...]]]></description>
			<content:encoded><![CDATA[<p>Most of you know that during day time I work as a business analyst. <strong>Today while preparing some test scenarios for our latest insurance application, I came across a weird problem. </strong></p>
<p>There are some steps in testing. For each test scenario, a combination of these steps is required. It is my responsibility to identify the steps as well as their combinations for each of the scenarios. So I quickly prepared a table with all the steps in left most column and one scenario each in one column. I put &#8220;X&#8221; in a cell if the step needs to appear in that scenario. But when I gave it to our testing team, they asked me if the scenarios can be explained a little better. See this picture to understand what they want and what I made.</p>
<p><img src="http://chandoo.org/wp/wp-content/uploads/2010/02/testing-scenarios-removing-blanks.png" alt="Find and Remove Blank Items in Excel - Example from Software World" class="ppic"/></p>
<p>So I immediately converted the &#8220;X&#8221;s to actual step names using a simple <a href="http://chandoo.org/excel-formulas/if.html">IF formula</a>. (Copied the table, and wrote &#8216;<code>if there is an X in the previous table, get the actual step from left most column otherwise empty</code>&#8216;). </p>
<p>Then the problem of actually removing various blank cells. First I tried to <a href="http://chandoo.org/wp/2010/01/26/delete-blank-rows-excel/">select all the blank cells and remove them using our technique from last week</a>. But it failed as the blank cells are actually formulas with empty values. So I copy pasted the entire table as values (CTRL+C, ALT+ESV). But even then excel wont recognize blanks as true blanks (because the value is actually &#8220;&#8221; instead of being plain empty.)</p>
<p>Now I didnt want to manually select all the blank cells as the real testing scenario table had 50 scenarios with 68 possible steps. </p>
<p>Then it stuck me, why not use FIND (CTRL+F) to find all the cells containing nothing? So I selected the scenario table, opened the find and looked up all the cells that contain empty values. Now I clicked on &#8220;Find all&#8221; and selected the entire list of values from that. Finally I removed all these cells and bingo!</p>
<p><img src="http://chandoo.org/img/q/find-empty-cells-excel.png" alt="Finding blank cells using FIND dialog" class="ppic"/></p>
<p>PS: Our testers was more than happy as it took very little time and they had all the scripts ready.<br />
PPS: Thanks to Rick, who taught me FIND ALL approach to select blank cells (<a href="http://chandoo.org/wp/2010/01/26/delete-blank-rows-excel/#comment-92125">here</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2010/02/23/find-and-remove-blank-cells/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How do you consolidate data from multiple sheets in to one? [open thread]</title>
		<link>http://chandoo.org/wp/2010/02/19/excel-consolidate-data/</link>
		<comments>http://chandoo.org/wp/2010/02/19/excel-consolidate-data/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 09:35:05 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[3d references]]></category>
		<category><![CDATA[cleanup data]]></category>
		<category><![CDATA[consolidation]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[references]]></category>
		<category><![CDATA[surveys]]></category>
		<category><![CDATA[user polls]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2563</guid>
		<description><![CDATA[Long time PHD reader and mother of a lovely kid, Michelle, sent me a question in email that provoked me to write this post,
I was wondering how to tabulate large amount of information gathered through surveys. Where I work customers are constantly handed survey sheets in order for us to measure how the service -among [...]]]></description>
			<content:encoded><![CDATA[<p>Long time PHD reader and mother of a lovely kid, <em><strong>Michelle</strong></em>, sent me a question in email that provoked me to write this post,</p>
<blockquote><p>I was wondering how to tabulate large amount of information gathered through surveys. Where I work customers are constantly handed survey sheets in order for us to measure how the service -among other things- is being perceived. Now, to put all that info into a spreadsheet (plus charts) can be really tedious.</p>
<p>So far I manage to get the job done by assigning 1 to 4 values were 1 sucks and 4 is great and so there I go column after column (each column is one individual survey) filling my 1 to 4’s answers. I know there’s an easy version with VBA; problem is that I am a total ignorant in that area. Any suggestions?</p></blockquote>
<p><img class="ppic" title="How to Consolidate Data from Multiple Excel Sheets (or files) in to one?" src="http://chandoo.org/img/dlt/consolidate-data-from-multiple-excels-howto.png" alt="How to Consolidate Data from Multiple Excel Sheets (or files) in to one?" /></p>
<p><strong>Few ideas that would make consolidation easy:</strong></p>
<ul>
<li><strong>Make sure all the source files are in the same format:</strong> make a template that your colleagues can use to input the data every month. This way you can <a href="http://chandoo.org/wp/2009/02/04/satisfaction-surveys-excel/">use 3D references to summarize the data</a>.</li>
<li> <strong>Create a user form</strong> so that your audience can enter information in that instead of directly entering it in spreadsheet.</li>
<li><strong>Find out if the survey or other type data collection can be fed to a database</strong>. This way, every month we can import the data using data connections.</li>
<li>If we actually end up with sheets with different data formats, spend sometime and study the anomalies. Then you can develop a small macro or find-replace routine that would clean the data. [related: <a href="http://chandoo.org/wp/tag/cleanup-data/">clean data using excel</a>]</li>
<li><strong>Try to save the files as CSV and open them in a regular expression capable editor</strong> like Notepad++. Now match and clean up data.</li>
<li>All else fails, get a strong cup of coffee, put on some music, roll your sleeves and start alt+tabbing.</li>
</ul>
<p><strong>But more than these ideas, I am interested to know how YOU solve this problem.</strong></p>
<p>I think this is a very common problem. Since I have very little experience in the area of consolidating data from multiple sheets in to one, I couldn&#8217;t give her any real advise. So now I am turning to you.</p>
<ul>
<li><strong>Do you use any add-ins or macros</strong> to consolidate data? What is your experience like, what would you recommend?</li>
<li><strong>What shortcuts, ideas and cool things you use</strong> when working on data from multiple sheets?</li>
<li><strong>How do you usually clean / normalize the data?</strong></li>
</ul>
<p><em><strong>Please discuss.</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2010/02/19/excel-consolidate-data/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Fix Incorrect Percentages with this Paste-Special Trick</title>
		<link>http://chandoo.org/wp/2010/01/29/fix-incorrect-percentages/</link>
		<comments>http://chandoo.org/wp/2010/01/29/fix-incorrect-percentages/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 09:17:37 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[cleanup data]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[paste-special]]></category>
		<category><![CDATA[percetage format]]></category>
		<category><![CDATA[quick tip]]></category>
		<category><![CDATA[spreadsheets]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2523</guid>
		<description><![CDATA[Sometimes we get values in our Excel sheets in such a way that the % sign is omitted. So instead of the value being 23%, it is 23. Now, you can very easily correct this by editing the cell and adding a % sign at the end. But what if you have 100s of rows of data. You can't do this to every cell. (You can not just format the cells to % format either, excel shows 23 as 2300% then). There must be some simple and intuitive solution for this ... umm.]]></description>
			<content:encoded><![CDATA[<p><img class="ppic" title="Fix Incorrect Percentages - Excel Howtos" src="http://chandoo.org/img/q/convert-values-to-percentage.png" alt="Fix Incorrect Percentages - Excel Howtos" /><br />
<strong>Sometimes we get values in our Excel sheets in such a way that the % sign is omitted.</strong> So instead of the value being 23%, it is 23. Now, you can very easily correct this by editing the cell and adding a % sign at the end. But what if you have 100s of rows of data. You can&#8217;t do this to every cell. (<em>You can not just format the cells to % format either, excel shows 23 as 2300% then</em>). There must be some simple and intuitive solution for this &#8230; umm.</p>
<p>Of course there is..</p>
<p><img class="ppic" title="Paste-Special - Microsoft Excel" src="http://chandoo.org/img/q/paste-special-divide.png" alt="Paste-Special - Microsoft Excel" align="right" /><strong>To clean up incorrect percentages just follow these 4 steps.</strong></p>
<ol>
<li><strong>Type 100 in an empty cell</strong>. Now copy the cell by pressing CTRL+C</li>
<li>Select cells with incorrect percentages, and press ALT+E S (alternatively right click and select <a href="http://chandoo.org/wp/tag/paste-special/">Paste Special</a>)</li>
<li>Now, Select &#8220;Divide&#8221; from operation area. See it aside.</li>
<li>That is all. We have divided all the values in incorrect percentage cells by 100. Make sure the cells are formatted in % style to show 0.23 as 23%.</li>
</ol>
<p><strong>Bonus:</strong> <strong>You can remove % signs by multiplying</strong> cell values with 100.</p>
<p><strong>Bonus*Bonus:</strong> <strong>You can convert a bunch of hours to days by dividing</strong> them with 24, minutes to hours by dividing with 60 etc.</p>
<p><strong>Bonus<sup> Bonus</sup>:</strong> <strong><a href="http://chandoo.org/wp/2008/07/02/17-excel-paste-special-tricks/">15 more ways to use Excel&#8217;s paste special</a></strong>. Do you know <em><strong>all </strong></em>of them?</p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2010/01/29/fix-incorrect-percentages/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Conditionally Formatting Dates in Excel [Part 1 of 2]</title>
		<link>http://chandoo.org/wp/2010/01/05/conditional-formatting-dates/</link>
		<comments>http://chandoo.org/wp/2010/01/05/conditional-formatting-dates/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 09:49:35 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[and()]]></category>
		<category><![CDATA[conditional formatting dates]]></category>
		<category><![CDATA[date and time]]></category>
		<category><![CDATA[Excel 101]]></category>
		<category><![CDATA[excel basics]]></category>
		<category><![CDATA[if() excel formula]]></category>
		<category><![CDATA[learn excel]]></category>
		<category><![CDATA[Microsoft Excel Conditional Formatting]]></category>
		<category><![CDATA[Microsoft Excel Formulas]]></category>
		<category><![CDATA[month]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[today()]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[weekday]]></category>
		<category><![CDATA[weeknum()]]></category>
		<category><![CDATA[year]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2490</guid>
		<description><![CDATA[This is first part of 2 part series on conditionally formatting dates in excel.

Conditional formatting is a very useful feature in Excel. You can use Conditional formatting to tell excel how to format cells that meet certain conditions. For eg. You can use conditional formatting to show all negative values in a range in red color. Today we will learn how to use conditional formatting to format dates.]]></description>
			<content:encoded><![CDATA[<p><em>This is first part of 2 part series on conditionally formatting dates in excel.<br />
</em></p>
<p><strong>Conditional formatting is a very useful feature in Excel.</strong> You can use Conditional formatting to tell excel how to format cells that meet certain conditions. For eg. You can use conditional formatting to show all negative values in a range in red color. [<a href="http://chandoo.org/wp/2009/03/13/excel-conditional-formatting-basics/">Learn conditional formatting basics</a>].</p>
<p><strong>Today we will learn how to use conditional formatting to format dates.</strong></p>
<p>Click on the below links to jump to relevant section.<br />
<a href="#excel2007-conditional-formatting-dates">Excel 2007+ &#8211; Conditional Formatting Dates</a><br />
<a href="#excel2003-conditional-formatting-dates">Excel 2003 &#8211; Conditional Formatting Dates</a></p>
<p><a id="excel2007-conditional-formatting-dates"></a></p>
<h3>Excel 2007+ &#8211; Conditional Formatting Dates</h3>
<p><img class="ppic" title="Excel 2007 - Conditional Formatting Dates - menu" src="http://chandoo.org/img/n/conditional-formatting-dates-excel-2007.png" alt="Excel 2007 - Conditional Formatting Dates - menu" /></p>
<p>In Excel 2007, MS introduced several useful shortcuts to conditionally format dates. When you select some cells and click on Conditional Formatting button on ribbon and select &#8220;Highlight cells Rules&#8221; &gt; &#8220;A date occurring&#8221;, Excel presents you quick shortcuts to frequent date criteria. This list includes options to format,<br />
<img class="ppic" title="Excel 2007 - Conditional Formatting Dates" src="http://chandoo.org/img/n/conditional-formatting-dates-options-in2007.png" alt="Excel 2007 - Conditional Formatting Dates" align="right" /></p>
<ul>
<li>A Date if it is yesterday</li>
<li>Today</li>
<li>Tomorrow,</li>
<li>In the last 7 days</li>
<li>Last week</li>
<li>This Week</li>
<li>Next Week</li>
<li>Last Month</li>
<li>This Month</li>
<li>Next Month</li>
</ul>
<p>Using this feature, you can quickly format the dates in your data meeting certain criteria.</p>
<p>This is very useful in situations where you want to highlight for eg. sales in last week. As the dates change, the highlighted values change dynamically.</p>
<p><em>Apart from these predefined date conditions, you can define your own conditions using formulas.</em></p>
<p><a id="excel2003-conditional-formatting-dates"></a></p>
<h3>Excel 2003 &#8211; Conditional Formatting Dates</h3>
<p>Unlike Excel 2007, there are no shortcuts for conditional date formatting in Excel 2003. You have to rely on Conditional Formatting Formulas to do this.</p>
<p><strong>What is a conditional formatting formula?</strong><br />
In excel you can use formulas to determine which cells get the special formatting thru conditional formatting. For eg. a formula like =A1&gt;50 applied over the range A1:A10 will highlight the cells with value more than 50.</p>
<p><strong>So, to check if the date in cell A1 is yesterday, you can write a simple formula like,</strong><br />
<code>=TODAY()-A1=1. </code>[<a href="../../excel-formulas/today.html">help on TODAY formula</a>]</p>
<p><img class="ppic" title="Excel 2003 - Conditional Formatting Dates" src="http://chandoo.org/img/n/conditional-formatting-dates-excel-2003.png" alt="Excel 2003 - Conditional Formatting Dates" /></p>
<p><strong>Here are some formulas to get you started,</strong></p>
<ul>
<li>To check if a date is in the last 7 days:<br />
<code>=TODAY()-A1&lt;7</code></li>
<li>To check if a date is in the current week:<br />
<code>=AND(WEEKNUM(A1)=WEEKNUM(TODAY()), YEAR(A1)=YEAR(TODAY()))</code></li>
<li>To check if a date is in the current month:<br />
<code>=AND(MONTH(A1)=MONTH(TODAY()), YEAR(A1)=YEAR(TODAY()))</code></li>
<li>To check if a date is in the last 30 days:<br />
<code>=TODAY()-A1&lt;30</code></li>
</ul>
<p>[Help on <a href="http://chandoo.org/excel-formulas/and.html">AND formula</a>, <a href="http://chandoo.org/excel-formulas/month.html">MONTH formula</a>, <a href="http://chandoo.org/excel-formulas/year.html">YEAR formula</a>, <a href="http://chandoo.org/excel-formulas/if.html">IF formula</a>]</p>
<p>Using above formula based conditional formatting you can easily determine if a date meets a given criteria and highlight it.</p>
<h3>A Practical Application &#8211; Highlighting Repeat Customers</h3>
<p>Let us say you run a small retail store. And you want to give special discounts to all the repeat customers. In your mind <em>a repeat customer is someone who bought twice from you in last 30 days.</em> (If the person bought twice but the gap between 2 purchases is more than 30 days they are not repeat customers).</p>
<p><strong>In tomorrow&#8217;s post I will show you how to highlight repeat customers using excel conditional formatting. Stay tuned.<br />
</strong></p>
<h3>Learn more about Excel Conditional Formatting</h3>
<ul>
<li><a href="http://chandoo.org/wp/2009/03/13/excel-conditional-formatting-basics/">Excel conditional formatting basics</a></li>
<li><a href="http://chandoo.org/wp/2008/03/13/want-to-be-an-excel-conditional-formatting-rock-star-read-this/">Using formulas in excel conditional formatting &#8211; 5 kickass examples</a></li>
<li><a href="http://chandoo.org/wp/2009/03/17/highlight-top-10-values-conditional-formatting/">Highlight Top 10 items in a list &#8211; using conditional formatting</a></li>
<li>More tutorials on <a href="http://chandoo.org/wp/tag/conditional-formatting/">Conditional Formatting</a>, <a href="http://chandoo.org/wp/tag/date-and-time/">Excel Dates</a>, <a href="http://chandoo.org/excel-formulas/date-time-functions.html">Excel Date Formulas</a></li>
</ul>
<h3>Join our email news letter:</h3>
<p>If you like this article, please join our mailing list. You will get an excel tip every weekday. Also, you will get a free copy of my 95 excel tips e-book. <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=PointyHairedDilbert&amp;loc=en_US">Click here to join</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2010/01/05/conditional-formatting-dates/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Print Worksheets in One Page Across [Quick Tips]</title>
		<link>http://chandoo.org/wp/2009/12/22/print-excel-one-page-across/</link>
		<comments>http://chandoo.org/wp/2009/12/22/print-excel-one-page-across/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 12:47:42 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[Excel 101]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[quick tip]]></category>
		<category><![CDATA[spreadcheats]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[using excel]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2474</guid>
		<description><![CDATA[Have you ever wondered how to print excel sheets in one page across? so that when you print a large excel spreadsheet the output can be read one page after another. We can use the print settings in Excel to do this very easily. In this episode of quick tips we will learn how to do this with in 5 seconds.]]></description>
			<content:encoded><![CDATA[<p><em><strong>Have you ever wondered how to print excel sheets in one page across? </strong></em>so that when you print a large excel spreadsheet the output can be read one page after another, as the normal way (instead of reading the output sideways and down)</p>
<p>Of course, we can use the print settings in Excel to do this very easily.</p>
<h3>In Excel 2003:</h3>
<p>It is a bit sneaky in Excel 2003 and earlier, but totally worth it.</p>
<p>Go to Print Settings, and from &#8220;page&#8221; tab, set the Fit to &#8220;1&#8243; pages wide by and leave the tall field blank (if there is a value, just remove it).<br />
<img class="ppic" title="Print Worksheets in One Page Across - How to print large spreadsheets using excel 2003" src="http://chandoo.org/wp/wp-content/uploads/2009/12/print-1-page-wide-settings-excel.png" alt="Print Worksheets in One Page Across - How to print large spreadsheets using excel 2003" /></p>
<h3>In Excel 2007+:</h3>
<p>From the Page Layout ribbon tab, set the width to &#8220;1 page&#8221; and height to &#8220;automatic&#8221; to print the worksheet in one page across.</p>
<p><img class="ppic" title="Print Worksheets in One Page Across - How to print large spreadsheets using excel 2007" src="http://chandoo.org/wp/wp-content/uploads/2009/12/print-1-page-wide-setup-excel.png" alt="Print Worksheets in One Page Across - How to print large spreadsheets using excel 2007" /></p>
<p><strong>In Excel 2010,</strong> it is even more simpler as you can use the backstage view to tell excel how you want your sheets to be printed.</p>
<p>More <a href="http://chandoo.org/wp/tag/printing/">printing tips for excel</a> and <a href="http://chandoo.org/wp/tag/quick-tip/">bite sized yummy excel tip cookies</a> for you to chew.</p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/12/22/print-excel-one-page-across/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The 1000th Post</title>
		<link>http://chandoo.org/wp/2009/12/21/1000th-post/</link>
		<comments>http://chandoo.org/wp/2009/12/21/1000th-post/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 15:13:09 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[1000th post]]></category>
		<category><![CDATA[custom cell formatting]]></category>
		<category><![CDATA[Excel 101]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[number formatting]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[using excel]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2470</guid>
		<description><![CDATA[It is not everyday that a blog boasts of 1000th post. After blogging for 1999 days ie 5 years 5 months 24 days, finally, this is my thousandth post.

While this is not a real mile stone or anything, I want to use this post to say thanks. Without you, this mile stone means nothing to me. :)]]></description>
			<content:encoded><![CDATA[<p><img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/12/1000thpost-phd.png" alt="The 1000th Post" align="right" />It is not everyday that a blog boasts of 1000th post. <strong>After blogging for 1999 days <em>ie</em> 5 years 5 months 24 days, finally, this is my thousandth post.</strong></p>
<p>While this is not a real mile stone or anything, I want to use this post to say thanks.</p>
<p>Thanks to this blog, I have found passion for working with data.<br />
Thanks to this blog, I am able to share my passion with all of you.<br />
Thanks to this blog, I learn new things almost every day.<br />
Thanks to this blog, I found such lovely audience.<br />
Thanks to this blog, I got so many new friends and mentors.<br />
Thanks to this blog, I am no longer worried about my finances.<br />
Thanks to this blog, I have improved my writing skills.<br />
Thanks to this blog, I have become a better individual.<br />
Thanks to this blog, I wake up with a smile everyday.<br />
Thanks to this blog, I feel connected, compassionate, creative and content.</p>
<h1><strong>Thank you PHD.</strong></h1>
<h3>The next 1000 posts</h3>
<p>It may as well take another 5 years before I reach the 2000 post mile stone. But here is what I have in mind for PHD&#8217;s future.</p>
<ul>
<li><strong>Make more users awesome in Excel and Charting</strong>. That means, more tricks, hacks, formulas, charting tutorials.</li>
<li><strong>Encourage guest posts</strong> &#8211; If there is one thing I am sure about what I know it is &#8220;I know very little&#8221;. The blog certainly helps me learn new things everyday, but there is so much to learn and there is so little time. Guest posts are a great way to pick up new ideas and new techniques. You will see a lot more of them in future.</li>
<li><strong>Have regular polls and contests</strong> &#8211; I am hoping to launch a poll or contest every month. It is no easy task, but I find the community interaction really good on these types of posts.</li>
<li><strong>Write few more &#8220;series&#8221; posts</strong> &#8211; may be about financial modeling, small business management, better charting etc.</li>
<li><strong>Start a weekly news letter</strong> &#8211; Our community has grown tremendously in the last 2 years. Keeping in touch with our members has become a difficult task. A news letter (sent out once every week or two) can be an easy way to send updates and share ideas.</li>
<li><strong>Improve the forums</strong> &#8211; The PHD forums have amazing number of discussions on regular basis. My aim is increase the activity on forums by encourage more members to sign up and discuss.</li>
<li><strong>Have More Videos and Screencasts</strong> &#8211; It is far more easy to learn by looking someone do it. Thus you will see more videos and screencast based tutorials in future.</li>
<li><strong>Launch few more ebooks and products</strong> &#8211; I find that having my own products is the best and most effective way to monetize this blog. Over time I am hoping to get rid of the ads on the blog and rely only on revenues from my products.</li>
<li><strong>Review and recommend quality excel and charting products</strong> &#8211; There are several high-quality excel products &#8211; from folks like Peltier, Jorge, Stephen Few, Charley Kyd etc. and we all could benefit much by understanding how these products work and how they can help us do more in less time.</li>
<li><strong>Start Online Excel Training Classes</strong> &#8211; I have been making the videos and material for offering online excel classes. The course should start sometime next year. It should be exciting to see how this takes off.</li>
</ul>
<p><strong>It is not post until you get an excel tip</strong>. As usual we eat and drink excel tips. So here is one to make this a really useful post.<br />
<img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/12/format-numbers-in-thousands-excel.png" alt="Format a number to be shown in thousands" align="right" /></p>
<h3>Format a number to be shown in thousands</h3>
<p>To format a number in a cell to be displayed in &#8220;thousands&#8221;,</p>
<ul>
<li>Select the cell, Hit CTRL+1 (or go to &#8220;format cells&#8221;)</li>
<li>From the &#8220;number&#8221; tab, go to &#8220;custom&#8221; format to specify a <a href="http://chandoo.org/wp/tag/custom-cell-formatting">custom number formatting code</a></li>
<li>Specify the code as <span style="color: #ff0000;"><code>#,##0, " thousands"</code></span></li>
<li>Bonus &#8211; use <span style="color: #ff0000;"><code>#,##0,, " millions"</code></span> to show numbers in millions</li>
<li>That is all.</li>
</ul>
<p><strong>Thank you once again. Without you, this mile stone means nothing to me.</strong> <img src='http://chandoo.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/12/21/1000th-post/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How to Print Excel Comments</title>
		<link>http://chandoo.org/wp/2009/12/16/print-excel-comments/</link>
		<comments>http://chandoo.org/wp/2009/12/16/print-excel-comments/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 09:04:00 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[cell comments]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[page setup]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[quick tip]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2456</guid>
		<description><![CDATA[We all know how to make comments on excel documents, just select the cell where you want a comment, press SHIFT+F2 and make the comment. But the comments are only visible when you open the workbook. What if you want to print out an excel file, but include all the comments as well?

Turns out you can do that with a hidden option in excel page setup.]]></description>
			<content:encoded><![CDATA[<p>We all know how to make comments on excel documents, just select the cell where you want a comment, press SHIFT+F2 and make the comment. But the comments are only visible when you open the workbook. <strong>What if you want to print out an excel file, but include all the comments as well?</strong></p>
<p><em>Turns out you can do that with a <strong>hidden </strong>option in excel page setup.</em></p>
<h3>To print excel comments:</h3>
<ol>
<li>Go to Page Layout Ribbon &gt; Click on &#8220;Print Titles&#8221; button. This opens the Page Setup dialog. (In excel 2003 you can just go to File &gt; Page Setup)</li>
<li>You should be in the &#8220;Sheet&#8221; tab, if not go there.</li>
<li>Do you see that sneaky little box called as &#8220;comments&#8221;? Click on it and select how you want to print comments.<br />
<img class="ppic" title="Print Excel Comments" src="http://chandoo.org/wp/wp-content/uploads/2009/12/print-excel-comments.png" alt="Print Excel Comments" /></li>
<li>You can <strong>print comments as they are shown</strong> or <strong>print them at the end</strong> in a separate page. The output will look like this:<br />
<img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/12/print-excel-comments-inline.png" alt="Print Spreadsheet Excel Comments - As shown" width="240" height="161" align="left" /><img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/12/print-excel-comments-at-the-end.png" alt="Print Spreadsheet Excel Comments - In a separate page" width="240" height="161" /></li>
</ol>
<p>That is all. Now you know the trick to print excel spreadsheet comments.</p>
<p><strong>More on excel comments</strong>: <a href="http://chandoo.org/wp/2008/08/01/15-fun-things-with-excel/">change the shape of excel comment box</a> | <a href="http://chandoo.org/wp/2009/09/11/format-comment-box/">pimp your comment boxes</a> | <a href="http://chandoo.org/wp/2009/09/03/get-cell-comments/">extract comments using formulas</a></p>
<p>Learn more about<strong> </strong><a href="http://chandoo.org/wp/tag/printing/">printing &amp; excel</a> and <a href="http://chandoo.org/wp/tag/quick-tip/">quick excel tips</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/12/16/print-excel-comments/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to hide &#8220;0&#8243; in chart axis [quick tip]</title>
		<link>http://chandoo.org/wp/2009/12/14/how-to-hide-0-in-chart-axis/</link>
		<comments>http://chandoo.org/wp/2009/12/14/how-to-hide-0-in-chart-axis/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 21:45:29 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Charts and Graphs]]></category>
		<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[axis]]></category>
		<category><![CDATA[axis formatting]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[custom cell formatting]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[number formatting]]></category>
		<category><![CDATA[quick tip]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2453</guid>
		<description><![CDATA[Have you ever wondered how you can hide that 0 (zero) at axis bottom? Like shown beside. You can use custom cell formatting codes (or custom number formatting codes) to do just that. Just go to axis formatting and from the number tab set the axis number format to something like <code>#,##0;-#,##0;;</code> Read the rest of the post to learn more.]]></description>
			<content:encoded><![CDATA[<p><em><strong>Have you ever wondered how you can hide that 0 (zero) at axis bottom? Like this&#8230;,</strong></em></p>
<p><img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/12/hide-zero-chart-axis.png" alt="How to hide zero in chart axis" /></p>
<p><strong>Here is a handy little trick to do just that:</strong></p>
<ol> <img class="ppic" src="http://chandoo.org/wp/wp-content/uploads/2009/12/hide-zero-0-custom-format-code.png" alt="How to hide zero in chart axis - use custom cell formatting codes" align="right" /></p>
<li>Select the axis and press CTRL+1 (or right click and select &#8220;Format axis&#8221;)</li>
<li>Go to &#8220;Number&#8221; tab. Select &#8220;Custom&#8221;</li>
<li>Specify the custom formatting code as <span style="background:#aaa"><code>#,##0;-#,##0;;</code></span></li>
<li>Press &#8220;Add&#8221; if you are using Excel 2007, otherwise press just OK.</li>
<li>That is all.</li>
</ol>
<p>The trick uses <a href="http://chandoo.org/wp/2008/06/16/formatting-numbers-in-excel-few-tips/">custom number formatting</a> codes in excel to show blanks whenever axis value is Zero, thus hiding the zeros at the bottom of axis. [even more juicy awesome kickass stuff on <a href="http://chandoo.org/wp/tag/custom-cell-formatting/">custom cell formatting</a>]</p>
<p>Learn more <a href="http://chandoo.org/wp/tag/quick-tip/">quick excel tips</a> and <a href="http://chandoo.org/wp/category/visualization/">charting tricks</a>.</p>
<p><em>PS: </em>I am in Stockholm this week, to meet some customers. Internet access is limited plus I am too busy exploring this beautiful city. So we will have only quick tips this week.</p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/12/14/how-to-hide-0-in-chart-axis/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to pick a random date? [Formulas]</title>
		<link>http://chandoo.org/wp/2009/12/08/random-dates/</link>
		<comments>http://chandoo.org/wp/2009/12/08/random-dates/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 09:33:54 +0000</pubDate>
		<dc:creator>Chandoo</dc:creator>
				<category><![CDATA[Excel Howtos]]></category>
		<category><![CDATA[date and time]]></category>
		<category><![CDATA[Learn Excel]]></category>
		<category><![CDATA[Microsoft Excel Formulas]]></category>
		<category><![CDATA[rand()]]></category>
		<category><![CDATA[RANDBETWEEN()]]></category>
		<category><![CDATA[random numbers]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[today()]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://chandoo.org/wp/?p=2447</guid>
		<description><![CDATA[Often when you need to generate a sample from large data set, you may want to pick data from a random date. In such cases, you can use excel's RAND() and RANDBETWEEN() formulas to pick a random date. Here I have included few examples,]]></description>
			<content:encoded><![CDATA[<p><img class="ppic" src="http://chandoo.org/img/i/random-date-time.png" alt="Random Dates in Excel" align="left" />Often when you need to generate a sample from large data set, you may want to pick data from a random date. In such cases, you can use excel&#8217;s RAND() and RANDBETWEEN() formulas [<a title="Excel RAND() formula - Syntax and help" href="http://chandoo.org/excel-formulas/rand.html">syntax and help</a>] to pick a random date.</p>
<p>Here I have included few examples,</p>
<p><strong>To pick a random date in the last one month:</strong></p>
<p><code>=TODAY() - RANDBETWEEN(0,30)</code></p>
<p>or</p>
<p><code>=TODAY() - RAND()*30</code></p>
<p><strong>To pick a random date in the next one month:</strong></p>
<p><code>=TODAY() + RANDBETWEEN(0,30)</code></p>
<p>or</p>
<p><code>=TODAY() + RAND()*30</code></p>
<p><strong>To pick a random date in the last one year:</strong></p>
<p><code>=TODAY() - RANDBETWEEN(0,365)</code></p>
<p>or</p>
<p><code>=TODAY() - RAND()*365</code></p>
<p><strong>To pic a random time of day:</strong></p>
<p><code>=RAND()</code></p>
<p>Make sure you format the cell to show value as date (or time) to see the outcome. Also, if you have not turned on the Analysis toolpak, the RANDBETWEEN formula will not work.</p>
<p><strong>More on picking random stuff:</strong></p>
<p><a href="http://chandoo.org/wp/2008/11/20/random-phone-number-formula/">Random phone number</a> | <a href="http://chandoo.org/wp/2008/07/28/shuffle-cells-random-order/">Shuffle a list</a> | <a href="http://chandoo.org/wp/?s=rand%28%29">More on Random Formulas</a></p>
<p><a href="http://chandoo.org/wp/tag/formulas/">More excel formula tutorials</a></p>
<p>PS: If you are looking to pick <em><strong>up</strong></em> a random date, what are you doing here?</p>
]]></content:encoded>
			<wfw:commentRss>http://chandoo.org/wp/2009/12/08/random-dates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
