<?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>Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx</link><description>Today’s author, Monica Poinescu, a Software Developer in Test on the Excel team, gives an overview of some new functions in Excel 2007 and along the way shows us how to do some simple expense tracking. Considering the current economic environment, one</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Simple Expense Tracking With New Excel 2007 Functions - Click &amp;amp; Solve</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9409704</link><pubDate>Tue, 10 Feb 2009 04:29:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9409704</guid><dc:creator>Simple Expense Tracking With New Excel 2007 Functions - Click &amp;amp; Solve</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.clickandsolve.com/?p=5557"&gt;http://www.clickandsolve.com/?p=5557&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9410134</link><pubDate>Tue, 10 Feb 2009 11:28:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9410134</guid><dc:creator>Carmen</dc:creator><description>&lt;p&gt;Why not use Pivot Table instead?&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9410198</link><pubDate>Tue, 10 Feb 2009 12:40:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9410198</guid><dc:creator>Neal O</dc:creator><description>&lt;p&gt;Exactly, why not use pivot tables? I'm missing the point here, has anyone found a compelling case to use Excel 2007 tables at all???&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9410201</link><pubDate>Tue, 10 Feb 2009 12:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9410201</guid><dc:creator>Neal O</dc:creator><description>&lt;p&gt;Exactly, why not use pivot tables? I'm missing the point here, has anyone found a compelling case to use Excel 2007 tables at all???&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9410853</link><pubDate>Tue, 10 Feb 2009 19:43:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9410853</guid><dc:creator>Jonah Feld</dc:creator><description>&lt;p&gt;Tales and these functions are my favorite new features in 2007. Using SUMIFS() on a Table you can easily parameterize conditions and work with multidimensional data more easily than with GETPIVOTDATA() and much faster than with array formulas. Plus the Table is dynamic, and unlike a dynamic range, does not rely on a volatile function. The structured references are very readable, and IntelliSense makes them very quick and error resistant to write.&lt;/p&gt;
&lt;p&gt;In this simple example, sure, a PivotTable would be just as good or better, but not always.&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9411680</link><pubDate>Wed, 11 Feb 2009 03:44:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9411680</guid><dc:creator>Harlan Grove</dc:creator><description>&lt;p&gt;@Jonah -&lt;/p&gt;
&lt;p&gt;Are SUMIFS formulas referring to tables faster than equivalent SUMPRODUCT formulas?&lt;/p&gt;
&lt;p&gt;G2:&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT(Table1[Amount],&lt;/p&gt;
&lt;p&gt;(Table1[Category]=G$1)*(Table1[Date]=$F2))&lt;/p&gt;
&lt;p&gt;? And how are SUMIFS etc useful when the condition is OR? E.g., add a few more entries under Category and consider summarizing under Necessary (rent, utilities) and discretionary (movies, books). Simple enough with SUMPRODUCT.&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT(Table1[Amount],&lt;/p&gt;
&lt;p&gt;*(Table1[Category]={&amp;quot;movie&amp;quot;,&amp;quot;books&amp;quot;})&lt;/p&gt;
&lt;p&gt;*(Table1[Date]=$F2))&lt;/p&gt;
&lt;p&gt;Yes, I know my DeMorgan's Law,&lt;/p&gt;
&lt;p&gt;A or B == not ((not A) and (not B))&lt;/p&gt;
&lt;p&gt;so it's possible to contrive SUMIFS formulas as&lt;/p&gt;
&lt;p&gt;=SUMIF(Table1[Date],$F2,Table1[Amount])&lt;/p&gt;
&lt;p&gt;-SUMIFS(Table1[Amount],&lt;/p&gt;
&lt;p&gt;Table1[Category],&amp;quot;&amp;lt;&amp;gt;movie&amp;quot;,&lt;/p&gt;
&lt;p&gt;Table1[Category],&amp;quot;&amp;lt;&amp;gt;books&amp;quot;,&lt;/p&gt;
&lt;p&gt;Table1[Date],$F2)&lt;/p&gt;
&lt;p&gt;but I doubt that'd recalc faster than the equivalent SUMPRODUCT formula.&lt;/p&gt;
&lt;p&gt;I have nothing against tables. It's SUMIFS etc that seem pointless to me.&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9411850</link><pubDate>Wed, 11 Feb 2009 05:31:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9411850</guid><dc:creator>Joseph Chirilov</dc:creator><description>&lt;p&gt;Carmen, Neal: as is often the case with Excel, there's more than one way to skin a cat. &amp;nbsp;Pivot Tables are a good alternative approach for this problem. &amp;nbsp;The point of this blog post was to educate people on some of the new functions in Excel by way of example; it wasn't trying to make a statement about the ideal way to solve this particular problem. &amp;nbsp;I totally agree though, if you are someone who is very familiar with PivotTables, then that might be a better solution for you.&lt;/p&gt;
&lt;p&gt;Though that does give me an idea about a future blog post: pros/cons of pivot-based solutions vs. cell-formula equivalents.&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9413047</link><pubDate>Wed, 11 Feb 2009 20:28:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9413047</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;@Jonah,&lt;/p&gt;
&lt;p&gt;Dynamic names need not be volatine&lt;/p&gt;
&lt;p&gt;Client =$a$1:Index($a:$a,counta($a:$a)) is not volatile unlike the Offset version&lt;/p&gt;
&lt;p&gt;Tables in 2007 are not truly dynamic.&lt;/p&gt;
&lt;p&gt;Define a table, copy data from another sheet paste it two rows below the last line of the table.&lt;/p&gt;
&lt;p&gt;Delete the blank rows. The Table does not expand&lt;/p&gt;
&lt;p&gt;@Harlan.&lt;/p&gt;
&lt;p&gt;SumIF/s countIF/s are unfortunately much faster than Sumproduct&lt;/p&gt;
&lt;p&gt;Data 65536 rows - 3 conditions&lt;/p&gt;
&lt;p&gt;Array Entered Sum - 1.13 sec&lt;/p&gt;
&lt;p&gt;Sumproduct with Double unary syntax - 1.12 sec&lt;/p&gt;
&lt;p&gt;Dsum-Sum - 0.5 Sec&lt;/p&gt;
&lt;p&gt;SumIFs - 0.09 sec&lt;/p&gt;
&lt;p&gt;Sumifs wins hands down&lt;/p&gt;
&lt;p&gt;The only problem is the inability to incorporate an OR logic in SumiF/s&lt;/p&gt;
&lt;p&gt;But then its is difficult to do it in Sumproduct as well without array entering it&lt;/p&gt;
&lt;p&gt;= Sumproduct((Name=&amp;quot;abb&amp;quot;)+(City=&amp;quot;NewYork&amp;quot;),(Amt)) gives wrong results&lt;/p&gt;
&lt;p&gt;TRUE+TRUE = 2 not 1&lt;/p&gt;
&lt;p&gt;Sumproduct(IF((Name=&amp;quot;abb&amp;quot;)+(City=&amp;quot;NewYork&amp;quot;),1,0)),(Amt)) - Array Entered works&lt;/p&gt;
&lt;p&gt;@Joseph&lt;/p&gt;
&lt;p&gt;Pivot Table V/s Formulas.&lt;/p&gt;
&lt;p&gt;There are no improvements in Calculated fields / Calculated items in 2007 -Inability to refer to ranges/use Array Formulas in Calculated fields/Items is a major drawback....but this is compensated by the fact that we do have more shades of Blue for formatting the table...no doubt due to the overwhelming demand for it from the customer feedback program...submitted by &amp;quot;real&amp;quot; users&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9413072</link><pubDate>Wed, 11 Feb 2009 20:45:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9413072</guid><dc:creator>stanscott</dc:creator><description>&lt;p&gt;Using Sumproduct with multiple criteria really isn't difficult. &amp;nbsp;In the example above, assume Name in column A, City in column B, and Amt in column C.&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT((A2:A4=&amp;quot;abb&amp;quot;)*1,(B2:B4=&amp;quot;New York&amp;quot;)*1,C2:C4)&lt;/p&gt;
&lt;p&gt;This formula gives you the total of the items in column C, where Name is abb, and City is New York. &amp;nbsp;The &amp;quot;*1&amp;quot; is used with the first two arguments to convert TRUE to 1.&lt;/p&gt;
&lt;p&gt;Stan Scott&lt;/p&gt;
&lt;p&gt;New York City&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9413094</link><pubDate>Wed, 11 Feb 2009 20:55:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9413094</guid><dc:creator>Harlan Grove</dc:creator><description>&lt;p&gt;@sam -&lt;/p&gt;
&lt;p&gt;Fair point about recalc speed. Wonder whether SIMIFS's speed is due to short circuit boolean evaluation (no need to process additional criteria when an earlier criterion is FALSE).&lt;/p&gt;
&lt;p&gt;However, you need to spend more time reading the newsgroups. For mutually exclusive OR (same range equal to one of many alternatives), redundancy works.&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT((A1:A100={&amp;quot;A&amp;quot;,&amp;quot;E&amp;quot;,&amp;quot;I&amp;quot;,&amp;quot;O&amp;quot;,&amp;quot;U&amp;quot;})&lt;/p&gt;
&lt;p&gt;*C1:C100)&lt;/p&gt;
&lt;p&gt;For different fields, still fairly simple.&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT(--((A1:A100=&amp;quot;A&amp;quot;)+(B1:B100&amp;lt;&amp;gt;&amp;quot;X&amp;quot;)&amp;gt;0),&lt;/p&gt;
&lt;p&gt;C1:C100)&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9414029</link><pubDate>Thu, 12 Feb 2009 07:19:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9414029</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;@stan,&lt;/p&gt;
&lt;p&gt;I was looking to sum column Amt where Name = ABB OR City = New York&lt;/p&gt;
&lt;p&gt;@Harlan..&lt;/p&gt;
&lt;p&gt;Thanks for the Solution..I learn more from the comments than the Posts&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9423612</link><pubDate>Sun, 15 Feb 2009 09:38:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9423612</guid><dc:creator>faramond</dc:creator><description>&lt;p&gt;I for one would like to see the pro/con post. There are probably lots of issues I haven't yet encountered but will (and spend time pulling out my hair, trying to determine why Excel's not working as I expect.) Here are a couple examples:&lt;/p&gt;
&lt;p&gt;* Certain chart types (e.g. scattergraph) are not available in pivot tables&lt;/p&gt;
&lt;p&gt;* Software that imports Excel files often can't read/instantiate/calculate pivot tables&lt;/p&gt;
&lt;p&gt;* Function set very limited in pivot tables (e.g., only average--no median!)&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9426027</link><pubDate>Mon, 16 Feb 2009 18:55:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9426027</guid><dc:creator>Jonah Feld</dc:creator><description>&lt;p&gt;@Harlan&lt;/p&gt;
&lt;p&gt;I never tested SUMPRODUCT() for speed myself, but never had an issue with SUMIFS(). An MSDN article (&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/aa730921.aspx#office2007excelperf_TipsOptimizingBottlenecks"&gt;http://msdn.microsoft.com/en-us/library/aa730921.aspx#office2007excelperf_TipsOptimizingBottlenecks&lt;/a&gt;) on optimizing Excel bottlenecks recommended use in this order: SUMIFS(), SUMPRODUCT(), then array formulas. &lt;/p&gt;
&lt;p&gt;@Sam, &lt;/p&gt;
&lt;p&gt;Thanks for the detailed test results, and for showing how to write a dynamic range without OFFSET(). I wish that method occurred to me before 2007 came out. I'd been relying on a VBA function to restate ranges as static instead. Even though your example points out how to trick a Table into not dynamically expanding, the Table is dynamic with normal use.&lt;/p&gt;
&lt;p&gt;Adding to the topic of Table merit...&lt;/p&gt;
&lt;p&gt;The Tables I use are almost always tied to an external data source. It's very helpful to be able to manage these objects differently than Named Ranges. &lt;/p&gt;
&lt;p&gt;Calculated Fields in Tables have an important advantage over Calculated Fields in PivotTables; Tables can reference values outside of the object. For example, let's say you have a Table of purchases and corresponding US States. Outside of the Table, you have pairs of US States and their sales tax rate. The Table can have a Calculated Field that references the tax rate. The PivotTable's Calculated Field cannot.&lt;/p&gt;
&lt;p&gt;With VBA controlling PivotTables, it's very easy to inadvertently wreck/corrupt your PivotTable, and difficult to detect when this has happened. I haven't encountered any corruption problems with Tables.&lt;/p&gt;
&lt;p&gt;If I had to choose only one, I'd take PivotTables, but Tables are an excellent addition to 2007. &lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9440727</link><pubDate>Mon, 23 Feb 2009 02:35:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9440727</guid><dc:creator>sebastien</dc:creator><description>&lt;p&gt;Thank you for these functions. &lt;/p&gt;
&lt;p&gt;- In prior xl versions, I could teach all my users SUMIF, but only a fraction of the them would understand SUMPRODUCT to sum with multiple criteria and only that fraction could use it without making a big mess.&lt;/p&gt;
&lt;p&gt;- Also I like that SUMIF/SUMIFS can operate on ranges containing Error values. SUMPRODUCT cannot without workaround which makes SUMIF(S) more user friendly for the average user.&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9456449</link><pubDate>Tue, 03 Mar 2009 13:51:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9456449</guid><dc:creator>silk1203</dc:creator><description>&lt;p&gt;In Table1, I've entered data like this:&lt;/p&gt;
&lt;p&gt;a1: monument b1:guide&lt;/p&gt;
&lt;p&gt;a2: taj mahal b2: 750&lt;/p&gt;
&lt;p&gt;a3: varanasi b3: 102&lt;/p&gt;
&lt;p&gt;a4: bodhgaya b4: 50&lt;/p&gt;
&lt;p&gt;a5: city palace b5: 300&lt;/p&gt;
&lt;p&gt;........&lt;/p&gt;
&lt;p&gt;In Table 2, I've created a list to get the data from Table1, ColumnA. So, for example if Table 2 has got data as under:&lt;/p&gt;
&lt;p&gt;a2: bodhgaya&lt;/p&gt;
&lt;p&gt;a3: taj mahal&lt;/p&gt;
&lt;p&gt;a4: left blank&lt;/p&gt;
&lt;p&gt;a5: left blank&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;I need the calculation at a15. Let assume for the above entry, the a15 shows 800 (value of bodhgaya + value of taj mahal)&lt;/p&gt;
&lt;p&gt;What formula should I've to enter? Please solve.&lt;/p&gt;
&lt;p&gt;Abhay&lt;/p&gt;
</description></item><item><title>re: Simple Expense Tracking With New Excel 2007 Functions</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9456456</link><pubDate>Tue, 03 Mar 2009 14:00:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9456456</guid><dc:creator>silk1203</dc:creator><description>&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TABLE 1			&lt;/p&gt;
&lt;p&gt;	A	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B	C&lt;/p&gt;
&lt;p&gt;1	Monument	Guide	&lt;/p&gt;
&lt;p&gt;2	Taj Mahal	750	&lt;/p&gt;
&lt;p&gt;3	Varanasi	102	&lt;/p&gt;
&lt;p&gt;4	Bodhgaya	50	&lt;/p&gt;
&lt;p&gt;5	City Palace	300	&lt;/p&gt;
&lt;p&gt;6	Rajgir	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50	&lt;/p&gt;
</description></item><item><title>Analyzing Data: Functions or PivotTables</title><link>http://blogs.msdn.com/excel/archive/2009/02/09/simple-expense-tracking-with-new-excel-2007-functions.aspx#9502335</link><pubDate>Mon, 23 Mar 2009 22:31:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9502335</guid><dc:creator>Microsoft Excel</dc:creator><description>&lt;p&gt;Today’s author, Monica Poinescu, a Software Developer in Test on the Excel team, discusses two different&lt;/p&gt;
</description></item></channel></rss>