<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Mad Marv&#039;s Place &#187; Investing</title>
	<atom:link href="http://madmarvonline.com/blog/category/investing/feed/" rel="self" type="application/rss+xml" />
	<link>http://madmarvonline.com/blog</link>
	<description>Civil Engineer, CAD Geek, podcast junky and amateur photographer</description>
	<lastBuildDate>Wed, 12 May 2010 18:00:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.5.1" -->
	<copyright>Copyright &#xA9; 2010 Mad Marv&#039;s Place </copyright>
	<managingEditor>blogfeedback@madmarvonline.com</managingEditor>
	<webMaster>blogfeedback@madmarvonline.com</webMaster>
	<category>posts</category>
	<image>
		<url>http://madmarvonline.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Mad Marv&#039;s Place &#187; Investing</title>
		<link>http://madmarvonline.com/blog</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>A quiet place where I write and nobody reads</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &amp; Culture" />
	<itunes:author></itunes:author>
	<itunes:owner>
		<itunes:name></itunes:name>
		<itunes:email>blogfeedback@madmarvonline.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://madmarvonline.com/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>RSS Feeds for EDGAR Filings</title>
		<link>http://madmarvonline.com/blog/2008/03/14/rss-feeds-for-edgar-filings/</link>
		<comments>http://madmarvonline.com/blog/2008/03/14/rss-feeds-for-edgar-filings/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 06:26:54 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>
		<category><![CDATA[EDGAR]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[SEC]]></category>
		<category><![CDATA[stocks]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/2008/03/14/rss-feeds-for-edgar-filings/</guid>
		<description><![CDATA[RSS Feeds for EDGAR Filings I found this is a sweet little service that will save me the cost of a 10Kwizard subscription. It searches the EDGAR database and creates a custom RSS feed that displays the SEC filings made by a specific company. The search string is by CIK, but the author made a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fwallstreet.com/edgar.htm">RSS Feeds for EDGAR Filings</a></p>
<p>I found this is a sweet little service that will save me the cost of a 10Kwizard subscription.  It searches the EDGAR database and creates a custom RSS feed that displays the SEC filings made by a specific company.  The search string is by CIK, but the author made a sweet little search box that will look up the CIK for you.  This is now my favorite investing tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2008/03/14/rss-feeds-for-edgar-filings/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updated Stock Market Financial Analysis Spreadsheet</title>
		<link>http://madmarvonline.com/blog/2008/03/05/updated-stock-market-financial-analysis-spreadsheet/</link>
		<comments>http://madmarvonline.com/blog/2008/03/05/updated-stock-market-financial-analysis-spreadsheet/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 06:56:03 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[spreadsheet]]></category>
		<category><![CDATA[stocks]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/2008/03/05/updated-stock-market-financial-analysis-spreadsheet/</guid>
		<description><![CDATA[Stock Market Financial Analysis Spreadsheet Disclaimer: These spreadsheets are offered &#8220;as is&#8221; without any warranty of any kind, either expressed or implied. Under no circumstances will I be liable for any damage, loss of data or financial injury resulting from the downloading or use of this spreadsheet. Possible damages include, but are not limited to, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://madmarvonline.com/downloads/financials-webqueries-2008-March.xls">Stock Market Financial Analysis Spreadsheet</a><br />
<br />
<a href="http://madmarvonline.com/downloads/financials-webqueries-2008-March.png"><img src="http://madmarvonline.com/downloads/financials-webqueries-2008-March-thumb.png" alt="Spreadsheet Screen Capture - Summary Page" /></a></p>
<p><strong>Disclaimer:<br />
These spreadsheets are offered &#8220;as is&#8221; without any warranty of any kind, either expressed or implied.  Under no circumstances will I be liable for any damage, loss of data or financial injury resulting from the downloading or use of this spreadsheet.  Possible damages include, but are not limited to, direct, indirect, special, incidental or consequential damages or other losses arising out of the use of or inability to use any of my spreadsheets.</strong></p>
<p><a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/us/"><br />
<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/3.0/us/88x31.png" /><br />
</a><br />
<br />This work is licensed under a<br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/us/">Creative Commons Attribution-Noncommercial 3.0 United States License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2008/03/05/updated-stock-market-financial-analysis-spreadsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Charlie Munger &#8211; USC Law School Commencement</title>
		<link>http://madmarvonline.com/blog/2007/05/22/charlie-munger-usc-law-school-commencement/</link>
		<comments>http://madmarvonline.com/blog/2007/05/22/charlie-munger-usc-law-school-commencement/#comments</comments>
		<pubDate>Wed, 23 May 2007 09:25:32 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/2007/05/22/charlie-munger-usc-law-school-commencement/</guid>
		<description><![CDATA[Found this through the MSN Berkshire Hathaway Mailing List. Charlie&#8217;s pearls of wisdom are always worth a read. Charlie Munger &#8211; USC Law School Commencement I constantly see people rise in life who are not the smartest, sometimes not even the most diligent, but they are learning machines. They go to bed every night a [...]]]></description>
			<content:encoded><![CDATA[<p>Found this through the MSN Berkshire Hathaway Mailing List.  Charlie&#8217;s pearls of wisdom are always worth a read.</p>
<p><a href="http://valueinvestingworld.blogspot.com/2007/05/charlie-munger-usc-law-school.html">Charlie Munger &#8211; USC Law School Commencement</a></p>
<blockquote><p>
I constantly see people rise in life who are not the smartest, sometimes not even the most diligent, but they are learning machines. They go to bed every night a little wiser than they were when they got up and boy does that help, particularly when you have a long run ahead of you.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/05/22/charlie-munger-usc-law-school-commencement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warren Buffett&#8217;s response to Shai Dardashti&#8217;s Letter</title>
		<link>http://madmarvonline.com/blog/2007/04/23/warren-buffetts-response-to-shai-dardashtis-letter/</link>
		<comments>http://madmarvonline.com/blog/2007/04/23/warren-buffetts-response-to-shai-dardashtis-letter/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 08:24:01 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/2007/04/23/warren-buffetts-response-to-shai-dardashtis-letter/</guid>
		<description><![CDATA[Found this through Fat Pitch Financials In the margins of a letter to a 20-something year old money manager, Warren Buffett succinctly answers a deep philosophical question of value investing. If you had an optimum capital base, which investing style is better, cheap and narrow-moat companies or pricey and wide-moat companies? Alas, Buffett&#8217;s response was [...]]]></description>
			<content:encoded><![CDATA[<p>Found this through <a href="http://www.fatpitchfinancials.com/556/warren-buffett-responds-to-shai-dardashtis-question/">Fat Pitch Financials</a></p>
<p>In the margins of a letter to a 20-something year old money manager, Warren Buffett succinctly answers a deep philosophical question of value investing.  If you had an optimum capital base, which investing style is better, cheap and narrow-moat companies or pricey and wide-moat companies?</p>
<p>Alas, Buffett&#8217;s response was not as definitive as one would hope.  He said, &#8220;Either is fine.  [Cheap and Narrow] is better for small sums.  [Expensive and Wide] is better for large sums.&#8221;</p>
<p>Here is my interpretation.  Buffett is referring to relative allocation within a portfolio, rather the total size of the portfolio.  If you decide to invest in the cheap category, you need greater diversity to protect against a higher failure rate.  Therefore the sums invested in each company should be small in comparison to the total portfolio.  On the other hand, a portfolio focused on blue chips should be concentrated because failure is less likely in that group.</p>
<p>It is true that a large capital base cannot find enough small investments to justify the time invested.  However the context of Shai&#8217;s question clarifies that the portfolio is small enough so that diminishing returns are not a consideration.  So, the point of Buffett&#8217;s response is not that small investors should be only looking at small caps.  Either small or large caps are fine, but the strategy must be appropriate to their size.  Don&#8217;t concentrate in a few small caps, and don&#8217;t buy every blue chip.</p>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/04/23/warren-buffetts-response-to-shai-dardashtis-letter/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Financial Analysis Spreadsheet with Web Queries</title>
		<link>http://madmarvonline.com/blog/2007/03/04/financial-analysis-spreadsheet-with-web-queries/</link>
		<comments>http://madmarvonline.com/blog/2007/03/04/financial-analysis-spreadsheet-with-web-queries/#comments</comments>
		<pubDate>Sun, 04 Mar 2007 10:19:14 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/?p=4</guid>
		<description><![CDATA[financials-webqueries-v2.xls Click Here to Download Financial data is downloaded from free sources such as Morningstar and Yahoo! Finance via web queries. Data is extracted from the web queries and input into my financial analysis spreadsheet and ratios are calculated automatically. Disclaimer: These spreadsheets are offered &#8220;as is&#8221; without any warranty of any kind, either expressed [...]]]></description>
			<content:encoded><![CDATA[<p><strong>financials-webqueries-v2.xls<br />
</strong><br />
<a href="http://madmarvonline.com/downloads/financials-webqueries-v2.xls">Click Here to Download</a></p>
<p><a href="http://madmarvonline.com/downloads/financials-webqueries-v2.jpg"><img src="http://madmarvonline.com/downloads/financials-webqueries-v2.jpg" title="Screenshot of Financial Analysis Spreadsheet v2, click to see full image" alt="Screenshot of Financial Analysis Spreadsheet v2" height="240" width="320" /></a></p>
<p>Financial data is downloaded from free sources such as <a href="http://www.morningstar.com">Morningstar</a> and <a href="http://finance.yahoo.com">Yahoo! Finance</a> via web queries.  Data is extracted from the web queries and input into my financial analysis spreadsheet and ratios are calculated automatically.</p>
<p><strong>Disclaimer:<br />
These spreadsheets are offered &#8220;as is&#8221; without any warranty of any kind, either expressed or implied.  Under no circumstances will I be liable for any damage, loss of data or financial injury resulting from the downloading or use of this spreadsheet.  Possible damages include, but are not limited to, direct, indirect, special, incidental or consequential damages or other losses arising out of the use of or inability to use any of my spreadsheets.</strong></p>
<p><!-- Creative Commons License --><br />
<a href="http://creativecommons.org/licenses/by-nc/2.5/" rel="license"><img src="http://creativecommons.org/images/public/somerights20.gif" alt="Creative Commons License" border="0" /></a><br />
This work is licensed under a <a href="http://creativecommons.org/licenses/by-nc/2.5/" rel="license">Creative Commons Attribution-NonCommercial 2.5 License</a>.</p>
<p>NOTES:</p>
<ol>
<li>The spreadsheet contains a macro that will download stock market data when you click the &#8220;Update Data&#8221; button on the Summary sheet.  Make sure your security settings are set to Medium or lower level.  By default, Excel&#8217;s macro security level should be set to Medium.  If you cannot set the security to Medium, you can manually click the refresh &#8220;Refresh All&#8221; button on the External Data toolbar.</li>
<li>Downloading the data takes less than a minute from the time you click the &#8220;Update Data&#8221; button, depending on the speed of your internet connection.</li>
<li>Currently, this spreadsheet cannot analyze financial institutions like banks, insurance companies or brokerages.  If you try to download data for a bank or another financial institution, the formatting of the downloaded data will be incorrectly parsed by the spreadsheet and gibberish will appear on the Summary sheet.  This may permanently corrupt the spreadsheet and you will then need to download another copy of the spreadsheet.</li>
<li>Morningstar only provides annual data for download, quarterly data is not calculated by this spreadsheet.  However, the last column will show the most current Trailing Twelve Month data.</li>
<li>This spreadsheet includes the <a href="http://madmarvonline.com/downloads/DCF-calc.xls">DCF calculator</a> that I described in <a href="http://madmarvonline.com/blog/?p=3">Investing Spreadsheets</a>.</li>
</ol>
<p>Marv</p>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/03/04/financial-analysis-spreadsheet-with-web-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel Tutorial: Common Error Messages</title>
		<link>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-common-error-messages/</link>
		<comments>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-common-error-messages/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 07:32:53 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/?p=9</guid>
		<description><![CDATA[Common Error Messages #NUM! Occurs when the numeric inputs for the formula are unacceptable or cause a problem. For example =SQRT(-1) will cause a #NUM! error because the result is not a real number. =10^500 will also cause a #NUM! error because the result is too large for Excel to handle. #NAME? Occurs when the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Common Error Messages</strong></p>
<p><strong>#NUM!</strong><br />
Occurs when the numeric inputs for the formula are unacceptable or cause a problem. For example =SQRT(-1) will cause a #NUM! error because the result is not a real number. =10^500 will also cause a #NUM! error because the result is too large for Excel to handle.</p>
<p><strong>#NAME?</strong><br />
Occurs when the text in the formula is not understood. It could be a typo in the name of a named range of cells or a function like =SQT() instead or =SQRT(), omitting a colon (:) in a cell range, or entering text in a formula without enclosing it in &#8221; &#8220;. This error also occurs when using a function that has not been loaded in Excel. This is likely to happen if you use XIRR() without loading the Analysis Toolpak.</p>
<p><strong>#REF!</strong><br />
Occurs when a cell reference is missing because the referenced cell was deleted.</p>
<p><strong>#DIV/0!</strong><br />
Occurs when the formula divides by 0. It usually happens when the formula is something like =A1/B1 and B1 is empty.</p>
<p><strong>#VALUE!</strong><br />
Occurs when the wrong type of input is fed into a formula.</p>
<p>For example, formula is expecting numeric inputs and text is entered. =A1*B1, when the contents of either A1 and B1 is not a number. The exception to this rule is TRUE and FALSE which Excel reads as 1 and 0 respectively.</p>
<p>A range of cells is entered when the formula is expecting a single cell.</p>
<p>Typing an array formula without using Ctrl+Shift+Enter.</p>
<p><strong>Circular References</strong><br />
When one or more formulas reference each other such that a logical loop is formed, Excel will trigger an error message telling you that you&#8217;ve created a circular reference. For example, if cell A1 has the formula =B1 and cell B1 has =A1, this will create a circular reference and Excel will ask if you are sure you want to use this formula. Excel will allow circular references if you really want them. Circular references are an infinite loop, but they will not crash Excel because Excel caps the number of loop iterations. There are some useful applications of circular references, they can be used to calculate solutions that can only be found through successive iterations. But more often than not, they are errors in a spreadsheet.</p>
<p><strong>Debugging and the Audit Tool</strong><br />
When writing a spreadsheet, typos inevitably occur. The problem is you might not figure out where they are until after you&#8217;re done. The trick to spotting an error in your spreadsheet is to test it using simple data with round figures. The data should be easy enough for you to figure out what the formulas should spit out. For example, if you&#8217;re debugging financial ratios from an income statement, input $10 M revenue, $5 M cost of sales, $1 M Net Income, &amp; 2 M shares. You can see that Gross Margin should be 50%, Net Margin 10%, and EPS $0.50. Any errors in the spreadsheet will be easy to pick out.</p>
<p>Once you&#8217;ve found a formula that has a bug in it, fixing it is usually pretty simple. But, if the spreadsheet is large enough, it may be difficult to trace the references in a formula when you&#8217;re debugging the sheet. To make this easier, Excel has the Audit command. It will draw a line and arrow from the cell you select to all precedents (inputs into the formula) or decendants (all cells that use the selected cell as an input).</p>
<p>Click on the buggy cell and go to Tools &#8211;&gt; Auditing &#8211;&gt; Trace Precedents. Several lines and arrows will appear on the spreadsheet pointing to the inputs in the formula. Similarly, Tools &#8211;&gt; Auditing &#8211;&gt; Trace Dependants will trace a path to all formulas that use that cell as an input.</p>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-common-error-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel Tutorial: Statistical Functions</title>
		<link>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-statistical-functions/</link>
		<comments>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-statistical-functions/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 07:32:22 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/?p=8</guid>
		<description><![CDATA[These are some of the common statistical functions in Excel that are useful in investing. Again, these are not the only ones to be found in Excel, I&#8217;m just filtering the onses most useful to investors. AVERAGE(number1,number2...) Returns the average or arithmatic mean of the series. GEOMEAN(number1,number2...) Returns the geometric mean of the series. See [...]]]></description>
			<content:encoded><![CDATA[<p>These are some of the common statistical functions in Excel that are useful in investing. Again, these are not the only ones to be found in Excel, I&#8217;m just filtering the onses most useful to investors.</p>
<pre style="font-family: Verdana,Arial,sans serif">
AVERAGE(number1,number2...)             Returns the average or arithmatic mean of the series.
GEOMEAN(number1,number2...)             Returns the geometric mean of the series.  See Note 1.
                                                           for difference between geometric and arithmatic mean.
MEDIAN(number1,number2...)              Returns the median (i.e. midpoint) of the series
MAX(number1,number2...)                   Returns the maximum value in the series
MIN(number1,number2...)                    Returns the minimum value in the series
COUNT(number1,nubmer2...)               Returns the number of values in the series.
FORECAST(X,known_X,known_Y)             Extrapolates Y given a series of known X and Y values.
                                                             Uses linear regression (i.e. fitting a straight line
                                                             through the data) to project forward results.
TREND(known_y,known_x,X,const)          Extrapolates Y given a series of known X and Y values.
                                                            Similar to FORECAST(), TREND() uses linear regression.
GROWTH(known_y,known_x,x,const)     Extrapolates Y given a series of known X and Y values.
                                                          Similar to TREND(), but GROWTH() fits an exponential
                                                          curve through the data to project forward results.
LINEST(known_y,known_x,const,stats)     Returns the statistical information on the line that
                                                            best fits the data.  This function must be entered as
                                                            an array formula.  See Note 2.
LOGEST(known_y,known_x,const,stats)    Returns the statistical information on the exponential
                                                             curve that best fits the data.  This function must be
                                                             entered as an array formula.  See Note 2.</pre>
<p>number1, number2, etc. are variables that can be entered directly into the equation or can be replace with a cell reference or range of cells.</p>
<p>known_X, known_Y are variables (usually a range of cells) that are input into the regression analysis.</p>
<p>X is the next X variable. Typically TREND(), GROWTH() etc. solve for an extrapolated Y value given the known_Xs &amp; known_Ys and an assumed X. For example the annual returns on a portfolio are 3%, 17%, 23%, &amp; -15%. These would be the known_Y values, the known_X values are the years 1, 2, 3, &amp; 4. X would be the year for which you want TREND() to project a corresponding Y value.</p>
<p>Const is an optional TRUE/FALSE variable which can be excluded. It is used in the line/curve fitting function to force the y-interect to go through 0. If the flag is set to TRUE, the function will return a slope for a line/curve through the origin.</p>
<p>Stats is an optional TRUE/FALSE variable which can be excluded. If it is set to TRUE, additional statistical information (mn,mn-1,&#8230;,m1,b;sen,sen-1,&#8230;,se1,seb;r 2,sey) will be provided by the function.</p>
<p><strong>Note 1:</strong></p>
<p>When talking about average growth rates there are two types, arithmatic mean and geometric mean. Arithmatic mean is what is commonly known as the average, and is calculated from summing all the terms and dividing by the number of terms (i.e. (X + Y + Z) / 3). Geometric mean is calculated by multiplying all the terms and taking the n_th root of the product (i.e. (X * Y * Z) ^ (1/3) ).</p>
<p>The significance of this is in growth rates. Growth rates fluctuates from year to year and trying to nail down an average growth rate over a number years is a bit difficult if you use arithmatic mean. Take the following example of a portfolio&#8217;s 10 year performance.</p>
<pre style="font-family: Verdana,Arial,sans serif">
Year	Growth	 Value
0 		     $10,000
1	5%	  $10,500
2	8%	  $11,340
3	12%	 $12,701
4	23%	 $15,622
5	-2%	 $15,310
6	-6%	 $14,391
7	35%	 $19,428
8	10%	 $21,371
9	16%	 $24,790
10	1%	 $25,038</pre>
<p><strong>Average Growth (arithmatic mean):</strong></p>
<p>(5% + 8% + 12% + 23% &#8211; 2% &#8211; 6% + 35% + 10% + 16% + 1%) / 10 = 10.2%</p>
<p>Now, according to the law of compounding, the ending value of the portfolio could be calculated given the starting value, growth rate and time period. Since there were no deposits or withdrawls to the portfolio, the compound interest equation can be use. Starting_Value * (1 * Growth_Rate) ^ Time. But if you plug in the values from this example you get</p>
<p>$10k * (1 + 10.2%) ^ 10 = $26,413.</p>
<p>$1,375 higher than the actual ending value.</p>
<p>To get the true average growth rate, also known as the compounded annual growth rate (CAGR), you need to use the geometric mean. It is calculated a bit differently because only positive numbers can be input into the equation.</p>
<p>(1.05 * 1.08 * 1.12 * 1*23 * 0.98 * 0.94 * 1.35 * 1.1 * 1.16 * 1.01) ^ (1 / 10) = 9.6%</p>
<p>Using the geometric mean in the compound interest equation we get</p>
<p>$10k * (1 + 9.6%) ^ 10 = $25,038</p>
<p>which matches the actual results. For further discussion on the difference and applicability of the geometric mean, see <a href="http://www.casact.org/discuss/discuss2.htm">this article</a></p>
<p><strong>Note 2:</strong></p>
<p>Array formulas are for functions that return several pieces of data. LINEST() return two pieces of information, the slope and y-intercept of the best fit line. Since two separate numbers cannot occupy the same cell, the function needs to be spread across two cells. Example:</p>
<pre style="font-family: Verdana,Arial,sans serif">
            A       B
Row 1   1	1
Row 2   2	2
Row 3   3	3
Row 4   4	5
Row 5   5	8
Row 6   6	13
Row 7   7	21
Row 8   8	34
Row 9   9	55
Row 10  10	89</pre>
<p>To enter the LINEST() function, highlight cells A11 &amp; B11. Then type</p>
<p>=LINEST(B1:B10,A1:A10)</p>
<p>but instead of hitting ENTER at the end, hold down SHIFT + CTRL + ENTER.</p>
<p>The results should be 8.31 and -22.60.</p>
<p>Similarly, =LOGEST(B1:B10,A1:A10) should return 1.63 and 0.69.</p>
<p>To project values of Column B for values of 11, 12, 13, 14 &amp; 15 in Column A, either the TREND() or FORECAST() functions can be used for linear regression or the GROWTH() function can be used for exponential growth projections.</p>
<p>Example of TREND():</p>
<pre style="font-family: Verdana,Arial,sans serif">
            A       B
Row 1   1	1
Row 2   2	2
Row 3   3	3
Row 4   4	5
Row 5   5	8
Row 6   6	13
Row 7   7	21
Row 8   8	34
Row 9   9	55
Row 10  10	89
Row 11  11      =TREND(B1:B10,A1:A10,A11)
Row 12  12      =TREND(B1:B10,A1:A10,A12)
Row 13  13      =TREND(B1:B10,A1:A10,A13)
Row 14  14      =TREND(B1:B10,A1:A10,A14)
Row 15  15      =TREND(B1:B10,A1:A10,A15)</pre>
<p>Results:</p>
<pre style="font-family: Verdana,Arial,sans serif">
        A       B
Row 1   1	1
Row 2   2	2
Row 3   3	3
Row 4   4	5
Row 5   5	8
Row 6   6	13
Row 7   7	21
Row 8   8	34
Row 9   9	55
Row 10  10	89
Row 11  11	68.80
Row 12  12	77.11
Row 13  13	85.42
Row 14  14	93.73
Row 15  15	102.04</pre>
<p>If the GROWTH() function was used in place of TREND(), the results would be:</p>
<pre style="font-family: Verdana,Arial,sans serif">
            A       B
Row 1   1	1
Row 2   2	2
Row 3   3	3
Row 4   4	5
Row 5   5	8
Row 6   6	13
Row 7   7	21
Row 8   8	34
Row 9   9	55
Row 10  10	89
Row 11  11	147.74
Row 12  12	240.69
Row 13  13	392.11
Row 14  14	638.79
Row 15  15	1040.67</pre>
<p>To get an idea of how well the TREND() and GROWTH() projections work, I created some charts plotting the projected values against the real values. In <a href="http://www.madmarvonline.com/downloads/statistics.pdf">this example</a> I used Fibonacci numbers as a pattern to fit a regression line.</p>
<p>You can see from the charts that the exponential regression works much better than linear regression for fitting this data set. If LOGEST() had some more data points to work with, the slope of the regression line would go to phi.</p>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-statistical-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel Tutorial:  Sorting and Filtering</title>
		<link>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-sorting-and-filtering/</link>
		<comments>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-sorting-and-filtering/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 07:25:52 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/?p=7</guid>
		<description><![CDATA[Sorting Let&#8217;s say you have the following table A B C D E F G 1 TICKER EPS ROE D/E P/E P/S YIELD 2 HIYLD $0.75 12% 0.1 20.0 2.0 5% 3 NOGRW $2.00 7% 0.8 12.0 1.5 2% 4 BKRPT $(1.50) -35% -5.0 N/A 0.8 0% 5 BGBKS $3.25 27% 0.0 20.0 3.0 0% [...]]]></description>
			<content:encoded><![CDATA[<p>Sorting</p>
<p>Let&#8217;s say you have the following table</p>
<pre style="font-family: Verdana,Arial,sans serif">   A	        B       C        D        E         F       G</pre>
<pre style="font-family: Verdana,Arial,sans serif">1 TICKER   EPS	 ROE     D/E	P/E	 P/S     YIELD
2 HIYLD	    $0.75  12%    0.1	20.0	  2.0	  5%
3 NOGRW	 $2.00    7%	0.8   12.0	1.5	2%
4 BKRPT	 $(1.50) -35%  -5.0    N/A	0.8	0%
5 BGBKS	  $3.25   27%	 0.0   20.0	3.0	0%
6 TASUX	   $0.01    2%	  0.3	85.0	  7.0	  0%
7 LOWBV	  $0.25   30%	0.0    16.0	1.7	1%</pre>
<p>Say you want to sort this table by ticker symbol. Highlight the entire table (A1:G7) and start the sort command (Data &#8211;&gt; Sort&#8230;). A popup window will appear and Excel should have anticipated that you have a header row (Row A). Excel will then ask by which column you wish to sort by. Excel, at least in the &#8217;97 version, allows up to three levels of sorting (i.e. start w/ TICKER, then any duplicates by EPS, and then a third tier of duplicates by ROE).</p>
<p>Each sorting criteria can sort by ascending or descending entries. If your data was entered such that you wanted to sort the rows, the pop-up window has an Options button that allows you to change the methodology from sorting columns to sorting rows.</p>
<p>When Excel sorts numeric and text data at the same time (for example if you wanted to sort the above table by P/E), Excel will list the numeric data first then the text.</p>
<p><strong>Filtering</strong></p>
<p>Using the same example table, let&#8217;s try filtering it. Highlight A1:G7 and start the Autofilter command (Data &#8211;&gt; Filter &#8211;&gt; Autofilter). The header row will become a drop down box. You may filter the table using any column&#8217;s drop down box. You may choose to filter for:</p>
<p>1. A specific entry in the column.<br />
2. The top X entries. By default, the X is 10, but it is customizable.<br />
3. A custom filter to search through the data that meets specific criteria.</p>
<p>Say you wanted to filter for all ROE &gt; 10%. Click on the drop down box in cell C1 and choose (Custom&#8230;). This will bring up a pop-up window. Choose &#8220;Is greater than&#8230;&#8221; in the first drop down box and type 10% in the second box. Click enter to execute the custom filter. Notice that Excel has not deleted any of the data, it has merely hidden the rows that do not meet the filter criteria. If you wish to remove any filter, click on the appropriate header drop down box and choose (All).</p>
<p>To remove all filtering use Data &#8211;&gt; Filter &#8211;&gt; Show All.</p>
<p><strong>Importing Data</strong><br />
Excel can open more than spreadsheet files. It can also read in text files, word documents, HTML, etc. However, Excel may have trouble integrating the data into the cell structure. When Excel has such a problem, it will ask how it should parse the data. There are two ways that the data can be split:</p>
<p>1. Delimited &#8211; Excel will look for a special character in the text and break the text into a new column whenever it encounters the charcter. These are usually tabs, commas, or spaces but Excel allows just about any delimiter if it is instructed to do so.</p>
<p>2. Fixed width &#8211; Excel will count a fixed number of characters and put them into a column regardless of where that break will fall in the text file. Excel generates a preview of the document and shows where the fixed width column break will cut the text.</p>
<p>Generally if you can control how the data file is created, it is easier to use Delimited to separate the data into columns.</p>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-sorting-and-filtering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel Tutorial: Financial functions</title>
		<link>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-financial-functions/</link>
		<comments>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-financial-functions/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 07:22:42 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/?p=6</guid>
		<description><![CDATA[I&#8217;m reposting some of my articles I wrote during a spreadsheet education project on The Motley Fool. The complete thread can be found here (Guest registration required for non-members): Here are some of the most commonly used financial functions in Excel for investing. They are not the only financial functions that can be found in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m reposting some of my articles I wrote during a spreadsheet education project on The Motley Fool. The complete thread can be found <a href="http://boards.fool.com/Message.asp?mid=20214370&amp;sort=whole">here</a> (Guest registration required for non-members):</p>
<p>Here are some of the most commonly used financial functions in Excel for investing. They are not the only financial functions that can be found in Excel. I am just filtering the ones I think are most useful for investors. All of the financial functions are basically derived from the compound interest formula:</p>
<p><strong>Future_Value = Present_Value * (1 + Interest_Rate) ^ Time</strong></p>
<p>For example, $1000 is deposited in a 5-year CD earning 5% compounded annually. Over the next five years the balance would be:</p>
<pre style="font-family: Verdana,Arial,sans serif">
Year 1: $1000.00 * (1 + 5%) = $1050.00
Year 2: $1050.00 * (1 + 5%) = $1102.50
Year 3: $1102.50 * (1 + 5%) = $1157.63
Year 4: $1157.63 * (1 + 5%) = $1215.51
Year 5: $1215.51 * (1 + 5%) = $1276.28</pre>
<p>Now, instead of going through the calculation for each year, the ending value at Year 5 could have been calculated from the compound interest formula:</p>
<pre style="font-family: Verdana,Arial,sans serif">
$1000 * (1 + 5%) ^ 5 = $1000 * 1.27628 = $1276.28</pre>
<p>The compound interest formula can be tweaked to work with more frequent compounding (say monthly or quarterly) by adjusting the Interest_Rate and Time values accordingly.</p>
<p><strong>Monthly compounding:</strong></p>
<pre style="font-family: Verdana,Arial,sans serif">
Future_Value = Present_Value * (1 + (Interest_Rate / 12)) ^ (Time * 12)
$1000 * (1 + 5%/12) ^ (5*12) = $1000 * 1.28336 = $1283.36</pre>
<p><strong>Quarterly compounding:</strong></p>
<pre style="font-family: Verdana,Arial,sans serif">
Future_Value = Present_Value * (1 + (Interest_Rate / 4)) ^ (Time * 4)
$1000 * (1 + 5%/4) ^ (5*4) = $1000 * 1.28204 = $1282.04</pre>
<p>Incidentally, if the splitting of compounding periods is taken to its extreme (i.e. continuous compounding), the compound interest formula becomes the exponential growth formula e ^ Interest_Rate * Time.</p>
<pre>$1000 * e ^ (5% * 5) = $1000 * 1.28403 = $1284.03</pre>
<p>In Excel, the compound interest equation is made into several related functions. Each function will solve for a missing variable if given enough of the other variables. Think of it as a family of functions where one function will solve for C when given A, B &amp; D. Another function can solve for B if given A, C &amp; D, and yet another will solve for D given A, B &amp; C.</p>
<pre style="font-family: Verdana,Arial,sans serif">
=PV(<strong>rate,nper</strong>,pmt,fv,type)        Present Value - calculates the principal amount of a loan.
=FV(<strong>rate,nper</strong>,pmt,pv,type)        Future Value - calculates the final value of a savings account.
=PMT(<strong>rate,nper,pv</strong>,fv,type)        Payment - calculates the periodic payment/deposit.
=NPER(<strong>rate</strong>,pmt,<strong>pv</strong>,fv,type)        Number of Payments - calculates the number of payments to
                                                 pay off a loan or the number of deposits to an account.
=RATE(<strong>nper</strong>,pmt,<strong>pv</strong>,fv,type,guess)  Interest Rate - calculates the interest rate of a
                                                      loan/savings account.</pre>
<p>The boldfaced items are the minimum required inputs for the function to work.</p>
<p>&#8220;Type&#8221; is optional and refers to when the payments are made, 0 for end of the period, 1 for the beginning. If the type is omitted, it is assumed to be 0. The rate and nper must be consistent with the timeframe. If annual payments are assumed, the straight NPER and RATE values can be used. If monthly payments are assumed, the RATE must be divided by 12 and the NPER multiplied by 12.</p>
<p>This family of functions is used to calculate, for example, the respective parts of a series of equal cashflows, such as monthly payments on a loan or the ending balance of a savings account.</p>
<p>Cash outflows (such as a withdrawal of funds from an account) are listed as negative, cash inflows (such as deposits) are positive. Keep in mind that the negative values are needed to offset the positive for the function to operate. Say you write a FV() function to calculate the expected balance of a savings account.</p>
<p>Annual $1000 deposits, 2% interest and 5 years are plugged in as</p>
<pre style="font-family: Verdana,Arial,sans serif">
=FV(2%,5,1000)</pre>
<p>The output is -$5,204.04, but don&#8217;t panic, this does not mean you lost money or have a bug in your formula. The negative value is necessary to the function because it needs to balance positive and negative cashflows. Your ending balance will be $5,204.04, but Excel will report the output of the FV() function as -$5,204.04. You will have to remember how the sign convention works.</p>
<p>Examples:<br />
You are considering a 30-year mortgage at 6% interest. If you wish to keep the monthly payment below $1000, how much can you borrow?</p>
<pre style="font-family: Verdana,Arial,sans serif">
=PV(0.06/12,30*12,-1000)
=$166,792</pre>
<p>If you needed $250,000, how much would the monthly payment be under the same terms?</p>
<pre style="font-family: Verdana,Arial,sans serif">
=PMT(0.06/12,30*12,250000)
=-$1,499</pre>
<p>If you deposited $100/month into a savings account at 2% interest, how long would it take to save $5000?</p>
<pre style="font-family: Verdana,Arial,sans serif">
=NPER(0.02/12,-100,0,5000)
=48.1</pre>
<p>If you were to save $125 instead of $100 how much would the account be worth at the end of 48 months?</p>
<pre style="font-family: Verdana,Arial,sans serif">
=FV(0.02/12,48,-125)
=$6,241</pre>
<p>If you bought a $100k annuity that paid $12k a year 10 years, what is the interest rate?</p>
<pre style="font-family: Verdana,Arial,sans serif">
=RATE(10,-12000,100000)
=3.46%</pre>
<p><strong>Internal Rate of Return</strong><br />
IRR(<strong>values</strong>,guess)<br />
XIRR(<strong>values,dates</strong>,guess)</p>
<p>These functions are often used in determining the performance of a portfolio with cash inflows and outflows. A portfolio that is setup with a single deposit and is allowed to grow without additions or withdrawals can be measured using the PV/FV family of functions. When multiple cashflows are involved, it gets a bit trickier. Excel can solve these types of problems with IRR() and XIRR(). These functions are iterative, meaning the solution is calculated through trial and error.</p>
<p>IRR() is used for cashflows that fall into regular intervals, usually annual.</p>
<p>XIRR() is used for irregular cashflows the corresponding date for each cashflow must be entered. XIRR() may not be installed in the default Excel installation. If you get #NAME? as the result of the XIRR() function, it means that XIRR() has not been installed. To install XIRR(), go to the Tools menu, pick Add-Ins&#8230; and make sure Analysis Toolpak is installed.</p>
<p>The guess part of the function is optional. If it is not entered it is assumed to be 0.1.</p>
<p>Excel calculates the IRR/XIRR by trial and error and the guess is only to give Excel a starting point.</p>
<p>Example: A $10k stock portfolio is bought on 1/1/2004. Dividend payments are received at the start of each subsequent year according to the table below.</p>
<pre style="font-family: Verdana,Arial,sans serif">
1/1/2005   500
1/1/2006   750
1/1/2007   650
1/1/2008   700
1/1/2009   750</pre>
<p>On 1/1/2009 the portfolio is liquidated for $13k. The return on the portfolio is calculated with the IRR() &amp; XIRR() functions. The dates are listed in Column A, cashflows are in Column B.</p>
<pre style="font-family: Verdana,Arial,sans serif">
           Col A        Col B
Row 1  1/1/2004  -10000
Row 2  1/1/2005       500
Row 3  1/1/2006       750
Row 4  1/1/2007       650
Row 5  1/1/2008       700
Row 6  1/1/2009    13750
                   =IRR(B1:B6)
                   =XIRR(B1:B6,A1:A6)</pre>
<p>The result of the IRR() function is 11.38%, the result of XIRR() is 11.37%. The difference is due to leap years. Below is the same example with different dates for dividend payments.</p>
<p>Note that IRR() cannot be used at all in this example.</p>
<pre style="font-family: Verdana,Arial,sans serif">
            Col A        Col B
Row 1    1/1/2004  -10000
Row 2  2/14/2004       500
Row 3  3/15/2005       750
Row 4    4/1/2006       650
Row 5    7/4/2007       700
Row 6 10/31/2008       750
Row 7    1/1/2009    13000
                  =XIRR(B1:B7,A1:A7)</pre>
<p>The result is 11.81%.</p>
<p><strong>Net Present Value</strong><br />
NPV(rate,value1,value2,&#8230;) &amp; XNPV(rate,values,dates)</p>
<p>Similar to the PV() function, these functions calculate a series of unequal cash flows. NPV() calculates the cashflows assuming a regular interval, XNPV calculates them at irregular intervals. &#8220;rate&#8221; in this case refers to the discount rate and is assumed to be constant throughout the calculation. In practice the discount rate should be your assumed rate of return + a safety factor. This is the main function used in discounted cash flow analyses.</p>
<p>Examples:</p>
<p>The intrinsic value (IV) of a security is the discounted sum of all future cashflows. This is usually done with a two-stage growth model. The first stage is the defined or explicit growth period where the cashflows and growth rates can vary from year to year. The second stage is the terminal or residual growth period where a constant growth rate is assumed. Typically the first stage runs for 10 years and all later years use the 10th year&#8217;s cash flow as a base for the future projection.</p>
<p>The cashflows for our example company from Years 1 &#8211; 10 are explicitly determined and shown in the table below. Years 11 and on are estimated by taking Year 10&#8242;s cashflow and growing it into perpetuity at a constant rate. A 12% discount rate is assumed.</p>
<pre style="font-family: Verdana,Arial,sans serif">
          Year      Cashflow
          Col A     Col B
Row 1    1        $1.00
Row 2    2        $1.20
Row 3    3        $1.33
Row 4    4        $1.45
Row 5    5        $1.28
Row 6    6        $1.56
Row 7    7        $1.68
Row 8    8        $1.82
Row 9    9        $1.75
Row 10   10       $2.00</pre>
<p>The cashflow from each year could be discounted individually in Column C using =B1/(1+.12)^A1,<br />
=B2/(1+.12)^A2, etc. but Excel has a function, NPV(), that can sum the cashflows in a single equation.</p>
<p>The NPV of the 10 years is:<br />
=NPV(0.12,B1:B10)<br />
=$8.00</p>
<p>For Years 11+, a 5% growth rate is assumed. Excel does not have a function to calculate a perpetuity but luckily the algebra for this infinite series is very simple, lol. Here&#8217;s a <a href="http://boards.fool.com/Message.asp?mid=10418078">link</a> (Note: Guest registration required) to a post that goes through the math.</p>
<p>Year 10&#8242;s FCF/share is $2.00. The Year 10 value of the perpetuity is</p>
<pre style="font-family: Verdana,Arial,sans serif">
=2.00*(1+0.05)/(0.12-0.05)
=$30.00</pre>
<p>This is not the PV of the perpetuity. The equation used to solve the perpetuity calculates an equivalent single cashflow at Year 10. This needs to be discounted back to the present using the following equation.</p>
<pre style="font-family: Verdana,Arial,sans serif">
=30/(1+0.12)^10
=$9.66</pre>
<p>Adding it to the discounted cashflows from Years 1 &#8211; 10 yields 9.66 + 8.00 = 17.66</p>
<p>It may be easier to visualize the two parts of the DCF analysis with this <a href="http://madmarvonline.com/downloads/DCF.pdf">chart</a>.</p>
<p>The residual growth period theoretically goes on into infinity and so does the growth, but as you can see the discounted value of the cashflow shrinks to an infinitesimal amount. In practice the cashflows from the first dozen years or so will be equal to about half the IV.</p>
<p>The first 20 years captures about two-thirds to three-fourths and the first 50 years captures 90%+ of the IV depending on the discount rate chosen.</p>
<p>Yield &#8211; YIELD (<strong>settlement,maturity,rate,pr,redemption,frequency</strong>,basis)<br />
This function calculates the yield of bond. Settlement is the purchase date, maturity is the maturity date. Rate is the annual coupon rate (the interest rate you get if you buy the bond at par value). Redemption is the redemption price per $100 face value (i.e. a $99 redemption price is equal to $990 on a $1000 bond). Frequency refers to how many interest payments are made per year. Basis is optional and refers to how days our counted (i.e. 30 days per month, 360 per year).</p>
<p>The true yield of a bond over its lifetime (otherwise known as the Yield to Maturity or YTM) is somewhat difficult to calculate because the price of a bond fluctuates and the bond has a limited lifespan. For example take a bond w/ $1000 face value and 5% coupon rate paid semi-annually has a 5-year maturity. Half way through the first year the bond&#8217;s price on the open market is $1025 because interest rates have changed since the bond was issued. A bond investor buying at $1025 may have a current yield of 50/1025 = 4.88% but when the bond matures the investor will only get back $1000, not the $1025 paid on the open market. The YTM is somewhat lower and can be calculated with the YIELD().</p>
<pre style="font-family: Verdana,Arial,sans serif">
=YIELD("1/1/04","1/1/09",5%,102.5,100,2)
=4.44%</pre>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-financial-functions/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Excel Tutorial: Math functions</title>
		<link>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-math-functions/</link>
		<comments>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-math-functions/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 07:13:05 +0000</pubDate>
		<dc:creator>madmarv</dc:creator>
				<category><![CDATA[Investing]]></category>

		<guid isPermaLink="false">http://madmarvonline.com/blog/?p=5</guid>
		<description><![CDATA[I&#8217;m reposting some of my articles I wrote during a spreadsheet education project on The Motley Fool. The complete thread can be found here (Guest registration required for non-members): Arithmatic =SUM(A1:A6) Adds the contents of cells A1 thru A6. =SUM(A1:A3,-A5) Adds the contents of cells A1, A2, A3 &#38; subtracts A5. =PRODUCT(A1:A6) Multiplies the contents [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m reposting some of my articles I wrote during a spreadsheet education project on The Motley Fool.  The complete thread can be found <a href="http://boards.fool.com/Message.asp?mid=20209336&amp;sort=whole">here </a>(Guest registration required for non-members):</p>
<p><strong>Arithmatic</strong></p>
<pre style="font-family: Verdana,Arial,sans serif">
=SUM(A1:A6)           Adds the contents of cells A1 thru A6.

=SUM(A1:A3,-A5)     Adds the contents of cells A1, A2, A3 &amp; subtracts A5.

=PRODUCT(A1:A6)   Multiplies the contents of A1 thru A6.

=PRODUCT(A1:B3)   Multiplies the contents of A1, A2, A3, B1, B2, &amp; B3.

=QUOTIENT(A1,A2)  Divides A1 by A2.

=POWER(A1,A2)      Raises A1 to the A2 power.

=SQRT(A1)              Takes the square root of A1.</pre>
<p><strong>Irrational numbers. </strong>Excel also has some special functions for common irrational numbers.</p>
<pre style="font-family: Verdana,Arial,sans serif">
=PI()                   pi (3.14...), returns pi accurately to 15 digits

=EXP(power)        e  (2.71...), returns e raised to the specified power</pre>
<p><strong>Trigonometry functions.</strong> Note that the inputs for all trig functions must be in radians, not degrees. Excel has functions that can convert degrees to radians and vice versa.</p>
<pre style="font-family: Verdana,Arial,sans serif">
=SIN(angle)           sine

=COS(angle)          cosine

=TAN(angle)          tangent

=ASIN(number)     arcsine

=ACOS(number)    arccosine

=ATAN(number)    arctangent

=RADIANS(angle)  degrees -&gt; radians

=DEGREES(angle)  radians -&gt; degrees</pre>
<p>Hyperbolic trig functions are similar, just add an H to the end of the function name.</p>
<p><strong>Rounding.</strong> Excel has an large selection of rounding functions.</p>
<pre style="font-family: Verdana,Arial,sans serif">
=ROUND(number,decimals)      Rounds a number to the specified number of decimals.
                                              Negative decimal places are possible if you want to round
                                              to the nearest 10, 100, etc.

=ROUNDUP(number,decimals)    Rounds up instead of to the nearest decimal.

=ROUNDDOWN(number,decimals)  Rounds down instead of to the nearest decimal.

=INT(number)                   Rounds down to the nearest integer.

=EVEN(number)                Rounds up to the nearest even integer.  If a negative number
                                       is entered, it rounds away from 0.

=ODD(number)                 Rounds up to the nearest even integer.  If a negative number
                                       is entered, it rounds away from 0.

=MROUND(number,multiple)     Rounds to the desired multiple.

=TRUNC(number,decimals)      Cuts off or truncates all decimal places after the specified number</pre>
<p><strong>Other functions</strong></p>
<pre style="font-family: Verdana,Arial,sans serif">
=FACT(number)        Factorial (example:  =FACT(5) is 5 * 4 * 3 * 2 * 1)

=ABS(number)          Returns the absolute value of a number

=LOG(number,base)  Returns the logarithm of a number to a specified base

=LN(number)            Returns the natural log (i.e. to the base e) of a number

=LOG10(number)      Returns the log to the base 10 of a number</pre>
]]></content:encoded>
			<wfw:commentRss>http://madmarvonline.com/blog/2007/02/14/excel-tutorial-math-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.646 seconds -->
