<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: AutoFilter Tricks</title>
	<atom:link href="http://peltiertech.com/WordPress/autofilter-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/autofilter-tricks/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Thu, 18 Mar 2010 18:57:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: athinaok</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-18744</link>
		<dc:creator>athinaok</dc:creator>
		<pubDate>Fri, 04 Sep 2009 13:58:56 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-18744</guid>
		<description>Thank you very much you saved me from hours of programming!</description>
		<content:encoded><![CDATA[<p>Thank you very much you saved me from hours of programming!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-16505</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 21 Jul 2009 11:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-16505</guid>
		<description>Jeff -

This is a neat trick, and one that I&#039;ve resorted to when the calculated fields didn&#039;t calculate what I wanted.

You know how to get the original data out of a pivot table, don&#039;t you? Double clicking on any cell in a pivot table inserts a new sheet with the records used to calculate that cell. Double clicking on the grand total cell gives you all records in the original source data.</description>
		<content:encoded><![CDATA[<p>Jeff -</p>
<p>This is a neat trick, and one that I&#8217;ve resorted to when the calculated fields didn&#8217;t calculate what I wanted.</p>
<p>You know how to get the original data out of a pivot table, don&#8217;t you? Double clicking on any cell in a pivot table inserts a new sheet with the records used to calculate that cell. Double clicking on the grand total cell gives you all records in the original source data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeff weir</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-16503</link>
		<dc:creator>jeff weir</dc:creator>
		<pubDate>Tue, 21 Jul 2009 09:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-16503</guid>
		<description>I stumbled across a neat hack today re filtering pivottables that&#039;s so obvious it has been right under my nose. 

As I point out above,  a problem with using a filter down the side of a pivottable to filter it can cause some issues if you are also using filters in the pivot fields. And as I also mentioned above, I&#039;ve previously been aggregating up some of my pivot table data fields into aggregate totals using a bit of SQL, so that they could then be dropped in to the pivottable as row fields and filtered. 

But today, I tried a different tack, after realising a pivottable can be used as a datasource for another pivot table. 

One bonus of this method is that you can effectively add ad-hoc fields to your original (Master) pivottable, that then show up fully intergrated in the new (Slave) pivottable. That is, you can build some ad-hoc formulas that far surpass what a calculated field will allow you to do, or introduce new data altogether (perhaps from a seperate data source, as I was doing today). This can then be dragged and dropped into the new pivot table as row fields or data fields, just like the original data can. So you can happily filter away, as well as sort the Slave pivot table by the new fields (which you can&#039;t do with the autofilter hack above). 


For instance, if you want your dates to coincide with a fiscal year that runs from 1 July, but you can&#039;t get at the original data source to add another field,  or you want a quick and dirty workaround, then you could put a new column to the left of your original pivottable (rather than the right, where it would get overwritten if the Master Pivot Table has any more row or data fields added to it) and use the formula to return a financial year field, using something like:

=IF(MONTH(B2)&gt;6,YEAR(B2)+1,YEAR(B12))   ...assuming this formula is in A2 and copied down, and the pivottable has dates in row B2, and you put &#039;financial year&#039; as a header in A1

Then when you selet the data source for the Slave pivot table, just be sure to include row A through to the last row that has pivot table data, and you&#039;ve solved your problem. Probably best to define a dynamic range for this in case the Master pivot table grows or shrinks.

This might be a convenient way to bring new data into a pivotchart too...if pivot charts are your thing.

What do you think? Worthwhile? Drawbacks?</description>
		<content:encoded><![CDATA[<p>I stumbled across a neat hack today re filtering pivottables that&#8217;s so obvious it has been right under my nose. </p>
<p>As I point out above,  a problem with using a filter down the side of a pivottable to filter it can cause some issues if you are also using filters in the pivot fields. And as I also mentioned above, I&#8217;ve previously been aggregating up some of my pivot table data fields into aggregate totals using a bit of SQL, so that they could then be dropped in to the pivottable as row fields and filtered. </p>
<p>But today, I tried a different tack, after realising a pivottable can be used as a datasource for another pivot table. </p>
<p>One bonus of this method is that you can effectively add ad-hoc fields to your original (Master) pivottable, that then show up fully intergrated in the new (Slave) pivottable. That is, you can build some ad-hoc formulas that far surpass what a calculated field will allow you to do, or introduce new data altogether (perhaps from a seperate data source, as I was doing today). This can then be dragged and dropped into the new pivot table as row fields or data fields, just like the original data can. So you can happily filter away, as well as sort the Slave pivot table by the new fields (which you can&#8217;t do with the autofilter hack above). </p>
<p>For instance, if you want your dates to coincide with a fiscal year that runs from 1 July, but you can&#8217;t get at the original data source to add another field,  or you want a quick and dirty workaround, then you could put a new column to the left of your original pivottable (rather than the right, where it would get overwritten if the Master Pivot Table has any more row or data fields added to it) and use the formula to return a financial year field, using something like:</p>
<p>=IF(MONTH(B2)&gt;6,YEAR(B2)+1,YEAR(B12))   &#8230;assuming this formula is in A2 and copied down, and the pivottable has dates in row B2, and you put &#8216;financial year&#8217; as a header in A1</p>
<p>Then when you selet the data source for the Slave pivot table, just be sure to include row A through to the last row that has pivot table data, and you&#8217;ve solved your problem. Probably best to define a dynamic range for this in case the Master pivot table grows or shrinks.</p>
<p>This might be a convenient way to bring new data into a pivotchart too&#8230;if pivot charts are your thing.</p>
<p>What do you think? Worthwhile? Drawbacks?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Analytics Team &#187; Blog Archive &#187; Tips for using Excel auto filters</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-14437</link>
		<dc:creator>Analytics Team &#187; Blog Archive &#187; Tips for using Excel auto filters</dc:creator>
		<pubDate>Sat, 23 May 2009 23:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-14437</guid>
		<description>[...] PTS has some good tricks for using Excel&#8217;s auto filters including using auto filters with pivot tables [...]</description>
		<content:encoded><![CDATA[<p>[...] PTS has some good tricks for using Excel&#8217;s auto filters including using auto filters with pivot tables [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexJ</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-14415</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Sat, 23 May 2009 19:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-14415</guid>
		<description>Found a couple issues with Pivot Table Filtering. It works nicely for a &quot;flat&quot; table as you present, Jon, but unfortunately, if you use Outline groupings on fields with subtotals at top (which is one of my preferences), then you only get the subtotal line under the filter, not the whole group.

Also, if you add a line between outline groups, the autofilter does not pick up the whole table, just the first section.

Luckily, I found for this kind of table that double click on Outline group headers toggles visibility of the detail data. Also, the icons from the [Data] [Group and Outline] menu work on this style of pivot table - I bring those icons out onto a custom toolbar for quick access.</description>
		<content:encoded><![CDATA[<p>Found a couple issues with Pivot Table Filtering. It works nicely for a &#8220;flat&#8221; table as you present, Jon, but unfortunately, if you use Outline groupings on fields with subtotals at top (which is one of my preferences), then you only get the subtotal line under the filter, not the whole group.</p>
<p>Also, if you add a line between outline groups, the autofilter does not pick up the whole table, just the first section.</p>
<p>Luckily, I found for this kind of table that double click on Outline group headers toggles visibility of the detail data. Also, the icons from the [Data] [Group and Outline] menu work on this style of pivot table &#8211; I bring those icons out onto a custom toolbar for quick access.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-14411</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Sat, 23 May 2009 19:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-14411</guid>
		<description>Derek -

That&#039;s a neat trick, too. Have to try it.</description>
		<content:encoded><![CDATA[<p>Derek -</p>
<p>That&#8217;s a neat trick, too. Have to try it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iesmatauw</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-14393</link>
		<dc:creator>iesmatauw</dc:creator>
		<pubDate>Sat, 23 May 2009 14:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-14393</guid>
		<description>wow, just reading the first trick already make my head to think about a few useful changes to my weekly reports.</description>
		<content:encoded><![CDATA[<p>wow, just reading the first trick already make my head to think about a few useful changes to my weekly reports.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: derek</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-14382</link>
		<dc:creator>derek</dc:creator>
		<pubDate>Sat, 23 May 2009 11:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-14382</guid>
		<description>I have had the Autofilter by selection button in my XL97 and 2000 toolbars for so long I had forgotten they were a &quot;trick&quot;. I enthusiastically endorse adding it to your toolbar; it&#039;s something I use every day. The Autofilter Pivot Table trick is neat, I must see what I can do with it at work.  

Here&#039;s another Excel trick I use every day that I forgot was a trick.  Double-click on a formula and it takes you to the first referenced cell off page, if the first referenced cell is off the page.  If the first referenced cell is on the page, it selects all the referenced cells on the page, and you can step through them all using Tab. 

This is great for debugging a spreadsheet, but I was shocked to realise most of my colleagues don&#039;t have it! When they double-click on a cell, it opens the cell for editing (I always edit in the formula bar above, never in the cell).  

And I couldn&#039;t tell them how I get the drilldown function. Is it simply a matter of turning off &quot;Edit directly in cell&quot; in Tools.. Options.. Edit?</description>
		<content:encoded><![CDATA[<p>I have had the Autofilter by selection button in my XL97 and 2000 toolbars for so long I had forgotten they were a &#8220;trick&#8221;. I enthusiastically endorse adding it to your toolbar; it&#8217;s something I use every day. The Autofilter Pivot Table trick is neat, I must see what I can do with it at work.  </p>
<p>Here&#8217;s another Excel trick I use every day that I forgot was a trick.  Double-click on a formula and it takes you to the first referenced cell off page, if the first referenced cell is off the page.  If the first referenced cell is on the page, it selects all the referenced cells on the page, and you can step through them all using Tab. </p>
<p>This is great for debugging a spreadsheet, but I was shocked to realise most of my colleagues don&#8217;t have it! When they double-click on a cell, it opens the cell for editing (I always edit in the formula bar above, never in the cell).  </p>
<p>And I couldn&#8217;t tell them how I get the drilldown function. Is it simply a matter of turning off &#8220;Edit directly in cell&#8221; in Tools.. Options.. Edit?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Govier</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-14371</link>
		<dc:creator>Roger Govier</dc:creator>
		<pubDate>Sat, 23 May 2009 07:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-14371</guid>
		<description>That&#039;s a neat trick, adding the Autofilter to a Pivot Table.
Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a neat trick, adding the Autofilter to a Pivot Table.<br />
Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lori</title>
		<link>http://peltiertech.com/WordPress/autofilter-tricks/comment-page-1/#comment-14347</link>
		<dc:creator>Lori</dc:creator>
		<pubDate>Fri, 22 May 2009 23:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1963#comment-14347</guid>
		<description>This is a neat trick. 
It also allows an easy way to create custom groupings within the table: 
- apply the filter eg contains &quot;XYZ&quot;, 
- select the visible cells in the customers column (shortcut: Alt + ;) 
- group data into &quot;XYZ&quot; and other categories &quot;Non-XYZ&quot;.
Simillarly advanced filter also works if the command is selected with a cell outside the pivot table which can be useful for doing data completeness checks.</description>
		<content:encoded><![CDATA[<p>This is a neat trick.<br />
It also allows an easy way to create custom groupings within the table:<br />
- apply the filter eg contains &#8220;XYZ&#8221;,<br />
- select the visible cells in the customers column (shortcut: Alt + ;)<br />
- group data into &#8220;XYZ&#8221; and other categories &#8220;Non-XYZ&#8221;.<br />
Simillarly advanced filter also works if the command is selected with a cell outside the pivot table which can be useful for doing data completeness checks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
