<?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"
	>

<channel>
	<title>Excel Digest</title>
	<atom:link href="http://www.exceldigest.com/myblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exceldigest.com/myblog</link>
	<description>Excel help for the rest of us</description>
	<pubDate>Wed, 19 Nov 2008 11:25:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to sum values based on multiple criteria</title>
		<link>http://www.exceldigest.com/myblog/2008/11/18/how-to-sum-values-based-on-multiple-criteria/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/18/how-to-sum-values-based-on-multiple-criteria/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 05:02:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Data]]></category>

		<category><![CDATA[Formulas]]></category>

		<category><![CDATA[Excel Formulas]]></category>

		<category><![CDATA[Functions]]></category>

		<category><![CDATA[Sum]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=345</guid>
		<description><![CDATA[The SUMIF function is a direct way to sum values based on a single criteria. If we want to sum or add  values based on multiple criteria  however, then we need to take extra steps. One alternative for this is to use the SUM function and the IF function.
In the example below we want to [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to sum values based on multiple criteria", url: "http://www.exceldigest.com/myblog/2008/11/18/how-to-sum-values-based-on-multiple-criteria/" });</script>]]></description>
			<content:encoded><![CDATA[<p>The SUMIF function is a direct way to <a href="http://www.exceldigest.com/myblog/2008/11/13/how-to-sum-values-based-on-a-criteria-or-condition/">sum values based on a single criteria</a>. If we want to sum or add  values based on multiple criteria  however, then we need to take extra steps. One alternative for this is to use the SUM function and the IF function.</p>
<p>In the example below we want to sum up the total sales for “John” in quarter 2 (Q2). i.e. our criteria is &#8220;John&#8221; in column B and &#8220;Q2&#8243; in column C. We will use the following formula for this purpose:</p>
<p>=SUM(IF($B$2:$B$17=&#8221;John&#8221;,IF($C$2:$C$17=&#8221;Q2&#8243;,$D$2:$D$17,0),0))</p>
<p>However this formula should be an &#8220;Array formula&#8221;. To make it an &#8220;Array formula&#8221; you should press CTRL+SHIFT+ENTER while you are in the edit mode of the formula. It should then look like this :</p>
<p>{=SUM(IF($B$2:$B$17=&#8221;John&#8221;,IF($C$2:$C$17=&#8221;Q2&#8243;,$D$2:$D$17,0),0))}</p>
<p>This formula will give us a result of 9547 (summing sales in the yellow rows).</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/summulti.gif"><img class="alignnone size-medium wp-image-351" title="summulti" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/summulti-277x300.gif" alt="" width="277" height="300" /></a></p>
<p><strong>Note:</strong></p>
<p>The formula presented in this post is generated using the <strong>conditional sum </strong>wizard. You can try the wizard for yourself.</p>
<p>If you have the Analysis Toolpak installed, then the wizard should be available in the Tools menu. If not then read more on: <a href="http://www.exceldigest.com/myblog/2008/10/21/how-to-install-and-load-the-analysis-toolpak/">How-to-install-and-load-the-analysis-toolpak</a>.</p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+sum+values+based+on+multiple+criteria&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F18%2Fhow-to-sum-values-based-on-multiple-criteria%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/18/how-to-sum-values-based-on-multiple-criteria/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Calculate the number of months between two dates</title>
		<link>http://www.exceldigest.com/myblog/2008/11/16/calculate-the-number-of-months-between-two-dates/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/16/calculate-the-number-of-months-between-two-dates/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 11:19:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Dates]]></category>

		<category><![CDATA[Formulas]]></category>

		<category><![CDATA[Date]]></category>

		<category><![CDATA[Month]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=335</guid>
		<description><![CDATA[To calculate the number of months between two dates, there are two possibilities:
1. Both dates occur in the same year.
2. Dates occur in two different years.
Case 1 - both dates occur in the same year
Use the MONTH function to extract the month from each date, then subtract the two months from each other.
Example (using format:dd/mm/yyyy):
Suppose [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Calculate the number of months between two dates", url: "http://www.exceldigest.com/myblog/2008/11/16/calculate-the-number-of-months-between-two-dates/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To calculate the number of months between two dates, there are two possibilities:</p>
<p>1. Both dates occur in the same year.<br />
2. Dates occur in two different years.</p>
<p><strong>Case 1 - both dates occur in the same year</strong></p>
<p>Use the MONTH function to extract the month from each date, then subtract the two months from each other.</p>
<p>Example (using format:dd/mm/yyyy):</p>
<p>Suppose you have the date 25/09/2007 in cell A1 and the date 31/12/2007 in cell B1 (both cells formatted as date). To calculate the number of months between these two dates you use the following formula:</p>
<p>=MONTH(B1) - MONTH(A1)</p>
<p>This should give a result of 3.</p>
<p>Note that the cell where you write the formula must be formatted as <strong>number </strong>and not date.</p>
<p><strong>Case 2 - dates occur in two different years</strong></p>
<p>Use the the YEAR function and the MONTH function.</p>
<p>Example (using format:dd/mm/yyyy):</p>
<p>Suppose you have the date 25/09/2007 in cell A1 and the date 31/03/2008 in cell B1 (both cells formatted as date). To calculate the number of months between these two dates you use the following formula:</p>
<p>=(YEAR(B1)-YEAR(A1))*12+MONTH(B1)-MONTH(A1)</p>
<p>This should give a result of 6.</p>
<p>Again the cell where you write the formula must be formatted as <strong>number </strong>and not date.</p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=Calculate+the+number+of+months+between+two+dates&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F16%2Fcalculate-the-number-of-months-between-two-dates%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/16/calculate-the-number-of-months-between-two-dates/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to calculate the difference between two dates</title>
		<link>http://www.exceldigest.com/myblog/2008/11/14/how-to-calculate-the-difference-between-two-dates/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/14/how-to-calculate-the-difference-between-two-dates/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 18:37:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Dates]]></category>

		<category><![CDATA[Formulas]]></category>

		<category><![CDATA[Date]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=329</guid>
		<description><![CDATA[To calculate the difference or the number of days between two dates, you simply subtract one date from the other.
Example (using format:dd/mm/yyyy):
Suppose you have the date 25/11/2007 in cell A1 and the date 15/01/2008 in cell B1 (both cells formatted as date). To calculate the difference between these two dates you use the following formula:
=B1 [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to calculate the difference between two dates", url: "http://www.exceldigest.com/myblog/2008/11/14/how-to-calculate-the-difference-between-two-dates/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To calculate the difference or the number of days between two dates, you simply subtract one date from the other.</p>
<p>Example (using format:dd/mm/yyyy):</p>
<p>Suppose you have the date 25/11/2007 in cell A1 and the date 15/01/2008 in cell B1 (both cells formatted as date). To calculate the difference between these two dates you use the following formula:</p>
<p>=B1 - A1</p>
<p>This should give a result of 51 ( 5 days in Nov + 31 in Dec + 15 in Jan).</p>
<p>Note that the cell where you write the formula must be formatted as <strong>number </strong>and not date.</p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+calculate+the+difference+between+two+dates&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F14%2Fhow-to-calculate-the-difference-between-two-dates%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/14/how-to-calculate-the-difference-between-two-dates/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to sum values based on a criteria or condition</title>
		<link>http://www.exceldigest.com/myblog/2008/11/13/how-to-sum-values-based-on-a-criteria-or-condition/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/13/how-to-sum-values-based-on-a-criteria-or-condition/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 16:09:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Functions]]></category>

		<category><![CDATA[Criteria]]></category>

		<category><![CDATA[Sum]]></category>

		<category><![CDATA[SUMIF]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=318</guid>
		<description><![CDATA[To sum values based on a specified criteria or condition you use the SUMIF function, and its syntax is as follows:
SUMIF(range,criteria,sum_range)
Range is the range of cells that you want to be evaluated using the specified criteria.
Criteria is the criteria in the form of a number, expression, or text that defines which cells will be added [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to sum values based on a criteria or condition", url: "http://www.exceldigest.com/myblog/2008/11/13/how-to-sum-values-based-on-a-criteria-or-condition/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To sum values based on a specified criteria or condition you use the SUMIF function, and its syntax is as follows:</p>
<p>SUMIF(range,criteria,sum_range)</p>
<p><strong>Range</strong> is the range of cells that you want to be evaluated using the specified criteria.</p>
<p><strong>Criteria</strong> is the criteria in the form of a number, expression, or text that defines which cells will be added or summed.</p>
<p><strong>Sum_range</strong> are the actual cells to add if their corresponding cells in the range match criteria.</p>
<p>In the following example if we want to sum all the sales for Product3 then we will use the following formula:</p>
<p>=SUMIF(A2:A13;&#8221;Product3&#8243;;C2:C13)</p>
<p>I.e. we will search for &#8220;Product3&#8243; in the range A2:A13. When it is found then the corresponding value (in the same row) from the range C2:C13 will be added to the sum. </p>
<p>This will give a result of 465 (77 + 200 + 188).</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/sales1.gif"><img class="alignnone size-medium wp-image-321" title="sales1" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/sales1.gif" alt="" width="242" height="282" /></a></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+sum+values+based+on+a+criteria+or+condition&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F13%2Fhow-to-sum-values-based-on-a-criteria-or-condition%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/13/how-to-sum-values-based-on-a-criteria-or-condition/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A macro to print only visible sheets in a workbook</title>
		<link>http://www.exceldigest.com/myblog/2008/11/11/a-macro-to-print-only-visible-sheets-in-a-workbook/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/11/a-macro-to-print-only-visible-sheets-in-a-workbook/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 06:01:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Printing]]></category>

		<category><![CDATA[Visible]]></category>

		<category><![CDATA[Workbook]]></category>

		<category><![CDATA[Worksheets]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=253</guid>
		<description><![CDATA[If you have a workbook with a considerable number of worksheets, some visible and other hidden, and you want to print only the visible sheets, then you can use this macro:
Sub PrintVisibleSheets()
&#8216;***************************************************
&#8216;Print only visible  sheets in the active workbook                [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "A macro to print only visible sheets in a workbook", url: "http://www.exceldigest.com/myblog/2008/11/11/a-macro-to-print-only-visible-sheets-in-a-workbook/" });</script>]]></description>
			<content:encoded><![CDATA[<p>If you have a workbook with a considerable number of worksheets, some visible and other hidden, and you want to print only the visible sheets, then you can use this macro:</p>
<p class="vbacode">Sub PrintVisibleSheets()<br />
&#8216;***************************************************<br />
&#8216;Print only visible  sheets in the active workbook                *<br />
&#8216;***************************************************<br />
Dim wSheet As Worksheet<br />
For Each wSheet In ActiveWorkbook.Worksheets<br />
If wSheet.Visible Then wSheet.PrintOut<br />
Next<br />
End Sub
</p>
<p>This code is also available in the <a href="http://www.exceldigest.com/myblog/downloads/">Downloads</a> page.</p>
<p>Copy the code to a new module in Visual Basic Editor, then run it like any other VBA macro.</p>
<p>Check this post if you want to know <a href="http://www.exceldigest.com/myblog/2008/11/05/how-to-write-a-vba-macro/">How to write a VBA macro</a>.</p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=A+macro+to+print+only+visible+sheets+in+a+workbook&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F11%2Fa-macro-to-print-only-visible-sheets-in-a-workbook%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/11/a-macro-to-print-only-visible-sheets-in-a-workbook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to summarize data using subtotals</title>
		<link>http://www.exceldigest.com/myblog/2008/11/10/how-to-summarize-data-using-subtotals/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/10/how-to-summarize-data-using-subtotals/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 04:44:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Data]]></category>

		<category><![CDATA[Subtotals]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=212</guid>
		<description><![CDATA[One of the options in the Data menu is the Subtotals. It allows you to create subtotals for a specific column in your worksheet, based on a key in another column.  The subtotals will be added to the original data which will be retained as it is.
The best way to explain how to create a [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to summarize data using subtotals", url: "http://www.exceldigest.com/myblog/2008/11/10/how-to-summarize-data-using-subtotals/" });</script>]]></description>
			<content:encoded><![CDATA[<p>One of the options in the Data menu is the Subtotals. It allows you to create subtotals for a specific column in your worksheet, based on a key in another column.  The subtotals will be added to the original data which will be retained as it is.</p>
<p>The best way to explain how to create a subtotal is by using an example.</p>
<p>In the image below you see a list of products, salesmen and total sales for a product / salesman.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable0.gif"><img class="alignnone size-medium wp-image-155" title="pivottable0" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable0.gif" alt="" width="241" height="282" /></a></p>
<p>To create subtotals of the &#8220;Total Sales&#8221; by product, you perform the following steps:</p>
<p>1. Prepare your data table, make sure you have columns headings and sort the data by your key or category (Product in our example).</p>
<p>2. Select the data range or simply click on a cell within the range.</p>
<p>3. In the <span style="text-decoration: underline;">Data </span>menu click <span style="text-decoration: underline;">Subtotals</span>. The <span style="text-decoration: underline;">Subtotal </span>dialogue will open.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Subtotal1.gif"><img class="alignnone size-medium wp-image-154" title="Subtotal1" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Subtotal1.gif" alt="" width="270" height="302" /></a></p>
<p>4. From the combo box labeled &#8220;<span style="text-decoration: underline;">At each change in:</span>&#8221; select the category on which you want to base the subtotals.</p>
<p>5. From the combo box labeled &#8220;<span style="text-decoration: underline;">Use function:</span>&#8221; select the function to be used in calculating the subtotals. Usually you will use the SUM function, but in some cases you may just want to know &#8220;how many items&#8221; so you will use the COUNT function instead.</p>
<p>6. From the list labeled &#8220;<span style="text-decoration: underline;">Add subtotal to:</span>&#8221; select the column to be summarized into subtotals.</p>
<p>7. Click <span style="text-decoration: underline;">OK</span>.</p>
<p>8. The new list of your data will look like this.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Subtotal2.gif"><img class="alignnone size-medium wp-image-154" title="Subtotal2" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Subtotal2.gif" alt="" width="286" height="408" /></a></p>
<p>9. When the subtotals are created, Excel also defines groups based on the rows used to calculate the subtotals. The groupings form an outline of your worksheet based on the criteria that you used to create the subtotals.</p>
<p>At the top left corner of the image above you will see the numbers 1 2 3. This is the outline of your subtotals.</p>
<ul>
<li>Click on 3 and you will get all details of your data.</li>
<li>Click on 2 and you will only get the subtotals by category.</li>
<li>Click on 1 and you will only get the grand total.</li>
</ul>
<p>This is what you get when you click &#8220;2&#8243;.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Subtotal3.gif"><img class="alignnone size-medium wp-image-154" title="Subtotal2" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Subtotal3.gif" alt="" width="285" height="159" /></a></p>
<p><strong>Note:</strong></p>
<p>To remove subtotals:</p>
<p>1. In the <span style="text-decoration: underline;">Data </span>menu click <span style="text-decoration: underline;">Subtotals</span>.</p>
<p>2. When the <span style="text-decoration: underline;">Subtotal </span>dialogue opens, click the button labeled <span style="text-decoration: underline;">&#8220;Remove All&#8221;</span>.</p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+summarize+data+using+subtotals&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F10%2Fhow-to-summarize-data-using-subtotals%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/10/how-to-summarize-data-using-subtotals/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to print all sheets in a workbook</title>
		<link>http://www.exceldigest.com/myblog/2008/11/08/how-to-print-all-sheets-in-a-workbook/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/08/how-to-print-all-sheets-in-a-workbook/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 08:35:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Printing]]></category>

		<category><![CDATA[Workbook]]></category>

		<category><![CDATA[Worksheet]]></category>

		<category><![CDATA[Worksheets]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=223</guid>
		<description><![CDATA[To print all worksheets in a workbook then :
1. In the File menu click Print.
2. The Print window will open.
3. At the bottom of the Print window find a section labeled: Print what .
4. Click on the radio button labeled: Entire workbook.
5. Click OK.
Applies to Excel 2003
<script type="text/javascript">SHARETHIS.addEntry({ title: "How to print all sheets in a workbook", url: "http://www.exceldigest.com/myblog/2008/11/08/how-to-print-all-sheets-in-a-workbook/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To print all worksheets in a workbook then :</p>
<p>1. In the <span style="text-decoration: underline;">File</span> menu click <span style="text-decoration: underline;">Print</span>.</p>
<p>2. The <span style="text-decoration: underline;">Print</span> window will open.</p>
<p>3. At the bottom of the <span style="text-decoration: underline;">Print</span> window find a section labeled: <span style="text-decoration: underline;">Print what</span> .</p>
<p>4. Click on the radio button labeled: <span style="text-decoration: underline;">Entire workbook</span>.</p>
<p>5. Click <span style="text-decoration: underline;">OK</span>.</p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+print+all+sheets+in+a+workbook&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F08%2Fhow-to-print-all-sheets-in-a-workbook%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/08/how-to-print-all-sheets-in-a-workbook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to copy or move worksheets within the same workbook</title>
		<link>http://www.exceldigest.com/myblog/2008/11/07/how-to-copy-or-move-worksheets-within-the-same-workbook/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/07/how-to-copy-or-move-worksheets-within-the-same-workbook/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 05:39:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Copy]]></category>

		<category><![CDATA[Move]]></category>

		<category><![CDATA[Workbook]]></category>

		<category><![CDATA[Worksheet]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=209</guid>
		<description><![CDATA[To copy or move worksheets within the same workbook follow these steps:
1. Switch to the workbook which has the sheet to be copied or moved.
2. in the Edit menu click Move or copy sheet.

3. The Move or copy dialogue will open.

4. The To book drop down will default to the current workbook. Leave this as [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to copy or move worksheets within the same workbook", url: "http://www.exceldigest.com/myblog/2008/11/07/how-to-copy-or-move-worksheets-within-the-same-workbook/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To copy or move worksheets within the same workbook follow these steps:</p>
<p>1. Switch to the workbook which has the sheet to be copied or moved.</p>
<p>2. in the <span style="text-decoration: underline;">Edit </span>menu click <span style="text-decoration: underline;">Move or copy sheet</span>.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet1.gif"><img class="alignnone size-medium wp-image-188" title="Copysheet1" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet1.gif" alt="" width="176" height="247" /></a></p>
<p>3. The <span style="text-decoration: underline;">Move or copy</span> dialogue will open.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet2.gif"><img class="alignnone size-medium wp-image-188" title="Copysheet2" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet2.gif" alt="" width="200" height="268" /></a></p>
<p>4. The <span style="text-decoration: underline;">To book</span> drop down will default to the current workbook. Leave this as it is.</p>
<p>5. in the <span style="text-decoration: underline;">Before sheet</span> list click where you want the sheet to be moved (position within the workbook).</p>
<p>6. Select the <span style="text-decoration: underline;">Create a copy</span> check box if you want to retain the original worksheet , or deselect it  if you just want to move the worksheet to a new location withinthe workbook.</p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet2.gif"><br />
</a></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+copy+or+move+worksheets+within+the+same+workbook&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F07%2Fhow-to-copy-or-move-worksheets-within-the-same-workbook%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/07/how-to-copy-or-move-worksheets-within-the-same-workbook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to write a VBA macro</title>
		<link>http://www.exceldigest.com/myblog/2008/11/05/how-to-write-a-vba-macro/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/05/how-to-write-a-vba-macro/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 06:35:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Visual Basic]]></category>

		<category><![CDATA[Macros]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=239</guid>
		<description><![CDATA[If you know Visual Basic programming then you can create your own VBA macro and run from within Excel.
Follow the steps below:
1.      On the Tools menu select Macros.
2.      On the Macro submenu select Visual Basic Editor.

3.      You will be switched [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to write a VBA macro", url: "http://www.exceldigest.com/myblog/2008/11/05/how-to-write-a-vba-macro/" });</script>]]></description>
			<content:encoded><![CDATA[<p>If you know Visual Basic programming then you can create your own VBA macro and run from within Excel.</p>
<p>Follow the steps below:</p>
<p dir="ltr">1.      On the <span style="text-decoration: underline;">Tools</span> menu select <span style="text-decoration: underline;">Macros</span>.</p>
<p dir="ltr">2.      On the Macro submenu select <span style="text-decoration: underline;">Visual Basic Editor</span>.</p>
<p><img src="http://exceldigest.com/myblog/wp-admin/images/xudf1.gif" alt="User defined1" /></p>
<p dir="ltr">3.      You will be switched to<span style="text-decoration: underline;"> Visual Basic Editor</span> Menu.</p>
<p><img src="http://exceldigest.com/myblog/wp-admin/images/xudf2.gif" alt="User defined 2" /></p>
<p dir="ltr">4.      On the <span style="text-decoration: underline;">Insert</span> menu (<span style="text-decoration: underline;">Visual Basic Editor)</span> select <span style="text-decoration: underline;">Module</span>.</p>
<p dir="ltr">5.      This will open the code window.</p>
<p><img src="http://exceldigest.com/myblog/wp-admin/images/xudf3.gif" alt="User defined 3" /></p>
<p dir="ltr">6.      Type the Visual Basic code for your macro.</p>
<p dir="ltr">Here is a simple example. A macro to increment the variable i by 5 and write it to column 2 (Column B) in the next row :</p>
<p class="vbacode" dir="ltr">Sub TestMacro()<br />
Dim i As Integer, Row As Integer, Col As Integer<br />
i = 0<br />
Col = 2<br />
For Row = 1 To 10<br />
i = i + 5<br />
ActiveSheet.Cells(Row, Col).Value = i<br />
Next Row<br />
End Sub</p>
<p dir="ltr">7.      On the File menu click Close and return to Microsoft Excel.</p>
<p dir="ltr">8.      Your new macro is now ready to be run.</p>
<p dir="ltr">To run your macro:</p>
<p dir="ltr">1. On the Tools menu select Macros. A list of available macros will be displayed.</p>
<p dir="ltr">2. Select your macro and click Run.</p>
<p dir="ltr"><em>Applies to: Excel 2003</em></p>
<p dir="ltr">
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+write+a+VBA+macro&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F05%2Fhow-to-write-a-vba-macro%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/05/how-to-write-a-vba-macro/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to print more than one sheet in a workbook</title>
		<link>http://www.exceldigest.com/myblog/2008/11/04/how-to-print-more-than-one-sheet-in-a-workbook/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/04/how-to-print-more-than-one-sheet-in-a-workbook/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 07:58:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Printing]]></category>

		<category><![CDATA[Workbook]]></category>

		<category><![CDATA[Worksheet]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=225</guid>
		<description><![CDATA[To print more than one worksheet in a workbook then :
1. Select the worksheets you want to print.

If the sheets to be printed are adjacent then click on the first one, press SHIFT then click the last one.
If they are not then click on the first one, press CTRL then click the others one at [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to print more than one sheet in a workbook", url: "http://www.exceldigest.com/myblog/2008/11/04/how-to-print-more-than-one-sheet-in-a-workbook/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To print more than one worksheet in a workbook then :</p>
<p>1. Select the worksheets you want to print.</p>
<ol type="a">
<li>If the sheets to be printed are adjacent then click on the first one, press <span style="text-decoration: underline;">SHIFT </span>then click the last one.</li>
<li>If they are not then click on the first one, press <span style="text-decoration: underline;">CTRL </span>then click the others one at a time.</li>
</ol>
<p>2. In the <span style="text-decoration: underline;">File</span> menu click <span style="text-decoration: underline;">Print</span>.</p>
<p>3. The <span style="text-decoration: underline;">Print</span> window will open.</p>
<p>4. At the bottom of the <span style="text-decoration: underline;">Print</span> window find a section labeled: <span style="text-decoration: underline;">Print what</span> .</p>
<p>5. Click on the radio button labeled: <span style="text-decoration: underline;">Active sheet(s)</span> .</p>
<p>6. Click <span style="text-decoration: underline;">OK</span>.</p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+print+more+than+one+sheet+in+a+workbook&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F04%2Fhow-to-print-more-than-one-sheet-in-a-workbook%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/04/how-to-print-more-than-one-sheet-in-a-workbook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to copy or move worksheets between workbooks</title>
		<link>http://www.exceldigest.com/myblog/2008/11/03/how-to-copy-or-move-worksheets-between-workbooks/</link>
		<comments>http://www.exceldigest.com/myblog/2008/11/03/how-to-copy-or-move-worksheets-between-workbooks/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 05:15:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Copy]]></category>

		<category><![CDATA[Move]]></category>

		<category><![CDATA[Workbook]]></category>

		<category><![CDATA[Worksheet]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=207</guid>
		<description><![CDATA[To copy or move worksheets between workbooks follow these steps:
1. Switch to the workbook which has the sheet to be copied or moved.
2. in the Edit menu click Move or copy sheet.

3. The Move or copy dialogue will open.

4. In the To book drop down select the destination workbook. You can also choose to create [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to copy or move worksheets between workbooks", url: "http://www.exceldigest.com/myblog/2008/11/03/how-to-copy-or-move-worksheets-between-workbooks/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To copy or move worksheets between workbooks follow these steps:</p>
<p>1. Switch to the workbook which has the sheet to be copied or moved.</p>
<p>2. in the <span style="text-decoration: underline;">Edit </span>menu click <span style="text-decoration: underline;">Move or copy sheet</span>.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet1.gif"><img class="alignnone size-medium wp-image-188" title="Copysheet1" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet1.gif" alt="" width="176" height="247" /></a></p>
<p>3. The <span style="text-decoration: underline;">Move or copy</span> dialogue will open.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet2.gif"><img class="alignnone size-medium wp-image-188" title="Copysheet2" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet2.gif" alt="" width="200" height="268" /></a></p>
<p>4. In the <span style="text-decoration: underline;">To book</span> drop down select the destination workbook. You can also choose to create a new workbook.</p>
<p>5. in the <span style="text-decoration: underline;">Before sheet</span> list click where you want the sheet to be moved (position within the workbook).</p>
<p>6. Select the <span style="text-decoration: underline;">Create a copy</span> check box if you want the worksheet to remain in the original workbook, or deselect it  to move the worksheet completely and delete it from the original workbook.</p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/11/Copysheet2.gif"><br />
</a></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+copy+or+move+worksheets+between+workbooks&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F11%2F03%2Fhow-to-copy-or-move-worksheets-between-workbooks%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/11/03/how-to-copy-or-move-worksheets-between-workbooks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Macro based yearly calendar template</title>
		<link>http://www.exceldigest.com/myblog/2008/10/29/macro-based-yearly-calendar-template/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/29/macro-based-yearly-calendar-template/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 18:07:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Dates]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Visual Basic]]></category>

		<category><![CDATA[Calendar]]></category>

		<category><![CDATA[Calendar Template]]></category>

		<category><![CDATA[Yearly Calendar]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=174</guid>
		<description><![CDATA[I have added to the downloads page a yearly calendar template. This is a dynamic template that will allow you to generate a calendar for any year between 2001 and 2016. There are two combo boxes for the user to select the year and the start date of the week. Each selection will trigger a [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Macro based yearly calendar template", url: "http://www.exceldigest.com/myblog/2008/10/29/macro-based-yearly-calendar-template/" });</script>]]></description>
			<content:encoded><![CDATA[<p>I have added to the <a href="http://www.exceldigest.com/myblog/downloads/">downloads </a>page a yearly calendar template. This is a dynamic template that will allow you to generate a calendar for any year between 2001 and 2016. There are two combo boxes for the user to select the year and the start date of the week. Each selection will trigger a macro that will generate the calendar. Here are a few notes to consider:</p>
<p><strong>To Enable Macros:</strong></p>
<p>Select : Tools &#8212;&gt; Macro &#8212;&gt; Security &#8212;&gt; Security Level &#8212;&gt; Medium</p>
<p><strong>Names of days and months</strong></p>
<p>I have put the names of days and months as tables in the &#8220;Settings&#8221; worksheet. This will allow you to translate them in your own language if necessary. You have to unprotect the sheet first before you can do that.</p>
<p><strong>Protection</strong></p>
<p>1. All sheets are protected to avoid accidental change of data and formulas. If you want to make some changes like formatting for example, then you can unprotect the sheet. Make sure however that you don&#8217;t mess up the formulas.<br />
2. Columns X and Y are hidden but not protected. These columns receive data from the two combo boxes for the year and the start date.</p>
<p><strong>Printing</strong></p>
<p>You can print the calendar just like any other Excel worksheet. The print area is set in a way that it will only print the year and the 12 boxes for the months, i.e. without the combo boxes.</p>
<p><strong>VBA code</strong></p>
<p>If you want to see the code behind all this, then switch to visual basic editor. The main routines are in module2, but some of the code is within different events of the workbook and the combo boxes.</p>
<p>Your feedback is appreciated.</p>
<p><em>Applies to: Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=Macro+based+yearly+calendar+template&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F29%2Fmacro-based-yearly-calendar-template%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/29/macro-based-yearly-calendar-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to get the week number of a given date</title>
		<link>http://www.exceldigest.com/myblog/2008/10/22/how-to-get-the-week-number-of-a-given-date/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/22/how-to-get-the-week-number-of-a-given-date/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 04:50:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Dates]]></category>

		<category><![CDATA[Formulas]]></category>

		<category><![CDATA[Functions]]></category>

		<category><![CDATA[Week Number]]></category>

		<category><![CDATA[Weeknum]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=199</guid>
		<description><![CDATA[To get the week number of a given date, i.e. to find out where the week falls numerically within a year you use the WEEKNUM function.
Syntax
WEEKNUM(serial_num,return_type)
serial_num : is a valid date. E.g. August 15, 2008 or 12/10/2008.
Return_type : is a number that determines on which day the week begins. (1 = Sunday, 2 = Monday). [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to get the week number of a given date", url: "http://www.exceldigest.com/myblog/2008/10/22/how-to-get-the-week-number-of-a-given-date/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To get the week number of a given date, i.e. to find out where the week falls numerically within a year you use the WEEKNUM function.</p>
<p>Syntax</p>
<p>WEEKNUM(serial_num,return_type)</p>
<p>serial_num : is a valid date. E.g. August 15, 2008 or 12/10/2008.</p>
<p>Return_type : is a number that determines on which day the week begins. (1 = Sunday, 2 = Monday). The default is 1.</p>
<p>Example:</p>
<p>If cell A1 = 10/19/2008 , which is a Sunday, then:</p>
<p>=WEEKNUM(A1,1) will return a week number of 43 (week begins in Sunday).</p>
<p>=WEEKNUM(A1,2) will return a week number of 42 (week begins in Monday).</p>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span></p>
<p>WEEKNUM function is part of the Analysis ToolPak add-in. If it is not available in your list of functions then you have to install the Analysis ToolPak. Check the following link for more help:</p>
<p><a href="http://www.exceldigest.com/myblog/2008/10/21/how-to-install-and-load-the-analysis-toolpak/">install and load the Analysis ToolPak add-in</a></p>
<p><span style="text-decoration: underline;"><strong>Important note (from Microsoft Excel Help)</strong></span></p>
<p>The WEEKNUM function considers the week containing January 1 to be the first week of the year. However, there is a European standard that defines the first week as the one with the majority of days (four or more) falling in the new year. This means that for years in which there are three days or less in the first week of January, the WEEKNUM function returns week numbers that are incorrect according to the European standard.</p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+get+the+week+number+of+a+given+date&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F22%2Fhow-to-get-the-week-number-of-a-given-date%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/22/how-to-get-the-week-number-of-a-given-date/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to install and load the Analysis Toolpak</title>
		<link>http://www.exceldigest.com/myblog/2008/10/21/how-to-install-and-load-the-analysis-toolpak/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/21/how-to-install-and-load-the-analysis-toolpak/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 07:45:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Customization]]></category>

		<category><![CDATA[Functions]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Analysis Toolpack]]></category>

		<category><![CDATA[Analysis Toolpak]]></category>

		<category><![CDATA[Tool pack]]></category>

		<category><![CDATA[Toolpack]]></category>

		<category><![CDATA[Toolpak]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=192</guid>
		<description><![CDATA[The Analysis Toolpak is an Excel add-in program that is available when you install Microsoft Office or Excel. To use it in Excel, however, you need to load it first.
1. On the Tools menu, click Add-Ins.
2. In the Add-Ins available box, select the check box next to Analysis Toolpak, and then click OK.
Tip:
If Analysis Toolpak [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to install and load the Analysis Toolpak", url: "http://www.exceldigest.com/myblog/2008/10/21/how-to-install-and-load-the-analysis-toolpak/" });</script>]]></description>
			<content:encoded><![CDATA[<p>The Analysis Toolpak is an Excel add-in program that is available when you install Microsoft Office or Excel. To use it in Excel, however, you need to load it first.</p>
<p>1. On the <span style="text-decoration: underline;">Tools </span>menu, click <span style="text-decoration: underline;">Add-Ins</span>.</p>
<p>2. In the <span style="text-decoration: underline;">Add-Ins available</span> box, select the check box next to <span style="text-decoration: underline;">Analysis Toolpak</span>, and then click <span style="text-decoration: underline;">OK</span>.</p>
<p><strong>Tip:</strong></p>
<p>If Analysis Toolpak is not listed, click <span style="text-decoration: underline;">Browse </span>to locate it.</p>
<p>3. If you see a message that tells you the Analysis Toolpak is not currently installed on your computer, click <span style="text-decoration: underline;">Yes</span> to install it.</p>
<p>4. Click <span style="text-decoration: underline;">Tools</span> on the menu bar. When you load the Analysis Toolpak, the Data Analysis command is added to the Tools menu.</p>
<p><strong>Note:</strong></p>
<p>To include Visual Basis for Application (VBA) functions for the Analysis Toolpak, you can load the Analysis Toolpak - VBA Add-in the same way you load the Analysis Toolpak. In the Add-ins available box, select the check box next to Analysis Toolpak - VBA.</p>
<p>Source: Microsoft Office Online.</p>
<p>Original article: <a href="http://office.microsoft.com/en-us/excel/HP011277241033.aspx">http://office.microsoft.com/en-us/excel/HP011277241033.aspx</a></p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+install+and+load+the+Analysis+Toolpak&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F21%2Fhow-to-install-and-load-the-analysis-toolpak%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/21/how-to-install-and-load-the-analysis-toolpak/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Count how often a value occurs - multiple criteria</title>
		<link>http://www.exceldigest.com/myblog/2008/10/20/count-how-often-a-value-occurs-multiple-criteria/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/20/count-how-often-a-value-occurs-multiple-criteria/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 04:12:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Data]]></category>

		<category><![CDATA[Formulas]]></category>

		<category><![CDATA[Functions]]></category>

		<category><![CDATA[Count]]></category>

		<category><![CDATA[Occurs]]></category>

		<category><![CDATA[Sum]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=185</guid>
		<description><![CDATA[In a previous post I covered counting how often a value occurs within a range. In that post we looked into one criteria, and we used the COUNTIF function.
But what if we want to count cells that meet multiple criteria. We can not use the COUNTIF function  in this case, so we will take a [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Count how often a value occurs - multiple criteria", url: "http://www.exceldigest.com/myblog/2008/10/20/count-how-often-a-value-occurs-multiple-criteria/" });</script>]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://www.exceldigest.com/myblog/2008/10/10/count-how-often-a-value-occurs-within-a-range/">previous post</a> I covered counting how often a value occurs within a range. In that post we looked into one criteria, and we used the COUNTIF function.</p>
<p>But what if we want to count cells that meet multiple criteria. We can not use the COUNTIF function  in this case, so we will take a different approach and use the SUM function.</p>
<p>In the example below we want to count how often “John” appeared in the list in quarter 2 (Q2). i.e. our critera is &#8220;John&#8221; in column B and &#8220;Q2&#8243; in column C. We will use the following formula for this purpose:</p>
<p>=SUM((B1:B17=&#8221;John&#8221;)*(C1:C17=&#8221;Q2&#8243;))</p>
<p>However this formula should be an &#8220;Array formula&#8221;. To make it an &#8220;Array formula&#8221; you should press CTRL+SHIFT+ENTER while you are in the edit mode of the formula. It should then look like this :</p>
<p>{=SUM((B1:B17=&#8221;John&#8221;)*(C1:C17=&#8221;Q2&#8243;))}</p>
<p>This formula will give us a result of 3 as you can see.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/countoccurs.gif"><img class="alignnone size-medium wp-image-188" title="countoccurs" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/countoccurs-281x300.gif" alt="" width="281" height="300" /></a></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=Count+how+often+a+value+occurs+-+multiple+criteria&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F20%2Fcount-how-often-a-value-occurs-multiple-criteria%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/20/count-how-often-a-value-occurs-multiple-criteria/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change Excel default file location</title>
		<link>http://www.exceldigest.com/myblog/2008/10/18/how-to-change-excel-default-file-location/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/18/how-to-change-excel-default-file-location/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 18:36:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Customization]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Default]]></category>

		<category><![CDATA[File Location]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=166</guid>
		<description><![CDATA[To change Excel default file location, follow these steps:
1. In the Tools menu click Options.
2. When you get the Options window, click the General tab.
3. Towards the bottom of the window there is a label called &#8220;Default file location&#8220;. To the write of this label is a text box. Enter here the full path of [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to change Excel default file location", url: "http://www.exceldigest.com/myblog/2008/10/18/how-to-change-excel-default-file-location/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To change Excel default file location, follow these steps:</p>
<p>1. In the <span style="text-decoration: underline;">Tools </span>menu click <span style="text-decoration: underline;">Options</span>.</p>
<p>2. When you get the <span style="text-decoration: underline;">Options </span>window, click the <span style="text-decoration: underline;">General </span>tab.</p>
<p>3. Towards the bottom of the window there is a label called &#8220;<span style="text-decoration: underline;">Default file location</span>&#8220;. To the write of this label is a text box. Enter here the full path of the required default file location. If you want to type a path to a network server location for the default file location, enter the path by using the UNC (Uniform Naming Convention) syntax: \\servername\foldername.</p>
<p>4. The next time you start Excel and whenever you click the <span style="text-decoration: underline;">Open</span> button, Excel will show you all the files/subfolders in the specified default location.</p>
<p>You must restart Excel to change the default working folder location to a network server.</p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+change+Excel+default+file+location&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F18%2Fhow-to-change-excel-default-file-location%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/18/how-to-change-excel-default-file-location/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change Excel default font</title>
		<link>http://www.exceldigest.com/myblog/2008/10/14/how-to-change-excel-default-font/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/14/how-to-change-excel-default-font/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 07:31:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Customization]]></category>

		<category><![CDATA[Formatting]]></category>

		<category><![CDATA[Default Font]]></category>

		<category><![CDATA[Font]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=159</guid>
		<description><![CDATA[To change Excel default font name or size, follow these steps:
1. In the Tools menu click Options.
2. When you get the Options window, click the General tab.
3. Towards the bottom of the window there is a label called &#8220;Standard font&#8220;, and to the write of it are two combo boxes (drop down) for the font [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to change Excel default font", url: "http://www.exceldigest.com/myblog/2008/10/14/how-to-change-excel-default-font/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To change Excel default font name or size, follow these steps:</p>
<p>1. In the <span style="text-decoration: underline;">Tools </span>menu click <span style="text-decoration: underline;">Options</span>.</p>
<p>2. When you get the <span style="text-decoration: underline;">Options </span>window, click the <span style="text-decoration: underline;">General </span>tab.</p>
<p>3. Towards the bottom of the window there is a label called &#8220;<span style="text-decoration: underline;">Standard font</span>&#8220;, and to the write of it are two combo boxes (drop down) for the font name and font size. Select the font name and font size you want.</p>
<p>4. The next time you start Excel and whenever you create a new workbook, your selected font name and font size will be taken as a default.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/stdfont.gif"><img class="alignnone size-medium wp-image-171" title="stdfont" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/stdfont-300x86.gif" alt="" width="300" height="86" /></a></p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+change+Excel+default+font&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F14%2Fhow-to-change-excel-default-font%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/14/how-to-change-excel-default-font/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Count how often a value occurs within a range</title>
		<link>http://www.exceldigest.com/myblog/2008/10/10/count-how-often-a-value-occurs-within-a-range/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/10/count-how-often-a-value-occurs-within-a-range/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 18:55:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Data]]></category>

		<category><![CDATA[Formulas]]></category>

		<category><![CDATA[Functions]]></category>

		<category><![CDATA[Count]]></category>

		<category><![CDATA[COUNTIF]]></category>

		<category><![CDATA[Occurs]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=164</guid>
		<description><![CDATA[To count how often a value occurs within a range we use the COUNTIF function.
Because this function count cells based on a given criteria, that fact will help us limit the count to our specified value.
If in the example below we want to count how often &#8220;John&#8221; appeared in the list, then we will use [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Count how often a value occurs within a range", url: "http://www.exceldigest.com/myblog/2008/10/10/count-how-often-a-value-occurs-within-a-range/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To count how often a value occurs within a range we use the COUNTIF function.</p>
<p>Because this function count cells based on a given criteria, that fact will help us limit the count to our specified value.</p>
<p>If in the example below we want to count how often &#8220;John&#8221; appeared in the list, then we will use the following formula:</p>
<p>=COUNTIF(B1:B15;&#8221;John&#8221;)</p>
<p>This will give us a result of 7 as you can see.</p>
<p>Read more on <a href="http://www.exceldigest.com/myblog/2008/09/05/how-to-use-the-countif-function/">How to use the COUNTIF function</a>.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/countoften.gif"><img class="alignnone size-medium wp-image-165" title="countoften" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/countoften-226x300.gif" alt="" width="226" height="300" /></a></p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=Count+how+often+a+value+occurs+within+a+range&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F10%2Fcount-how-often-a-value-occurs-within-a-range%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/10/count-how-often-a-value-occurs-within-a-range/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to summarize data using a pivot table</title>
		<link>http://www.exceldigest.com/myblog/2008/10/07/how-to-summarize-data-using-a-pivot-table/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/07/how-to-summarize-data-using-a-pivot-table/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 20:06:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Charts]]></category>

		<category><![CDATA[Data]]></category>

		<category><![CDATA[Pivot Table]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=140</guid>
		<description><![CDATA[What is a pivot table?
Pivot table is a feature of Excel that takes a long list of data, summarizes it into a shorter list that is more easy to analyze and assimilate.
The best way to explain how to create a pivot table is by using an example.
In the image below you see a list of [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to summarize data using a pivot table", url: "http://www.exceldigest.com/myblog/2008/10/07/how-to-summarize-data-using-a-pivot-table/" });</script>]]></description>
			<content:encoded><![CDATA[<p>What is a pivot table?</p>
<p>Pivot table is a feature of Excel that takes a long list of data, summarizes it into a shorter list that is more easy to analyze and assimilate.</p>
<p>The best way to explain how to create a pivot table is by using an example.</p>
<p>In the image below you see a list of products, salesmen and total sales for a product / salesman.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable0.gif"><img class="alignnone size-medium wp-image-155" title="pivottable0" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable0.gif" alt="" width="241" height="282" /></a></p>
<p>To create a pivot to summarize the total sales by product, you perform the following steps:</p>
<p>1. Prepare your data table and make sure you have columns headings.</p>
<p>2. Select the data range or simply click on a cell within the range.</p>
<p>3. In the data menu click Pivot Table and then follow the wizard.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable1.gif"><img class="alignnone size-medium wp-image-154" title="pivottable1" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable1.gif" alt="" width="240" height="180" /></a></p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable22.gif"><img class="alignnone size-medium wp-image-160" title="pivottable22" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable22-300x281.gif" alt="" width="300" height="281" /></a></p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable31.gif"><img class="alignnone size-medium wp-image-161" title="pivottable31" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable31-300x89.gif" alt="" width="300" height="89" /></a></p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable4.gif"><img class="alignnone size-medium wp-image-162" title="pivottable4" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable4-300x184.gif" alt="" width="300" height="184" /></a></p>
<p>4. When you get the pivot table field list:</p>
<ol>
<li>Drop the &#8220;Product&#8221; field in the area where its says &#8220;Drop row fields here&#8221;.</li>
<li>Drop the &#8220;Total Sales&#8221; field in the area where its says &#8220;Drop data items here&#8221;. You will get the pivot table as shown here:</li>
</ol>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable6.gif"><img class="alignnone size-medium wp-image-163" title="pivottable6" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable6.gif" alt="" width="202" height="189" /></a></p>
<p>5. You can then plot a chart using the pivot table instead of your detailed data.</p>
<p><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable6.gif"><em>Applies to Excel 2003</em> </a><a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/pivottable22.gif"> </a></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+summarize+data+using+a+pivot+table&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F07%2Fhow-to-summarize-data-using-a-pivot-table%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/07/how-to-summarize-data-using-a-pivot-table/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to filter and count unique values among duplicates</title>
		<link>http://www.exceldigest.com/myblog/2008/10/02/how-to-filter-and-count-unique-values-among-duplicates/</link>
		<comments>http://www.exceldigest.com/myblog/2008/10/02/how-to-filter-and-count-unique-values-among-duplicates/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 10:49:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Data]]></category>

		<category><![CDATA[Lists]]></category>

		<category><![CDATA[Autofilter]]></category>

		<category><![CDATA[Count]]></category>

		<category><![CDATA[Duplicates]]></category>

		<guid isPermaLink="false">http://www.exceldigest.com/myblog/?p=152</guid>
		<description><![CDATA[If you have a column of data that contains duplicates, then you can use the advanced filter option to identify and copy the unique values to a different location. You can then easily count those values using COUNTA function or the ROWS function.
Perform the following steps to achieve this goal:
1. First make sure that your [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to filter and count unique values among duplicates", url: "http://www.exceldigest.com/myblog/2008/10/02/how-to-filter-and-count-unique-values-among-duplicates/" });</script>]]></description>
			<content:encoded><![CDATA[<p>If you have a column of data that contains duplicates, then you can use the advanced filter option to identify and copy the unique values to a different location. You can then easily count those values using COUNTA function or the ROWS function.</p>
<p>Perform the following steps to achieve this goal:</p>
<p>1. First make sure that your column has a header row.</p>
<p>2. Select your data range (including the header row).</p>
<p>3. On the <span style="text-decoration: underline;">Data </span>menu point to <span style="text-decoration: underline;">Filter</span>, then click <span style="text-decoration: underline;">Advanced Filter</span>. The <span style="text-decoration: underline;">Advanced Filter</span> window will open.</p>
<p>4. Click Copy to another location.</p>
<p>5. The <span style="text-decoration: underline;">List range</span> text box should have your data range. If not then click on it, go to your worksheet and select the range.</p>
<p>6. Click on the <span style="text-decoration: underline;">Copy to</span> text box. Go to your sheet and click on a blank column (or just a single cell) where you want your unique vales to be copied.</p>
<p>7. Select the <span style="text-decoration: underline;">Unique records only</span> check box and click OK.</p>
<p>8. To count the unique values just copied, use the <a href="http://www.exceldigest.com/myblog/2008/09/02/how-to-count-cells-that-contain-data/">COUNTA function</a> or the ROWS function. E.g if the unique values are in the range E1:E6 then in a separate cell enter one of the following formulas:</p>
<p>1. &#8220;=COUNTA(E2:E6)&#8221;</p>
<p>2. &#8220;=ROWS(E2:E6)&#8221;<br />
<a href="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/filterunique2.gif"><img class="alignnone size-medium wp-image-153" title="filterunique2" src="http://www.exceldigest.com/myblog/wp-content/uploads/2008/10/filterunique2.gif" alt="" width="249" height="245" /></a></p>
<p><em>Applies to Excel 2003</em></p>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=7c3a8b65-ba93-4dfa-8007-adbee59abfe7&amp;title=How+to+filter+and+count+unique+values+among+duplicates&amp;url=http%3A%2F%2Fwww.exceldigest.com%2Fmyblog%2F2008%2F10%2F02%2Fhow-to-filter-and-count-unique-values-among-duplicates%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.exceldigest.com/myblog/2008/10/02/how-to-filter-and-count-unique-values-among-duplicates/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
