<?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/"
	>

<channel>
	<title>Numbers Templates &#187; Formulas</title>
	<atom:link href="http://www.numberstemplates.com/category/formulas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.numberstemplates.com</link>
	<description>Templates, Tips, and Tricks for Apple's Numbers Spreadsheet</description>
	<lastBuildDate>Sat, 07 Jan 2012 03:25:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Tip: Formula to Format Telephone Numbers</title>
		<link>http://www.numberstemplates.com/2007/11/07/tip-formula-to-format-telephone-numbers/</link>
		<comments>http://www.numberstemplates.com/2007/11/07/tip-formula-to-format-telephone-numbers/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 04:26:03 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Formulas]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[iwork]]></category>
		<category><![CDATA[numbers]]></category>

		<guid isPermaLink="false">http://www.numberstemplates.com/2007/11/07/tip-formula-to-format-telephone-numbers/</guid>
		<description><![CDATA[I just found this great formatting tip over on the Apple Numbers discussion boards. A poster had the following problem: He had a series of phone numbers formatted as 10 digits (i.e. 5035551212). He wanted to re-format the numbers to read as (503) 555-1212. 5&#124;=vv (who is also a frequent poster on our forums) provided [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I just found this great formatting tip over on the <a href="http://discussions.apple.com/thread.jspa?threadID=1221088&amp;tstart=0" title="Apple Numbers Boards" target="_blank">Apple Numbers discussion boards</a>.  A poster had the following problem:</p>
<p>He had a series of phone numbers formatted as 10 digits (i.e. 5035551212).  He wanted to re-format the numbers to read as (503) 555-1212.</p>
<p>5|=vv (who is also a frequent poster on our forums) provided the answer &#8211; with a little help from WWJD.</p>
<p>The solution is the following formula:</p>
<p>=&#8221;(&#8220;&amp;LEFT(A2,3)&amp;&#8221;) &#8220;&amp;MID(A2,4,3)&amp;&#8221;-&#8221;&amp;RIGHT(A2,4)</p>
<p>Where cell A2 is the value to be converted.</p>
<p align="center"><img src="/images/phone.jpg" alt="Apple iWork Numbers Screen Shot" height="92" width="500" /></p>
<p>Let&#8217;s analyze the formula in three steps (as in the screen shot above, our value in cell A2 is 3349967444):</p>
<p>1) =&#8221;(&#8220;&amp;LEFT(A2,3)&amp;&#8221;)&#8221;</p>
<p>First, the = sign is used to let Numbers know that this is a formula.  Then, &#8220;(&#8220;, inserts an open parentheses, it is enclosed in quotes to indicate to Numbers that it is text.  Next, an Ampersand (&amp;) is used as a shortcut for the <a href="http://www.numberstemplates.com/functions-reference/concatenate/" title="Apple iWork Numbers CONCATENATE function">CONCATENATE</a> function.  This function allows the user to link together text and function results into a string.</p>
<p>The next portion is LEFT(A2,3).  The <a href="http://www.numberstemplates.com/functions-reference/left/" title="Apple iWork Numbers left function">LEFT</a> function retrieves a specified number of characters from the left end of a string.  The format is LEFT(text, [length]).  In this case the formula is referencing cell A2, and counting 3 spaces over. The value returned is 334.</p>
<p>Finally, the CONCATENATE function is used again, to link &#8220;) &#8221; to the string.  Notice that there is a space intentionally inserted after the close parenthesis, before the closing quote.  The result of these operations is: (334) .</p>
<p>2) &amp;MID(A2,4,3)&amp;&#8221;-&#8221;</p>
<p>The next portion of the formula uses the <a href="http://www.numberstemplates.com/functions-reference/mid/" title="Apple iWork Numbers MID function">MID</a> function.  The MID function extracts a specified number of characters from a string starting at a specified position.  The format is MID(text, start, length).  In the formula above, cell A2 contains the text, the starting position is 4, and the length is 3.  How did 5|=vv know to use 4 as the starting position?  He had already extracted the first 3 characters with the first portion of the formula (with the LEFT function), so to continue, he started with the next position in the string, 4.  We need the need the next 3 numbers, so the length is 3.</p>
<p>Again the CONCATENATE shortcut (&amp;) is used to join a hyphen to the string &#8220;-&#8221;.  This section of the formula gives us: 996-.  When we put this together with the results of the first formula, we get: (334) 996-.  Almost there!</p>
<p>3) &amp;RIGHT(A2,4)</p>
<p>If you have made it this far, you can probably infer what this last function does.  The <a href="http://www.numberstemplates.com/functions-reference/right/" title="Apple iWork Numbers RIGHT function">RIGHT</a> function extracts a specified number of characters from the right end of a string.  The format is RIGHT(text, [length]).  Again, our text is in cell A2, and since we only need the last four characters of the string, the length is 4.</p>
<p>In our example above, the formula returns 7444.</p>
<p>Putting all three sections together, we get (334) 996-7444, which is the exact format that we desired.</p>
<p>Thanks 5|=vv.</p>
<p align="center">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Do you have a cool tip or formula to share?  Join us in the <a href="http://www.numberstemplates.com/forums/" title="Apple iWork Numbers forum">forums</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numberstemplates.com/2007/11/07/tip-formula-to-format-telephone-numbers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Formulas: Calculating Compound Annual Growth Rate (CAGR) in Numbers</title>
		<link>http://www.numberstemplates.com/2007/08/17/formulas-calculating-compound-annual-growth-rate-cagr-in-numbers/</link>
		<comments>http://www.numberstemplates.com/2007/08/17/formulas-calculating-compound-annual-growth-rate-cagr-in-numbers/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 19:01:44 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Formulas]]></category>

		<guid isPermaLink="false">http://www.numberstemplates.com/2007/08/17/formulas-calculating-compound-annual-growth-rate-cagr-in-numbers/</guid>
		<description><![CDATA[The compound annual growth rate measures the growth rate of an investment as if it grew at a steady rate over time. For example, a savings account that pays a 3.00% APY will grow at three percent, year after year, until the bank changes the rate. Therefore, the CAGR on the savings account would be [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The compound annual growth rate measures the growth rate of an investment as if it grew at a steady rate over time.</p>
<p>For example, a savings account that pays a 3.00% APY will grow at three percent, year after year, until the bank changes the rate.  Therefore, the CAGR on the savings account would be 3.00%.  Simple.  But, what if you bought a stock for $10 per share three years ago, and it is now worth $15.  What is your gain?  50% right? 15-10/10 = .5.  The 50% is your overall gain, but your money was tied up for 3 years.  What was your <em>annual</em> rate of return.  You can use CAGR to calculate to calculate this.</p>
<p>For this example we will have three inputs:  beginning-value, ending-value, and number-of-years.</p>
<p>The formula for calculating CAGR is:<br />
=((ending-value/beginning-value)^(1/number-of-years))-1</p>
<p>If you plug in our numbers from the stock example, $10 growing to $15, over a three year period, gives you a 14.47% compounded annual return.  You could then use this number to compare your return to what the broad market averages returned during the same time frame.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numberstemplates.com/2007/08/17/formulas-calculating-compound-annual-growth-rate-cagr-in-numbers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

