<?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; Functions</title>
	<atom:link href="http://www.numberstemplates.com/category/functions/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>Functions: Text Related Functions in Apple iWork Numbers</title>
		<link>http://www.numberstemplates.com/2007/09/04/functions-text-related-functions-in-apple-iwork-numbers/</link>
		<comments>http://www.numberstemplates.com/2007/09/04/functions-text-related-functions-in-apple-iwork-numbers/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 02:01:30 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://www.numberstemplates.com/2007/09/04/functions-text-related-functions-in-apple-iwork-numbers/</guid>
		<description><![CDATA[Text in a spreadsheet is not very useful unless you can do something with it. Fortunately, Numbers provides several functions for working with text. Here is a quick look at some of the most useful text functions: CONCATENATE(string1, string2, [string3,â€¦]) Joins strings. Note: You can also use &#38; (Ampersand) to join strings. Usage: LEFT(text, [length]) [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Text in a spreadsheet is not very useful unless you can do something with it.  Fortunately, Numbers provides several functions for working with text.</p>
<p>Here is a quick look at some of the most useful text functions:</p>
<h3>CONCATENATE(string1, string2, [string3,â€¦])</h3>
<p>Joins strings.  Note: You can also use &amp; (Ampersand) to join strings.</p>
<p><strong>Usage:</strong><br />
<img src="/images/concatenate.jpg" /></p>
<h3>LEFT(text, [length])</h3>
<p>Retrieves the specified number of characters from the left end of a string.</p>
<h3>MID(text, start, length)</h3>
<p>Extracts characters from a string starting at a specified position.</p>
<h3>RIGHT(text, [length])</h3>
<p>Retrieves the specified number of characters from the right end of a string.</p>
<p><strong>Usage:</strong><br />
<img src="/images/left-mid-right.jpg" /></p>
<p>There are many other text related functions which you can reference in the Numbers documentation.</p>
<p>Keep exploring!</p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.numberstemplates.com/2007/09/04/functions-text-related-functions-in-apple-iwork-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips:  How to Create In-Cell Charts With Apple iWork Numbers</title>
		<link>http://www.numberstemplates.com/2007/08/29/tips-how-to-create-in-cell-charts-with-apple-iwork-numbers/</link>
		<comments>http://www.numberstemplates.com/2007/08/29/tips-how-to-create-in-cell-charts-with-apple-iwork-numbers/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 17:40:50 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.numberstemplates.com/2007/08/29/tips-how-to-create-in-cell-charts-with-apple-iwork-numbers/</guid>
		<description><![CDATA[I found an interesting technique a while back on the Juice Analytics site, that works well in Numbers. The technique uses the REPT Function, to create neat in-cell graphs. The Numbers manual defines REPT as: REPT(text, copies) text: The text expression to be repeated. copies: The number of times text is repeated. For example: REPT(&#8220;x&#8221;,10) [...]]]></description>
			<content:encoded><![CDATA[<p></p><p align="center"><img src="/images/incell-graph" /></p>
<p>I found an interesting technique a while back on the <a href="http://www.juiceanalytics.com/writing/2006/07/lightweight-data-exploration-in-excel/" title="Juice Analytics" target="_blank">Juice Analytics</a> site, that works well in Numbers.</p>
<p>The technique uses the REPT Function, to create neat in-cell graphs.</p>
<p>The Numbers manual defines REPT as:</p>
<blockquote><p>REPT(text, copies)</p>
<ul>
<li>          text:  The text expression to be repeated.</li>
<li>copies:  The number of times text is repeated.</li>
</ul>
</blockquote>
<p>For example:  REPT(&#8220;x&#8221;,10) gives you &#8220;xxxxxxxxxx&#8221;.</p>
<p>Let&#8217;s look at a &#8220;real world&#8221; example.  I want to show quick graphic of Major League Baseball home run leaders through 8/28/2007.  I grabbed the stats off the web, then created three columns.  The first column was player name, the second was number of home runs year to date, and the third was reserved for my formula.  I pasted in my players, and home run numbers, then input my formula.</p>
<p>The formula was, REPT(&#8220;[apple symbol]&#8220;,  number of home runs)</p>
<p><img src="/images/incell-graph-formula.jpg" /></p>
<p>There are a number of symbols that look good in the in-cell charts, the lowercase &#8220;o&#8221; or &#8220;|&#8221; for instance.</p>
<p>Another idea, if the number of items you are charting is large, is to only repeat a percentage of the text.  For instance:</p>
<p>REPT(text,(copies*.5))</p>
<p>This will reduce the number of repeated text items by half.</p>
<p>You can download an example sheet below.</p>
<p><a href="/files/incell-graph.zip" onclick=pageTracker._trackPageview('files/incell-graph.zip');"><img src="/images/download.png"></a><a href="/files/incell-graph.zip" onclick=pageTracker._trackPageview('files/incell-graph.zip);">Download Incell Graph Template for Numbers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.numberstemplates.com/2007/08/29/tips-how-to-create-in-cell-charts-with-apple-iwork-numbers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Functions: DATEDIF</title>
		<link>http://www.numberstemplates.com/2007/08/17/functions-datedif/</link>
		<comments>http://www.numberstemplates.com/2007/08/17/functions-datedif/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 11:00:04 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://www.numberstemplates.com/2007/08/17/functions-datedif/</guid>
		<description><![CDATA[Note: This post should hold true for both Numbers, and Excel, as the functions are identical. The DATEDIF function finds the number of days, months, or years between two dates. The format is DATEDIF(start-date, end-date, method) - start-date and end-date are self explanatory - method has several options: &#8220;D&#8221; &#8211; counts the days between the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Note: This post should hold true for both Numbers, and Excel, as the functions are identical.</p>
<p>The DATEDIF function finds the number of days, months, or years between two dates.</p>
<p>The format is DATEDIF(start-date, end-date, method)<br />
- start-date and end-date are self explanatory<br />
- method has several options:<br />
&#8220;D&#8221; &#8211; counts the days between the dates.<br />
&#8220;M&#8221; &#8211; counts the months between the dates.<br />
&#8220;Y&#8221; &#8211; counts the years between the dates.<br />
&#8220;MD&#8221; &#8211; counts the days between the dates <em>as if they were in the same year</em><br />
&#8220;YM&#8221; &#8211; counts the months between the dates <em>as if they were in the same year</em><br />
&#8220;YD&#8221; &#8211; counts the months between the dates <em>as if they were in the same month <strong>and</strong> year</em></p>
<p>OK, let&#8217;s put it all together for a real-word example.  We are going to create a function that calculates a users current age from their birthday.  Before we go through the example, I need to introduce two addition functions: 1) NOW(), returns today&#8217;s date. 2) Concatenate, joins two or more strings of text.  You can use &#8220;&amp;&#8221; as a shortcut for this function.</p>
<p>First, open a new sheet, and enter the word &#8220;Birthday:&#8221; in cell A1 of your table, in cell B2 enter &#8220;Your Age:&#8221;<br />
Next, format cell B1 as a date, and enter your date of birth in the cell.<br />
Finally, we will enter our formula in cell B2.  Type the following:</p>
<p>=DATEDIF(B1,NOW),&#8221;Y&#8221;)&amp;&#8221; Years,&#8221;&amp; DATEDIF(B1,NOW(),&#8221;YM&#8221;)&amp;&#8221; Months, &#8220;&amp; DATEDIF(B1,NOW(),&#8221;MD&#8221;)&amp; &#8221; Days&#8221;</p>
<p>Now you should see something like the screenshot below.</p>
<p><img src="/images/DATEDIF-Example.jpg" alt="/images/DATEDIF-Example.jpg" /></p>
<p>Let&#8217;s take a closer look at our formula.  It contains three DATEDIF functions, concatenated together with some text.  All of the functions use the entered birthdate, B1, as the start-date, and the NOW() function is used as end-date. The first instance uses the &#8220;Y&#8221; method to determine the number of years elapsed since the birthdate, the second function uses the &#8220;YM&#8221; method to determine the number of months elapsed since the birthdate.  The third function use the &#8220;MD&#8221; method to determine the number of days since the birthdate.</p>
<p>That&#8217;s the DATEDIF function in a nutshell.</p>
<p>For practice, you may consider altering the formula to create a sheet that determines how old you will be on a future date.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numberstemplates.com/2007/08/17/functions-datedif/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

