<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Contextures Blog</title>
	
	<link>http://blog.contextures.com</link>
	<description>Excel Tips and Tutorials</description>
	<lastBuildDate>Tue, 21 May 2013 13:55:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/contextures/dCfy" /><feedburner:info uri="contextures/dcfy" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>contextures/dCfy</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Sum a Filtered List with AGGREGATE Function</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/CMNkEvEhJpQ/</link>
		<comments>http://blog.contextures.com/archives/2013/05/21/sum-a-filtered-list-with-aggregate-function/#comments</comments>
		<pubDate>Tue, 21 May 2013 04:01:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5845</guid>
		<description><![CDATA[<p>The SUBTOTAL function is great for calculating totals on a filtered list in Excel. Unlike the SUM function, SUBTOTAL ignores the values in rows hidden by the filter, and can even ignore manually hidden rows, so the total includes only the visible cells.</p> <p>A new function, AGGREGATE, introduced in Excel 2010, is similar to SUBTOTAL, and has a couple of advantages.</p> <p></p> More Functions in AGGREGATE <p>The first advantage is that AGGREGATE has 19 functions, compared to SUBTOTAL's 11 functions.</p> <p></p> Ignore Errors with AGGREGATE <p>Another advantage is that AGGREGATE can ignore errors, as well as hidden rows. You can <p>Continue reading <a href="http://blog.contextures.com/archives/2013/05/21/sum-a-filtered-list-with-aggregate-function/">Sum a Filtered List with AGGREGATE Function</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/21/sum-a-filtered-list-with-aggregate-function/">Sum a Filtered List with AGGREGATE Function</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>The SUBTOTAL function is great for calculating totals on a filtered list in Excel. Unlike the SUM function, SUBTOTAL ignores the values in rows hidden by the filter, and can even ignore manually hidden rows, so the total includes only the visible cells.</p>
<p>A new function, AGGREGATE, introduced in Excel 2010, is similar to SUBTOTAL, and has a couple of advantages.</p>
<p><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="aggregate01" alt="aggregate01" src="http://blog.contextures.com/wp-content/uploads/2013/05/aggregate01.png" width="385" height="242" border="0" /></p>
<h3>More Functions in AGGREGATE</h3>
<p>The first advantage is that AGGREGATE has 19 functions, compared to SUBTOTAL's 11 functions.</p>
<p><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="aggregate05" alt="aggregate05" src="http://blog.contextures.com/wp-content/uploads/2013/05/aggregate05.png" width="401" height="539" border="0" /></p>
<h3>Ignore Errors with AGGREGATE</h3>
<p>Another advantage is that AGGREGATE can ignore errors, as well as hidden rows. You can choose from a list of options, for what to ignore.</p>
<p><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="aggregate03" alt="aggregate03" src="http://blog.contextures.com/wp-content/uploads/2013/05/aggregate03.png" width="502" height="172" border="0" /></p>
<h3>Watch the Video</h3>
<p>Watch this short video to see the steps for setting up an AGGREGATE total, and see how it differs from SUM and SUBTOTAL</p>
<div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:aa4d236f-0f6b-48cd-a299-106a4c27fce5" style="float: none; margin: 0px; display: inline; padding: 0px;">
<div><object width="400" height="330" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/3onMfg_aCMk?hl=en&amp;hd=1" /><embed width="400" height="330" type="application/x-shockwave-flash" src="http://www.youtube.com/v/3onMfg_aCMk?hl=en&amp;hd=1" /></object></div>
<div style="width: 400px; clear: both; font-size: .8em;">__</div>
</div>
<h3>Download the Sample File</h3>
<p>To download the sample file, please visit the <a title="Excel Sum Function Examples page" href="http://www.contextures.com/xlFunctions01.html">Excel Sum Functions Examples page</a> on my Contextures website.</p>
<p>___________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/21/sum-a-filtered-list-with-aggregate-function/">Sum a Filtered List with AGGREGATE Function</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/CMNkEvEhJpQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/05/21/sum-a-filtered-list-with-aggregate-function/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/05/21/sum-a-filtered-list-with-aggregate-function/</feedburner:origLink></item>
		<item>
		<title>Quickly Clear Objects from Worksheet</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/jKIonA0uRlo/</link>
		<comments>http://blog.contextures.com/archives/2013/05/16/quickly-clear-objects-from-worksheet/#comments</comments>
		<pubDate>Thu, 16 May 2013 04:02:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel tips]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5840</guid>
		<description><![CDATA[<p>Earlier this week, I copied a list of Excel keyboard shortcuts from the Microsoft website, and pasted it into Excel. Then I noticed that a few objects had come along with the shortcuts list. </p> <p>In the screen shot below, you can see one of the tiny icons that you can click, to go to the top of the web page. Those are handy on the web page, but aren’t much help on the Excel sheet.</p> <p></p> See What Objects You Copied <p>Sometimes these objects are easy to spot, but if they’re small, or if there are lots of them, <p>Continue reading <a href="http://blog.contextures.com/archives/2013/05/16/quickly-clear-objects-from-worksheet/">Quickly Clear Objects from Worksheet</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/16/quickly-clear-objects-from-worksheet/">Quickly Clear Objects from Worksheet</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>Earlier this week, I copied a list of Excel keyboard shortcuts from the Microsoft website, and pasted it into Excel. Then I noticed that a few objects had come along with the shortcuts list. </p>
<p>In the screen shot below, you can see one of the tiny icons that you can click, to go to the top of the web page. Those are handy on the web page, but aren’t much help on the Excel sheet.</p>
<p><img title="objectsdelete01" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="objectsdelete01" src="http://blog.contextures.com/wp-content/uploads/2013/05/objectsdelete01.png" width="400" height="265" /></p>
<h3>See What Objects You Copied</h3>
<p>Sometimes these objects are easy to spot, but if they’re small, or if there are lots of them, it’s not so easy.</p>
<p>A quick way to see all the objects that are on a worksheet is to use the Selection Pane.</p>
<li>On the Ribbon's Home tab, click File &amp; Select </li>
<li>Click Selection Pane </li>
<p>The Selection Pane opens, and you can see the full list of objects on the active sheet.</p>
<p>To select an object, click its name in the Selection Pane. (NOTE: If the worksheet contains ActiveX Controls, you can only select those in Design Mode.)</p>
<p><img title="objectsdelete03" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="objectsdelete03" src="http://blog.contextures.com/wp-content/uploads/2013/05/objectsdelete03.png" width="402" height="203" /></p>
<h3>Select All the Objects</h3>
<p>If you’d like to select all the objects, instead of selecting them one at a time, you can follow these steps:</p>
<li>On the Ribbon's Home tab, click Find &amp; Select </li>
<li>Click Go To Special </li>
<li>In the Go To Special window, click on Objects, and click OK </li>
<p><img title="objectsdelete05" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="objectsdelete05" src="http://blog.contextures.com/wp-content/uploads/2013/05/objectsdelete05.png" width="373" height="419" /></p>
<h3>Delete the Selected Objects</h3>
<p>After you’ve selected one or more objects, you can delete them.</p>
<ul>
<li>On the keyboard, press the Delete key, or </li>
<li>On the Ribbon’s Home tab, click Clear, then click Clear All.</li>
</ul>
<p>And if you want to see that list of shortcuts on the Microsoft site, click here: <a title="Excel Keyboard Shortcuts" href="http://office.microsoft.com/en-001/excel-help/keyboard-shortcuts-in-excel-2010-HP010342494.aspx">Excel Keyboard Shortcuts</a>.</p>
<h3>Watch the Video</h3>
<p>To see the steps for selecting and deleting worksheet objects, please watch this short video tutorial.</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:a92afeb4-b25b-4818-bda4-e53b0f8134fc" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">
<div><object width="400" height="330"><param name="movie" value="http://www.youtube.com/v/-h3XTtY4wwg?hl=en&amp;hd=1"></param><embed src="http://www.youtube.com/v/-h3XTtY4wwg?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="400" height="330"></embed></object></div>
<div style="width:400px;clear:both;font-size:.8em">_</div>
</div>
<p>_____________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/16/quickly-clear-objects-from-worksheet/">Quickly Clear Objects from Worksheet</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/jKIonA0uRlo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/05/16/quickly-clear-objects-from-worksheet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/05/16/quickly-clear-objects-from-worksheet/</feedburner:origLink></item>
		<item>
		<title>Use Slicers to Filter a Table in Excel 2010</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/QFWp72uq9Ag/</link>
		<comments>http://blog.contextures.com/archives/2013/05/14/use-slicers-to-filter-a-table-in-excel-2010/#comments</comments>
		<pubDate>Tue, 14 May 2013 04:02:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel Filter]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5832</guid>
		<description><![CDATA[<p>Pivot table filtering was improved in Excel 2010, when Slicers were introduced. Instead of using the drop down lists in the pivot table headings, you can click on a Slicer, to quickly filter the pivot table.</p> <p></p> <p>Slicers take up some room on the worksheet, but you can quickly see what filters have been applied. And, unlike Report Filters, Slicers show you what is available in the other fields, after you have applied a filter. </p> Slicers for Excel Tables <p>In Excel 2013, Slicers were enabled for named tables too, so you can filter your data with a single click. <p>Continue reading <a href="http://blog.contextures.com/archives/2013/05/14/use-slicers-to-filter-a-table-in-excel-2010/">Use Slicers to Filter a Table in Excel 2010</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/14/use-slicers-to-filter-a-table-in-excel-2010/">Use Slicers to Filter a Table in Excel 2010</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>Pivot table filtering was improved in Excel 2010, when Slicers were introduced. Instead of using the drop down lists in the pivot table headings, you can <a title="Pivot Table Slicers" href="http://www.contextures.com/excelpivottableslicers.html">click on a Slicer</a>, to quickly filter the pivot table.</p>
<p><img title="slicerstableaj01" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="slicerstableaj01" src="http://blog.contextures.com/wp-content/uploads/2013/05/slicerstableaj01.png" width="402" height="202" /></p>
<p>Slicers take up some room on the worksheet, but you can quickly see what filters have been applied. And, unlike Report Filters, Slicers show you what is available in the other fields, after you have applied a filter. </p>
<h3>Slicers for Excel Tables</h3>
<p>In Excel 2013, Slicers were enabled for named tables too, so you can filter your data with a single click. They work just like Pivot Table Slicers, and are especially handy if you’re doing a presentation. You can click one of the big Slicer buttons, instead of fumbling through the filter drop downs.</p>
<p><img title="slicerstableaj02" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="slicerstableaj02" src="http://blog.contextures.com/wp-content/uploads/2013/05/slicerstableaj02.png" width="402" height="292" /></p>
<h3>Workaround for Excel 2010 Tables</h3>
<p>Slicers don’t work on Excel 2010 tables, but if you’re using that version, there’s good news – <a title="AlexJ&#39;s Sample Files" href="http://www.contextures.com/excelfilesalexj.html">AlexJ</a> has developed a workaround.</p>
<p>There are a couple of limitations:</p>
<ul>
<li>You need a unique identifier in each table row. </li>
<li>Changes made manually to the field filters on the table are not reflected on the slicers (you might want to <a title="hide the table filters" href="http://www.contextures.com/excelautofilterlist.html#Hide">hide the table filters</a>) </li>
</ul>
<p><img title="slicerstableaj03" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="slicerstableaj03" src="http://blog.contextures.com/wp-content/uploads/2013/05/slicerstableaj03.png" width="397" height="255" /></p>
<h3>Add a Pivot Table and Slicers</h3>
<p>From the Excel table’s data, AlexJ built a pivot table, with the ID field in the Row Labels area. Next, he added two Slicers for the pivot table, using the Size and Colour fields.</p>
<p><img title="slicerstableaj04" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="slicerstableaj04" src="http://blog.contextures.com/wp-content/uploads/2013/05/slicerstableaj04.png" width="363" height="276" /></p>
<p>Then, copy or move those Slicers to the worksheet where the Excel Table is located.</p>
<h3>Check for the ID</h3>
<p>A named range – DD.Filter – is created, based on column A on the pivot table worksheet. In the Excel Table, a new column is added – xFilter – and a formula in that column checks for the row’s ID in the DD.Filter range.</p>
<p>The formula result is TRUE or FALSE, and only the TRUE rows will show after a Slicer is clicked.</p>
<p><img title="slicerstableaj05" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="slicerstableaj05" src="http://blog.contextures.com/wp-content/uploads/2013/05/slicerstableaj05.png" width="402" height="209" /></p>
<h3>Add Some Event Code</h3>
<p>The final step is to add some event code to the pivot table, so it filters the table after a pivot table update. The pivot table update event is fired by the user action of changing a slicer selection.</p>
<p>Here is the code from the SalesPivot worksheet module.</p>
<pre>Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
    Dim tbl As ListObject
    Dim lCol As Long
    
    Application.ScreenUpdating = False
    
    Set tbl = Worksheets(&quot;SalesData&quot;).ListObjects(&quot;Table1&quot;)
    lCol = tbl.ListColumns(&quot;xFilter&quot;).Index
    
    With tbl
        If .AutoFilter.FilterMode Then .AutoFilter.ShowAllData
        .Range.AutoFilter Field:=lCol, Criteria1:=&quot;TRUE&quot;
    End With
    Application.ScreenUpdating = True
    
    Set tbl = Nothing
End Sub</pre>
<h3>Download the Sample File</h3>
<p>To download the AlexJ’s sample file, you can <a title="AlexJ&#39;s Excel Files" href="http://www.contextures.com/excelfilesalexj.html">visit his page</a> on the Contextures website. In the Filters section, look for </p>
<p><a title="FL0002 – Filter Excel 2010 Table With Slicers" href="http://www.contextures.com/excelfilesalexj.html#FL0002">FL0002 – Filter Excel 2010 Table With Slicers</a></p>
<p>The file is designed for Excel 2010 only, and you’ll have to enable macros to test the file.</p>
<p>_____________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/14/use-slicers-to-filter-a-table-in-excel-2010/">Use Slicers to Filter a Table in Excel 2010</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/QFWp72uq9Ag" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/05/14/use-slicers-to-filter-a-table-in-excel-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/05/14/use-slicers-to-filter-a-table-in-excel-2010/</feedburner:origLink></item>
		<item>
		<title>Get Mileage from Excel Lookup Table</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/wzKZUNPgpY4/</link>
		<comments>http://blog.contextures.com/archives/2013/05/09/get-mileage-from-excel-lookup-table/#comments</comments>
		<pubDate>Thu, 09 May 2013 04:01:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5827</guid>
		<description><![CDATA[<p>There is a new sample file on my website, in response to a lookup question that someone asked on my Contextures Facebook page.</p> <p>I'm staring at a huge spreadsheet showing the distances in miles between a few hundred job sites…Our data is accurate, but the users often enter the wrong mileage data because it's easy to make a mistake when scrolling…</p> <p>How can I automate this process so that I can just enter the departure site and the arrival site and retrieve the distance between the two?</p> The Mileage Table <p>To find data in a lookup table, based on the <p>Continue reading <a href="http://blog.contextures.com/archives/2013/05/09/get-mileage-from-excel-lookup-table/">Get Mileage from Excel Lookup Table</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/09/get-mileage-from-excel-lookup-table/">Get Mileage from Excel Lookup Table</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>There is a new sample file on my website, in response to a lookup question that someone asked on my Contextures Facebook page.</p>
<blockquote><p>I'm staring at a huge spreadsheet showing the distances in miles between a few hundred job sites…Our data is accurate, but the users often enter the wrong mileage data because it's easy to make a mistake when scrolling…</p>
<p>How can I automate this process so that I can just enter the departure site and the arrival site and retrieve the distance between the two?</p>
</blockquote>
<h3>The Mileage Table</h3>
<p>To find data in a lookup table, based on the row and column headings, you can use the <a href="http://www.contextures.com/xlFunctions03.html">INDEX and MATCH functions</a>. Here’s the mileage lookup table in my sample file, with cities in Florida.</p>
<p><img title="indexmatchmileage01" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="indexmatchmileage01" src="http://blog.contextures.com/wp-content/uploads/2013/05/indexmatchmileage01.png" width="400" height="323" /></p>
<p>The numbers above, and to the left of the table aren’t used – they’re just there for visual verification of the formulas.</p>
<h3>Use INDEX and MATCH</h3>
<p>Data validation is used to create two drop down lists for city names, and an INDEX formula in the adjacent cell returns the mileage between those cities. The MATCH function finds the row for the starting city, and the column for the destination city.</p>
<p>Here’s the formula that returns the mileage:</p>
<p><strong>=INDEX(G3:P12,MATCH(A3,F3:F12,0),MATCH(B3,G2:P2,0))</strong></p>
<p><img title="indexmatchmileage02" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="indexmatchmileage02" src="http://blog.contextures.com/wp-content/uploads/2013/05/indexmatchmileage02.png" width="401" height="212" /></p>
<h3>Highlight the Mileage for Selected Cities</h3>
<p>As an extra way to verify the results, I’ve added conditional formatting in the lookup table, to highlight the cell with the mileage for the selected cities. </p>
<p><img title="indexmatchmileage03" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="indexmatchmileage03" src="http://blog.contextures.com/wp-content/uploads/2013/05/indexmatchmileage03.png" width="401" height="261" /></p>
<p>Here is the conditional formatting formula:</p>
<p><strong>=AND($F3=$A$3,G$2=$B$3)</strong></p>
<h3>Download the Sample File</h3>
<p>To see the formulas and the conditional formatting, you can download the sample file from my website. On the Sample Files page, look for <strong><a title="FN0026 – Get Travel Distance from Mileage Chart" href="http://www.contextures.com/excelfiles.html#FN0026">FN0026 – Get Travel Distance from Mileage Chart</a></strong></p>
<p>The file is zipped, and in xlsx format. There are no macros in the file.</p>
<h3>Watch the Video</h3>
<p>To see the steps for creating the lookup formula, please watch this short video.</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:020b174a-2592-4cec-918d-8851e6b12f40" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">
<div><object width="400" height="330"><param name="movie" value="http://www.youtube.com/v/HjrtTs-jMlU?hl=en&amp;hd=1"></param><embed src="http://www.youtube.com/v/HjrtTs-jMlU?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="400" height="330"></embed></object></div>
<div style="width:400px;clear:both;font-size:.8em">_</div>
</div>
<p>_____________________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/09/get-mileage-from-excel-lookup-table/">Get Mileage from Excel Lookup Table</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/wzKZUNPgpY4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/05/09/get-mileage-from-excel-lookup-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/05/09/get-mileage-from-excel-lookup-table/</feedburner:origLink></item>
		<item>
		<title>Calculate Annual Costs and Savings in Excel</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/huWVurm4ZRs/</link>
		<comments>http://blog.contextures.com/archives/2013/05/07/calculate-annual-costs-and-savings-in-excel/#comments</comments>
		<pubDate>Tue, 07 May 2013 04:01:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5822</guid>
		<description><![CDATA[<p>It’s amazing how all those little expenses can add up over a year. For example:</p> Upgrade your cable package for an extra $30 per month, and that’s $360 more per year. Buy your lunch for $15 each workday, instead of bringing a $5 lunch from home, and you’ve added $2500 to your annual expenses. Compare Expenses in Excel <p>Instead of ignoring those extra expenses, you can use Excel to calculate annual totals, and see what happens if you can cut costs. </p> <p>I’ve created a workbook where you can compare two scenarios, and see the difference in annual costs.</p> <p>First, <p>Continue reading <a href="http://blog.contextures.com/archives/2013/05/07/calculate-annual-costs-and-savings-in-excel/">Calculate Annual Costs and Savings in Excel</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/07/calculate-annual-costs-and-savings-in-excel/">Calculate Annual Costs and Savings in Excel</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>It’s amazing how all those little expenses can add up over a year. For example:</p>
<ul>
<li>Upgrade your cable package for an extra $30 per month, and that’s $360 more per year. </li>
<li>Buy your lunch for $15 each workday, instead of bringing a $5 lunch from home, and you’ve added $2500 to your annual expenses. </li>
</ul>
<h3>Compare Expenses in Excel</h3>
<p>Instead of ignoring those extra expenses, you can use Excel to calculate annual totals, and see what happens if you can cut costs. </p>
<p>I’ve created a workbook where you can compare two scenarios, and see the difference in annual costs.</p>
<p>First, enter your current spending in Scenario A, for the items that you can adjust.</p>
<p><img title="costperyear02" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="costperyear02" src="http://blog.contextures.com/wp-content/uploads/2013/05/costperyear02.png" width="396" height="330" /></p>
<p>Then, in Scenario B, enter the revised items – maybe you can reduce the cost, or the frequency of some items. How about golfing once a week, instead of twice? And maybe you can negotiate a lower monthly plan for your cell phone.</p>
<p>The worksheet calculates the annual cost for each item, and shows the difference between the scenarios.</p>
<p><img title="costperyear03" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="costperyear03" src="http://blog.contextures.com/wp-content/uploads/2013/05/costperyear03.png" width="402" height="308" /></p>
<h3>Set the Time Units</h3>
<p>On a separate worksheet, there is a list of time units, which is used for the data validation drop down on the Scenarios sheet. You can change the number of work weeks, and the days per work week.</p>
<p><img title="costperyear01" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="costperyear01" src="http://blog.contextures.com/wp-content/uploads/2013/05/costperyear01.png" width="393" height="265" /></p>
<h3>Set Limits for Total Units</h3>
<p>Some items, like golf or lawn care, are seasonal, so you can set a maximum number of occurrences for those items. For example, you play golf weekly, but only during the summer months. Instead of 52 weeks per year, the expense occurs for 25 weeks.</p>
<p><img title="costperyear04" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="costperyear04" src="http://blog.contextures.com/wp-content/uploads/2013/05/costperyear04.png" width="398" height="300" /></p>
<h3>Calculate the Annual Quantity</h3>
<p>To calculate the Annual Quantity, a formula checks the Max Units column, and uses that amount, if entered. Otherwise, it looks up a number from the time units table. Then, that number is multiplied by the quantity.</p>
<p><strong>=IF([@[Max Units]]&lt;&gt;&quot;&quot;,[@[Max Units]],      <br />IFERROR(INDEX(TimeAnnual,MATCH([@[Time Unit]],TimeUnits,0)),0))       <br />*[@Qty]</strong></p>
<p><img title="costperyear05" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="costperyear05" src="http://blog.contextures.com/wp-content/uploads/2013/05/costperyear05.png" width="401" height="243" /></p>
<h3>Download the Sample File</h3>
<p>To download the sample file (xlsx file format), please visit the <a href="http://www.contextures.com/excelannualcostcalculator.html">Annual Cost Calculator page</a> on my Contextures website. </p>
<h3>Watch the Video</h3>
<p>To see how the annual cost calculator works, you can watch this short video.</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:df90cbe9-f08d-4491-9e37-e3a802a34496" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">
<div><object width="400" height="330"><param name="movie" value="http://www.youtube.com/v/TOKpBbGCyUs?hl=en&amp;hd=1"></param><embed src="http://www.youtube.com/v/TOKpBbGCyUs?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="400" height="330"></embed></object></div>
<div style="width:400px;clear:both;font-size:.8em">_</div>
</div>
<p>___________________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/07/calculate-annual-costs-and-savings-in-excel/">Calculate Annual Costs and Savings in Excel</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/huWVurm4ZRs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/05/07/calculate-annual-costs-and-savings-in-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/05/07/calculate-annual-costs-and-savings-in-excel/</feedburner:origLink></item>
		<item>
		<title>Counting Query Tables in Excel</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/kY-wPMvHGac/</link>
		<comments>http://blog.contextures.com/archives/2013/05/02/counting-query-tables-in-excel/#comments</comments>
		<pubDate>Thu, 02 May 2013 04:02:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel VBA]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5813</guid>
		<description><![CDATA[<p>A few years ago, Ron Coderre created his PivotPlay PLUS Add-in that you can download from my Contextures site.</p> <p>This free add-in was designed for Excel 2003, and lets you view and edit the connection strings for pivot tables and query tables that are based on external data queries.</p> <p></p> Testing in Excel 2010 <p>Several people have asked about an update, so I installed the PivotPlay PLUS add-in in Excel 2010, to test it. Instead of showing up on the menu bar, the start button appears on the Excel Ribbon’s Add-Ins tab.</p> <p></p> <p>If the active worksheet has a pivot <p>Continue reading <a href="http://blog.contextures.com/archives/2013/05/02/counting-query-tables-in-excel/">Counting Query Tables in Excel</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/02/counting-query-tables-in-excel/">Counting Query Tables in Excel</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>A few years ago, Ron Coderre created his PivotPlay PLUS Add-in that you can <a title="download" href="http://www.contextures.com/xlPivotPlayPLUS01.html">download</a> from my Contextures site.</p>
<p>This free add-in was designed for Excel 2003, and lets you view and edit the connection strings for pivot tables and query tables that are based on external data queries.</p>
<p><img title="pivotplayaddin02" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="pivotplayaddin02" src="http://blog.contextures.com/wp-content/uploads/2013/05/pivotplayaddin02.png" width="399" height="365" /></p>
<h3>Testing in Excel 2010</h3>
<p>Several people have asked about an update, so I installed the PivotPlay PLUS add-in in Excel 2010, to test it. Instead of showing up on the menu bar, the start button appears on the Excel Ribbon’s Add-Ins tab.</p>
<p><img title="pivotplayaddin01" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="pivotplayaddin01" src="http://blog.contextures.com/wp-content/uploads/2013/05/pivotplayaddin01.png" width="187" height="145" /></p>
<p>If the active worksheet has a pivot table, when you click the Ribbon button, you’ll see information about that pivot table. And, if the pivot table is based on an External data query, you can edit the connection information and the query string.</p>
<p>But, when I tried to change the connection information on a worksheet that had 2 query tables, the add-in didn’t work. The two blue tables are query tables, and the red one is an normal list. However, the add-in didn’t find any query tables.</p>
<p><img title="pivotplayaddin03" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="pivotplayaddin03" src="http://blog.contextures.com/wp-content/uploads/2013/05/pivotplayaddin03.png" width="399" height="261" /></p>
<h3>Counting the Query Tables</h3>
<p>The Pivot Play add-in counts the pivot tables and query tables on the active sheet. If it finds either one, the add-in opens. In Excel 2003, you could use QueryTables.Count to see if there were any tables.</p>
<pre>Sub Count_QT_Old()
  Dim lQT As Long

  lQT = ActiveSheet.QueryTables.Count

  Debug.Print lQT

End Sub</pre>
<p>When I used that code in Excel 2010, the count was zero, even though there were two tables based on queries.</p>
<h3>Change the Counting Code</h3>
<p>If we’re going to modify this add-in to work in Excel 2010, we’ll have to find a different way to check for query tables. Starting in Excel 2007, query tables changed, and now they’re part of the ListObject.</p>
<p>After a bit of experimentation, I found that looping through all the ListObjects, and checking their SourceType, will give a count of query tables.</p>
<pre>Sub Count_QT_New()
  Dim lQT As Long
  Dim LO As ListObject

  For Each LO In ActiveSheet.ListObjects
    If LO.SourceType = 3 Then 'xlSrcQuery
        lQT = lQT + 1
    End If
  Next LO
  Debug.Print lQT

End Sub</pre>
<p>When I run the revised code, it shows a count of 2 query tables, which is correct. If you know of a better way to count query tables, please let me know.</p>
<p>Now I’ll just have to figure out what else needs to be changed!</p>
<p>_______________________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/05/02/counting-query-tables-in-excel/">Counting Query Tables in Excel</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/kY-wPMvHGac" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/05/02/counting-query-tables-in-excel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/05/02/counting-query-tables-in-excel/</feedburner:origLink></item>
		<item>
		<title>Insert Rows with Excel Fill Handle</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/eaohU_tvhGs/</link>
		<comments>http://blog.contextures.com/archives/2013/04/30/insert-rows-with-excel-fill-handle/#comments</comments>
		<pubDate>Tue, 30 Apr 2013 04:02:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel tips]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5809</guid>
		<description><![CDATA[<p>If you want to insert a block of cells on a worksheet, what method do you use? </p> <p>One way to insert cells is to select some cells, right-click on the selected range, and click Insert. Then you can select one of the Insert options.</p> <p></p> Insert With the Fill Handle <p>This week, I was doing some updates on this blog, and found a tip that I posted 5 years ago. You can use the Fill Handle as a shortcut for inserting and deleting cells.</p> <p>Select cells as a starting point, press Shift, and drag the fill handle to insert <p>Continue reading <a href="http://blog.contextures.com/archives/2013/04/30/insert-rows-with-excel-fill-handle/">Insert Rows with Excel Fill Handle</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/30/insert-rows-with-excel-fill-handle/">Insert Rows with Excel Fill Handle</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>If you want to insert a block of cells on a worksheet, what method do you use? </p>
<p>One way to insert cells is to select some cells, right-click on the selected range, and click Insert. Then you can select one of the Insert options.</p>
<p><img title="insertcells01" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="insertcells01" src="http://blog.contextures.com/wp-content/uploads/2013/04/insertcells01.png" width="402" height="297" /></p>
<h3>Insert With the Fill Handle</h3>
<p>This week, I was doing some updates on this blog, and found a <a title="tip that I posted" href="http://blog.contextures.com/archives/2008/10/03/insert-or-delete-cells-with-autofill/">tip that I posted</a> 5 years ago. You can use the Fill Handle as a shortcut for inserting and deleting cells.</p>
<p>Select cells as a starting point, press Shift, and drag the fill handle to insert cells. You can use the Fill Handle to delete cells too!</p>
<p><img title="insertcells02" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="insertcells02" src="http://blog.contextures.com/wp-content/uploads/2013/04/insertcells02.png" width="402" height="284" /></p>
<p>Apparently I haven’t used that tip too often, because I forgot all about it! You’ll find <a title="more data entry tips" href="http://www.contextures.com/xlDataEntry01.html">more data entry tips</a> on my Contextures website. </p>
<h3>Watch the Video</h3>
<p>Maybe I’ll remember this tip a bit longer if I make a video. To see the steps for inserting and deleting a block of cells, you can watch this short video. And watch for this tip again in 2018!</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:5231119b-c70c-43d1-998c-6c4ae291d4d7" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">
<div><object width="400" height="300"><param name="movie" value="http://www.youtube.com/v/OsnuFXh_BWk?hl=en&amp;hd=1"></param><embed src="http://www.youtube.com/v/OsnuFXh_BWk?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="400" height="300"></embed></object></div>
<div style="width:400px;clear:both;font-size:.8em">_</div>
</div>
<p>_____________________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/30/insert-rows-with-excel-fill-handle/">Insert Rows with Excel Fill Handle</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/eaohU_tvhGs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/04/30/insert-rows-with-excel-fill-handle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/04/30/insert-rows-with-excel-fill-handle/</feedburner:origLink></item>
		<item>
		<title>Close All Files in Excel 2013</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/gvrpxSmgzCk/</link>
		<comments>http://blog.contextures.com/archives/2013/04/25/close-all-files-in-excel-2013/#comments</comments>
		<pubDate>Thu, 25 Apr 2013 04:01:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel tips]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5795</guid>
		<description><![CDATA[<p>One of the new features in Excel 2013 is that each file opens in a separate window. Having each file in its own window makes it easier to compare files side-by-side, and most of the time I like the separate windows.</p> <p></p> <p>One thing that I don’t like is that, unlike previous versions, there is no Exit button or command, to close all the files. Each window has its own Close button, and if you’ve got lots of files open, it’s a pain to close each window individually.</p> <p></p> Use the Taskbar Command <p>One solution is to use the Close <p>Continue reading <a href="http://blog.contextures.com/archives/2013/04/25/close-all-files-in-excel-2013/">Close All Files in Excel 2013</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/25/close-all-files-in-excel-2013/">Close All Files in Excel 2013</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>One of the new features in Excel 2013 is that each file opens in a separate window. Having each file in its own window makes it easier to compare files side-by-side, and most of the time I like the separate windows.</p>
<p><img title="closeallwindows01" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="closeallwindows01" src="http://blog.contextures.com/wp-content/uploads/2013/04/closeallwindows01.png" width="402" height="351" /></p>
<p>One thing that I don’t like is that, unlike previous versions, there is no Exit button or command, to close all the files. Each window has its own Close button, and if you’ve got lots of files open, it’s a pain to close each window individually.</p>
<p><img title="closeallwindows02" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="closeallwindows02" src="http://blog.contextures.com/wp-content/uploads/2013/04/closeallwindows02.png" width="239" height="207" /></p>
<h3>Use the Taskbar Command</h3>
<p>One solution is to use the Close All Windows command on the taskbar.</p>
<ul>
<li>Point to the Excel icon in the taskbar, and right-click on it</li>
<li>In the popup menu, click Close All Windows</li>
</ul>
<p><img title="closeallwindows03" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="closeallwindows03" src="http://blog.contextures.com/wp-content/uploads/2013/04/closeallwindows03.png" width="383" height="206" /></p>
<h3>Add Commands to the QAT</h3>
<p>Another option is to move the Close All and Exit commands to the Quick Access Toolbar (QAT).</p>
<ul>
<li>Click the Customize arrow at the end of the QAT.</li>
<li>Click More Commands</li>
<li>In the Choose Commands From drop down, select All Commands</li>
<li>In the list of commands, select Close All</li>
<li>Click Add, to move the command to the QAT</li>
<li>Then, select the Exit command, and add it to the QAT</li>
<li>Click Close, to return to the Excel window.</li>
</ul>
<p>Now you can click Close All, to close all the files, but leave Excel open. Or, click Exit, to close all the files, and close Excel.</p>
<p><img title="closeallexitqat" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="closeallexitqat" src="http://blog.contextures.com/wp-content/uploads/2013/04/closeallexitqat.png" width="284" height="150" /></p>
<p>I’ve added this tip to the <a title="Excel FAQ - close all files" href="http://www.contextures.com/xlfaqApp.html#closeall">Excel FAQ pages</a> on my Contextures website.</p>
<h3>Watch the Video</h3>
<p>Watch this short video, to see the steps for closing all the open files in Excel 2013.</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:1812b1b6-8e71-442d-86ac-3c5c99a9cbfa" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">
<div><object width="400" height="300"><param name="movie" value="http://www.youtube.com/v/oHLU5oZYfGI?hl=en&amp;hd=1"></param><embed src="http://www.youtube.com/v/oHLU5oZYfGI?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="400" height="300"></embed></object></div>
<div style="width:400px;clear:both;font-size:.8em">_</div>
</div>
<p>________________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/25/close-all-files-in-excel-2013/">Close All Files in Excel 2013</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/gvrpxSmgzCk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/04/25/close-all-files-in-excel-2013/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/04/25/close-all-files-in-excel-2013/</feedburner:origLink></item>
		<item>
		<title>Catching Your Excel Errors</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/9K2bYWCIpfA/</link>
		<comments>http://blog.contextures.com/archives/2013/04/23/catching-your-excel-errors/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 04:01:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5788</guid>
		<description><![CDATA[<p>It’s been a bad week for Excel, with big news stories about spreadsheet errors. Two Harvard professors were in the news after a student at the University of Massachusetts found errors in their economic research paper.</p> <p>For example, in one of the formulas, five rows of data were omitted, so the average was incorrect. It’s easy for that kind of mistake to happen, especially if you add new data, or rearrange things, and forget to adjust your formulas.</p> <p>You’ve probably read all about it, but if not, here are links to my favourite articles on this debacle:</p> BBC: The Mysterious <p>Continue reading <a href="http://blog.contextures.com/archives/2013/04/23/catching-your-excel-errors/">Catching Your Excel Errors</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/23/catching-your-excel-errors/">Catching Your Excel Errors</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p><a title="Spreadsheet Check and Control" href="http://amzn.com/190540400X?tag=ctxblog-20"><img title="spreadsheetcheck2" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 10px 10px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="spreadsheetcheck2" align="right" src="http://blog.contextures.com/wp-content/uploads/2013/04/spreadsheetcheck2.jpg" width="163" height="209" /></a>It’s been a bad week for Excel, with big news stories about spreadsheet errors. Two Harvard professors were in the news after a student at the University of Massachusetts found errors in their economic research paper.</p>
<p>For example, in one of the formulas, five rows of data were omitted, so the average was incorrect. It’s easy for that kind of mistake to happen, especially if you add new data, or rearrange things, and forget to adjust your formulas.</p>
<p>You’ve probably read all about it, but if not, here are links to my favourite articles on this debacle:</p>
<ul>
<li>BBC: <a title="The Mysterious Powers of Microsoft Excel" href="http://www.bbc.co.uk/news/magazine-22213219">The Mysterious Powers of Microsoft Excel</a> </li>
<li>IEEE Spectrum: <a title="Excel Spreadsheet Error Heard Around the World" href="http://spectrum.ieee.org/riskfactor/computing/it/it-hiccups-of-the-week-excel-spreadsheet-error-heard-around-the-world">Excel Spreadsheet Error Heard Around the World</a> </li>
<li>Toronto Star: <a title="Student finds glaring spreadsheet errors" href="http://www.thestar.com/business/2013/04/18/student_finds_glaring_spreadsheet_errors_in_study_used_to_justify_budget_slashing.print.html">Student finds glaring spreadsheet errors</a> </li>
</ul>
<p>You can see a bit of the spreadsheet, and the formula with the missing countries, in this article on the Next New Deal blog:</p>
<p><a title="Researchers Finally Replicated Reinhart-Rogoff, and There Are Serious Problems" href="http://www.nextnewdeal.net/rortybomb/researchers-finally-replicated-reinhart-rogoff-and-there-are-serious-problems">Researchers Finally Replicated Reinhart-Rogoff, and There Are Serious Problems</a></p>
<p>No wonder the results were wrong – they didn’t include Canada! </p>
<h3>What Can You Do to Prevent Errors?</h3>
<p>Most of us don’t publish our Excel reports, or have them examined by PhD students. So, your mistakes might not be quite as embarrassing, but they can be costly, in both time and money. </p>
<p>What can you do to prevent errors in your Excel files?</p>
<ul>
<li>You’ll find good ideas on the European Spreadsheet Risks Interest Group (EuSpRIG) website: <a title="Best Practice" href="http://www.eusprig.org/best-practice.htm">Best Practice</a> </li>
<li>Patrick O’Beirne, current chairman of EuSpRIG, has published a guide to finding and preventing errors: <a title="Spreadsheet Check and Control" href="http://amzn.com/190540400X?tag=ctxblog-20">Spreadsheet Check and Control</a> </li>
</ul>
<h3>Spreadsheet Studio</h3>
<p>Chartered accountant, Joseph McDaid, has created an impressive free Excel add-in, Spreadsheet Studio. This add-in's tools let you review and audit your Excel files, and create comments with priority ranking and task allocation. </p>
<p><a title="Spreadsheet Studio" href="http://www.spreadsheetstudio.com/"><img title="spreadsheetstudio" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="spreadsheetstudio" src="http://blog.contextures.com/wp-content/uploads/2013/04/spreadsheetstudio.png" width="401" height="106" /></a></p>
<p>You can colour formulas to see if they are consistent, highlight the input and output cells, and use the Formula Explorer to go to any range reference in a formula. </p>
<p>To watch the two minute demo video, and download the free add-in, click here: <a href="http://www.spreadsheetstudio.com/">Spreadsheet Studio</a></p>
<h3>Your Suggestions</h3>
<p>Are there other resources that you use, and ideas for preventing and finding Excel errors? Please share them in the comments.</p>
<p>Thanks!</p>
<p>__________________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/23/catching-your-excel-errors/">Catching Your Excel Errors</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/9K2bYWCIpfA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/04/23/catching-your-excel-errors/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/04/23/catching-your-excel-errors/</feedburner:origLink></item>
		<item>
		<title>Click to Move Excel List Items Up or Down</title>
		<link>http://feedproxy.google.com/~r/contextures/dCfy/~3/eahSoLkqHxE/</link>
		<comments>http://blog.contextures.com/archives/2013/04/18/click-to-move-excel-list-items-up-or-down/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 04:02:00 +0000</pubDate>
		<dc:creator>Debra Dalgleish</dc:creator>
				<category><![CDATA[Excel VBA]]></category>

		<guid isPermaLink="false">http://blog.contextures.com/?p=5785</guid>
		<description><![CDATA[<p>Your challenge for today is to come up with a real-life use for this nifty (do the kids still say nifty?) Excel scrolling tool.</p> <p>Here’s how the tool works:</p> Click a button to select a group of cells that you want to work with, like this list of months. Then, click the up and down arrows, to scroll the list through the selected cells. When you’re done, click the Exit button, to “release” the scroll area. <p>In this example, the scrolling list is in cells D8:E19 – months and numbers. The original list had January at the top, and February <p>Continue reading <a href="http://blog.contextures.com/archives/2013/04/18/click-to-move-excel-list-items-up-or-down/">Click to Move Excel List Items Up or Down</a></p><p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/18/click-to-move-excel-list-items-up-or-down/">Click to Move Excel List Items Up or Down</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
]]></description>
				<content:encoded><![CDATA[<p>Your challenge for today is to come up with a real-life use for this nifty (do the kids still say nifty?) Excel scrolling tool.</p>
<p>Here’s how the tool works:</p>
<ul>
<li>Click a button to select a group of cells that you want to work with, like this list of months. </li>
<li>Then, click the up and down arrows, to scroll the list through the selected cells. </li>
<li>When you’re done, click the Exit button, to “release” the scroll area. </li>
</ul>
<p>In this example, the scrolling list is in cells D8:E19 – months and numbers. The original list had January at the top, and February in the second row. I clicked the Up arrow twice, and now March is at the top of the list.</p>
<p><img title="scrollitems01" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="scrollitems01" src="http://blog.contextures.com/wp-content/uploads/2013/04/scrollitems01.png" width="257" height="326" /></p>
<h3>Cautions Before Using</h3>
<p>In his sample file, Jim lists a few things to consider, before you use the code in one of your own files. </p>
<ol>
<li>The Custom Scroll Area program may alter...
<ul>
<li>Cell interior colors </li>
<li>Conditional Formatting </li>
<li>Data Validation </li>
<li>Formulas </li>
<li>Merged cells </li>
</ul>
</li>
<li>Undo (on the edit menu) will not undo custom scrolling. </li>
</ol>
<h3>Possible Uses</h3>
<p>Jim Cone sent me this file, because he thought it was a unique tool, but he couldn’t think of a practical use for it. He wondered if an Excel slot machine was possible.</p>
<p>I don’t have any ideas, but maybe the Blue Jays could use it to rotate their starting lineup, now that baseball season is underway.</p>
<p>Do you have any suggestions, brilliant or otherwise?</p>
<h3>Download the Sample File</h3>
<p>To see the scrolling tool, and the code that runs it, you can download Jim’s sample file from my Contextures website. On the Sample Files page, go to the “UserForms, VBA, Add-Ins” section, and look for <a title="UF0021 – Scroll Items Up and Down in List" href="http://www.contextures.com/excelfiles.html#UF0021">UF0021 – Scroll Items Up and Down in List</a></p>
<p>The VBA code is protected, and the password is: <strong>s</strong></p>
<p>And if you have any ideas or suggestions, please share them in the comments, or contact Jim at the address in the sample file. Thanks!</p>
<p>__________________</p>
<p>RSS Footer: Thank you for subscribing to the RSS feed for <a href="http://blog.contextures.com">Contextures Blog</a> .

You can read the full article here: <a href="http://blog.contextures.com/archives/2013/04/18/click-to-move-excel-list-items-up-or-down/">Click to Move Excel List Items Up or Down</a> 

Please visit the <a href="http://www.facebook.com/Contextures">Contextures page on Facebook</a> </p>
<img src="http://feeds.feedburner.com/~r/contextures/dCfy/~4/eahSoLkqHxE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.contextures.com/archives/2013/04/18/click-to-move-excel-list-items-up-or-down/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://blog.contextures.com/archives/2013/04/18/click-to-move-excel-list-items-up-or-down/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: blog.contextures.com @ 2013-05-21 09:56:52 by W3 Total Cache -->
