<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx</link><description>Today’s author, Monica Poinescu, a Software Developer in Test on the Excel team, discusses two different approaches to analyzing data in Excel. Edit: I've attached a file at the bottom of this blog that contains spreadsheets of the examples discussed</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9502932</link><pubDate>Tue, 24 Mar 2009 03:33:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9502932</guid><dc:creator>Stuart</dc:creator><description>&lt;p&gt;Another big advantage of the pivot table is being able to drill down on the information to quickly see the items that meet your criteria.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9503965</link><pubDate>Tue, 24 Mar 2009 14:07:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9503965</guid><dc:creator>Jeff L</dc:creator><description>&lt;p&gt;To me this question is especially valid, but from a different perspective: Which is more efficient/performant when analyzing large data sets?&lt;/p&gt;
&lt;p&gt;Your example is ironically perfect for me: I am in the real estate industry building analytical models based on transactional data of thousands of rows. &amp;nbsp;Before learning about SumIfs I built the models to use pivot tables to aggregate, then used indexes to find my value in the PT. &amp;nbsp;Can Sumifs, AverageIfs, etc offer the same performance as the Pivot Table, or will a large reporting toolset bog down?&lt;/p&gt;
&lt;p&gt;I'd love to hear if anyone has insight to that.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9503968</link><pubDate>Tue, 24 Mar 2009 14:07:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9503968</guid><dc:creator>Jeff L</dc:creator><description>&lt;p&gt;To me this question is especially valid, but from a different perspective: Which is more efficient/performant when analyzing large data sets?&lt;/p&gt;
&lt;p&gt;Your example is ironically perfect for me: I am in the real estate industry building analytical models based on transactional data of thousands of rows. &amp;nbsp;Before learning about SumIfs I built the models to use pivot tables to aggregate, then used indexes to find my value in the PT. &amp;nbsp;Can Sumifs, AverageIfs, etc offer the same performance as the Pivot Table, or will a large reporting toolset bog down?&lt;/p&gt;
&lt;p&gt;I'd love to hear if anyone has insight to that.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9504702</link><pubDate>Tue, 24 Mar 2009 20:05:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9504702</guid><dc:creator>Charles Williams</dc:creator><description>&lt;p&gt;Both SUMIFS/COUNTIFS and Pivot tables are very efficient compared to SUMPRODUCT/array formulae.&lt;/p&gt;
&lt;p&gt;For large datasets one major factor in the choice is the useage scenario:&lt;/p&gt;
&lt;p&gt;if you are looking for what-ifs calculations by changing the input data/calculations SUMIFS/COUNTIFS would be a good choice.&lt;/p&gt;
&lt;p&gt;If your input data is relatively static but you want to do whatif analysis with drilldown then Pivot Tables are a good choice.&lt;/p&gt;
&lt;p&gt;If you just want to aggregate relatively static data and then do a relatively standardised report either will do, but a third alternative of an SQL aggregation query feeding either a summary sheet or a pivot table might be best.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9506562</link><pubDate>Wed, 25 Mar 2009 09:07:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9506562</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;Unfortunately the limited aggregate functions available in a pivot table and the limited functions supported in a calculated fields and items make use of formulas unavoidable (either inside the SQL Statements - for external Data or in adjacent columns)&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9507876</link><pubDate>Wed, 25 Mar 2009 20:22:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9507876</guid><dc:creator>Jeff L</dc:creator><description>&lt;p&gt;@ Charles, Interesting that you mention using SQL...in some of the things I've done that seemed like it would be a more efficient way, but the methods I tried either failed miserably (programmatically) or were ridiculously slow.&lt;/p&gt;
&lt;p&gt;But that said I was probably not being very efficient. &amp;nbsp;How would you apply the SQL to an in-sheet data set--create an array and use the array as the &amp;quot;from&amp;quot;?&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9509402</link><pubDate>Thu, 26 Mar 2009 05:59:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9509402</guid><dc:creator>sebastien mistouflet</dc:creator><description>&lt;p&gt;I try to use Pivots as much as possible, but: &lt;/p&gt;
&lt;p&gt;- Pivots don't handle complex formulas (eg: rule-based accounting...) &lt;/p&gt;
&lt;p&gt;- and do not deal with different nested groups, eg in column: Sales by Product Line, followed by another metric by another grouping, say employee salaries by {manager, Non-manager}.&lt;/p&gt;
&lt;p&gt;It is sometimes possible to precompute in the data table directly and use the new precomputed fields in the pivot, but not always. In that case the Formula-type Report works better.&lt;/p&gt;
&lt;p&gt;Now I try to separate data entry and reporting so I use SQL most of the time to pull to the reporting book.&lt;/p&gt;
&lt;p&gt;Jeff L, you can use the Excel odbc driver to query a *closed* XL file like a database. You can try on an *open* XL file too, but there is still (i believe) a memory leak in the driver in that case.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9511401</link><pubDate>Thu, 26 Mar 2009 20:27:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9511401</guid><dc:creator>DaveP</dc:creator><description>&lt;p&gt;Consider a simple Data List (2003) and Subtotal for average, number, max, min, and/or sum.&lt;/p&gt;
&lt;p&gt;Use AutoFilter and secure required numbers with =SUBTOTAL(F1,$G$9:$G$1000)&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9516569</link><pubDate>Sun, 29 Mar 2009 05:27:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9516569</guid><dc:creator>Han</dc:creator><description>&lt;p&gt;Would you mind to offer a download link for each table you have in your blog post? So that readers can practice with them. &lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9528929</link><pubDate>Thu, 02 Apr 2009 13:19:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9528929</guid><dc:creator>findsarfaraz</dc:creator><description>&lt;p&gt;If I understood correctly. &lt;/p&gt;
&lt;p&gt;Averageif = Sumif/countif &lt;/p&gt;
&lt;p&gt;Also, can we have downloadable tables so the beginner can practice.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9529018</link><pubDate>Thu, 02 Apr 2009 15:10:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9529018</guid><dc:creator>Spence Lloyd</dc:creator><description>&lt;p&gt;Question: &amp;nbsp;Can a SUMIFS criteria include a cell reference? &amp;nbsp;I can't seem to figure out how to make that work.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9530830</link><pubDate>Fri, 03 Apr 2009 20:59:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9530830</guid><dc:creator>Monica Poinescu</dc:creator><description>&lt;p&gt;You can now find the files used for the examples I used in my blog above- see 'Attachment(s): examples.zip'.&lt;/p&gt;
&lt;p&gt; I also included some examples of criteria passed as a cell reference and an example using criteria with wildcards.&lt;/p&gt;
&lt;p&gt;I hope that helps - and thanks for your comments.&lt;/p&gt;
</description></item><item><title>CCNA_Karox</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9539580</link><pubDate>Thu, 09 Apr 2009 08:49:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9539580</guid><dc:creator>karrroxtraining@gmail.com</dc:creator><description>&lt;p&gt;Thanks for the information. I had been looking for such a simple example which help describe things in such a simple but informative fashion. Thanks.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9549153</link><pubDate>Tue, 14 Apr 2009 23:32:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9549153</guid><dc:creator>EVaino</dc:creator><description>&lt;p&gt;I was just having this discussion with a colleague last week. I've always been a formula person but he convinced me to give Pivot tables a try. I'm still skeptical though. &amp;nbsp;I do acknowledge that functions can bog things down, especially array functions on large workbooks. &amp;nbsp;My biggest reason for not liking pivot tables is that often I want to take many different &amp;quot;slices&amp;quot; of a table. If I'm not mistaken, using pivot tables would require me to create a separate one for each analysis? &amp;nbsp;They're super easy to create, but to me that results in a cluttered workbook if there are dozens of little pivot tables everywhere. I'd rather use formulas so my results can be nice and tidy - and if anyone wants to see where the data came from they can easily check the formula. Just seems cleaner. &amp;nbsp;Especially if they all need to be refreshed too...(although presumably there is a refresh all option?). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;good discussion.&lt;/p&gt;
</description></item><item><title>re: Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/03/23/analyzing-data-functions-of-pivottables.aspx#9561706</link><pubDate>Wed, 22 Apr 2009 11:30:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9561706</guid><dc:creator>david</dc:creator><description>&lt;p&gt;How to add CalculatedField to pivottable using c# ? &lt;/p&gt;
&lt;p&gt;Thks.&lt;/p&gt;
</description></item></channel></rss>