<?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>Glen Turpin: The Identity Question &#187; spreadsheet</title>
	<atom:link href="http://www.glenturpin.com/tag/spreadsheet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glenturpin.com</link>
	<description>Who am I? Why am I here? What's this all about?</description>
	<lastBuildDate>Wed, 01 Sep 2010 01:21:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google charts: Good, bad and ugly</title>
		<link>http://www.glenturpin.com/2009/11/google-charts-good-bad-and-ugly/</link>
		<comments>http://www.glenturpin.com/2009/11/google-charts-good-bad-and-ugly/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 04:14:03 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[google docs]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://www.glenturpin.com/?p=1630</guid>
		<description><![CDATA[In my previous post, I wanted to quickly chart some simple data for display in the post. I don&#8217;t use Excel at home, so my choices were limited to what&#8217;s available in Google Docs. I&#8217;d used the chart features in Google Docs many times, but only for my own reference, so I&#8217;d never really cared [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post, I wanted to quickly chart some simple data for display in the post. I don&#8217;t use Excel at home, so my choices were limited to what&#8217;s available in Google Docs. I&#8217;d used the chart features in Google Docs many times, but only for my own reference, so I&#8217;d never really cared what they look like before. When looks matter, Google Docs charts can be frustrating.</p>
<h2>Google Docs Chart</h2>
<p>I started with the default Google Docs pie chart. (In a Google Docs spreadsheet, Insert &gt; Chart.) It has relatively few options and no control over the colors, font or type size. In a spreadsheet, the chart is adequate, but the text is rendered with a different font that I don&#8217;t like. Conclusion: Passable but not desirable.</p>
<p><img src="http://spreadsheets.google.com/oimg?key=0Am_ZtqRA3feFdHVnaTJJWl9iZTZYdk1CZzRQRXFDSEE&amp;oid=12&amp;v=1257563179628" alt="" /></p>
<h2>Google Docs Gadgets</h2>
<p>Next, I looked at the three Google Docs pie chart gadgets (In a Google Docs spreadsheet, Insert &gt; Gadget.) which were initially promising. One of the pie chart gadgets looks functionally identical to the previous one, but when it&#8217;s rendered as an image it has a frame and a Google Docs logo. It renders with the correct font, which is good, but I didn&#8217;t want the frame. Conclusion: Keep trying.</p>
<p><script src="http://spreadsheets.google.com/gpub?url=http%3A%2F%2Fv863dfckddjmraoq2ahco3qirif7g9on.spreadsheets.gmodules.com%2Fgadgets%2Fifr%3Fup__table_query_url%3Dhttp%253A%252F%252Fspreadsheets.google.com%252Ftq%253Frange%253DA1%25253AB6%2526headers%253D-1%2526key%253D0Am_ZtqRA3feFdHVnaTJJWl9iZTZYdk1CZzRQRXFDSEE%2526gid%253D1%2526pub%253D1%26up_title%3DPosts%2520by%2520Category%2520-%2520Docs%2520Gadget%26up_chartTitle%3DPosts%2520by%2520Category%2520-%2520Docs%2520Gadget%26up_legend%3D0%26up_3d%3D0%26up__table_query_refresh_interval%3D300%26url%3Dhttp%253A%252F%252Fwww.google.com%252Fig%252Fmodules%252Fpie-chart.xml&amp;height=344&amp;width=450"></script> There&#8217;s a second pie chart gadget by Google that has similar controls but renders with different colors and in a different type size, along with a border like the previous one. To my eye, the colors don&#8217;t go well together and the border feels too tight &#8212; so tight that there&#8217;s no white space between the legend and the border. Finally, the title doesn&#8217;t render as part of the image. Conclusion: Hell, no.</p>
<p><script src="http://spreadsheets.google.com/gpub?url=http%3A%2F%2Fn2fintuaj6jb8ecu0prtfclcc917nna2.spreadsheets.gmodules.com%2Fgadgets%2Fifr%3Fup__table_query_url%3Dhttp%253A%252F%252Fspreadsheets.google.com%252Ftq%253Frange%253DA1%25253AB6%2526headers%253D-1%2526key%253D0Am_ZtqRA3feFdHVnaTJJWl9iZTZYdk1CZzRQRXFDSEE%2526gid%253D1%2526pub%253D1%26up_title%3DPosts%2520by%2520category%26up_3d%3D0%26up__table_query_refresh_interval%3D300%26url%3Dhttp%253A%252F%252Fwww.google.com%252Fig%252Fmodules%252Fimage-pie-chart.xml&amp;height=290&amp;width=450"></script></p>
<p>Finally, there&#8217;s the FusionCharts Pie &amp; Donut Widget by InfoSoft Global Ltd., which has many more controls than the other two, including font and type size, but it is perhaps the ugliest of the three, with a beveled circumference of the pie and a shaded background, poorly centered in a frame. There is a palette control, but that appears to affect the background and text color only, which is disappointing. Most annoyingly, displaying the editing panel for this gadget expands the rendering area, potentially resulting in an ultra-tall frame if you&#8217;re not careful.  Conclusion: This is the ugliest yet.</p>
<p><script src="http://spreadsheets.google.com/gpub?url=http%3A%2F%2Fi333u1dvihprfqnlo1om7p0tagd98dfc.spreadsheets.gmodules.com%2Fgadgets%2Fifr%3Fup__table_query_url%3Dhttp%253A%252F%252Fspreadsheets.google.com%252Ftq%253Frange%253DA1%25253AB6%2526headers%253D-1%2526key%253D0Am_ZtqRA3feFdHVnaTJJWl9iZTZYdk1CZzRQRXFDSEE%2526gid%253D1%2526pub%253D1%26up__table_query_refresh_interval%3D0%26up__tq_orientation%3Dc%26up_ct%3DPie2D%26up_c%3DPosts%2520by%2520Category%26up_sc%3DFusionCharts%2520Widget%26up_bani%3D0%26up_bvon%3D0%26up_blon%3D1%26up_bton%3D1%26up_bsap%3D0%26up_bspt%3D0%26up_bsl%3D0%26up__pr%3D%26up__psd%3Dnull%26up_pfx%3D%26up_sfx%3D%26up_bfn%3D0%26up_bsv%3D0%26up_d%3D0%26up__ptc%3D2%26up_f%3DHelvetica%26up_fs%3D10%26up_setsl%3D0%26url%3Dhttp%253A%252F%252Ffusioncharts.googlecode.com%252Fsvn%252Ftrunk%252FFusionChartsPie.xml&amp;height=398&amp;width=450"></script></p>
<h2>Google Chart API</h2>
<p>Finally, I decided to give the <a href="http://code.google.com/apis/chart/">Google Chart API</a> a shot. Unlike the Google Docs charts and gadgets, the API has no user interface, so you have to learn the syntax in order to use it, but I thought it was worth the effort to create something that was exactly what I wanted. Well, close enough to what I wanted. I&#8217;m still not thrilled with the results, but it was good enough to suit my purposes.</p>
<p>It&#8217;s not for the faint of heart, though, since you have to learn the syntax to pass the right parameters to the server in the URL, so this:</p>
<p>http://chart.apis.google.com/chart?cht=p&amp;chs=500&#215;240&amp;chtt=Posts+by+Category+-+Chart+API&amp;chd=t:30,23,22,14,12,5&amp;chl=Reputation|Identity|Influence|Meta|Tips|Miscellaneous</p>
<p>Becomes:<br />
<img src="http://chart.apis.google.com/chart?cht=p&amp;chtt=Posts+by+Category+-+Chart+API&amp;chd=t:30,23,22,14,12,5&amp;chs=500x240&amp;chl=Reputation|Identity|Influence|Meta|Tips|Miscellaneous" alt="Posts by Category - Chart API" /></p>
<p>I was generally pleased with the results, though the type is a little small for my taste. The colors match the look here, but that&#8217;s purely coincidental.</p>
<p>The syntax is <a href="http://code.google.com/apis/chart/">well documented</a>, but I don&#8217;t understand why there are different delimiters for each parameter. Otherwise, it&#8217;s easy enough to figure out, if you&#8217;re patient and don&#8217;t mind reading documentation. Here&#8217;s how a simple chart URL breaks down.</p>
<table>
<tr>
<td><strong>Server</strong></td>
<td>&nbsp;</td>
<td>http://chart.apis.google.com/chart</td>
<td></td>
</tr>
<tr>
<td><strong>Type</strong></td>
<td>&nbsp;</td>
<td>?cht=p</td>
</tr>
<tr>
<td><strong>Size</strong></td>
<td>&nbsp;</td>
<td>&#038;chs=500&#215;240</td>
</tr>
<tr>
<td><strong>Title Text</strong></td>
<td>&nbsp;</td>
<td>&#038;chtt=Posts+by+Category+-+Chart+API</td>
</tr>
<tr>
<td><strong>Data</strong></td>
<td>&nbsp;</td>
<td>&#038;chd=t:30,23,22,14,12,5</td>
</tr>
<tr>
<td><strong>Labels</strong></td>
<td>&nbsp;</td>
<td>&#038;chl=Reputation|Identity|Influence|Meta|Tips|Miscellaneous</td>
</tr>
</table>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>In the end, I was disappointed with all of the choices. I liked the flexibility of the Google Chart API, but it takes a lot of effort to get the results you want. I was underwhelmed with all of the easier chart options built into Google Docs, and I was even more disappointed when I learned that you can&#8217;t embed a chart from a spreadsheet into a word processing document. I appreciate the simplicity of Google Docs, but the chart tools have a long way to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glenturpin.com/2009/11/google-charts-good-bad-and-ugly/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spreadsheet tip 4: Extracting text from cells</title>
		<link>http://www.glenturpin.com/2009/05/spreadsheet-tip-4-extracting-text-from-cells/</link>
		<comments>http://www.glenturpin.com/2009/05/spreadsheet-tip-4-extracting-text-from-cells/#comments</comments>
		<pubDate>Fri, 22 May 2009 00:00:17 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[google docs]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://www.glenturpin.com/?p=773</guid>
		<description><![CDATA[So&#8230; if you have Excel, transforming semi-structured text into rows and columns in a spreadsheet is fairly trivial, but if you use Google Docs or a comparable web-based too, you probably don&#8217;t have that feature. Don&#8217;t give up hope. Where there&#8217;s a will there&#8217;s a way, right? This way is a little harder, but you&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>So&#8230; if you have Excel, transforming semi-structured text into rows and columns in a spreadsheet is fairly trivial, but if you use Google Docs or a comparable web-based too, you probably don&#8217;t have that feature. Don&#8217;t give up hope. Where there&#8217;s a will there&#8217;s a way, right? This way is a little harder, but you&#8217;ll learn how to make data spin on its head and you&#8217;ll have bragging rights when you&#8217;re done.*</p>
<h1>The hard way</h1>
<p>Here&#8217;s some of the sample data I used in the previous conversion example. I wanted to split the Twitter ID, first name and last name into individual columns.</p>
<p><iframe width='500' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:B3'></iframe><br />
There are several common spreadsheet functions that can be used to coerce data from one form to another. Used together, they can be extremely powerful, albeit inelegant. The key is to break down complex problems into many simple problems and combine the solutions.</p>
<p>You can write complex formulas with functions nested within functions, or you can temporarily add extra columns to your spreadsheet and do things step by step. For the sake of illustration, I&#8217;ll go one step at a time.</p>
<h2>Step 1: Cleanup</h2>
<p>The first thing to get out of the way is data cleanup. Extra spaces where you don&#8217;t need or want them can lead to unpredictable results. Take a look at cell A2.</p>
<p>You can&#8217;t see them, but there are four spaces before the asterisk and an extra space at the end of the line. I used the <strong>trim(text)</strong> function to strip any spaces from the beginning and end of the cell so I have clean data to work with.</p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=C1:C3'></iframe><br />
To the naked eye, the result looks the same, but the leading and trailing spaces are gone. If I knew that there was a consistent number of spaces in every row, I could skip this step. I decided to play it safe.</p>
<p>Next, I wanted to get rid of the asterisk and the space at the beginning of the cell. The functions in Excel and Google Docs spreadsheets are all about getting the results you want, not eliminating the results you don&#8217;t want, so you have to think about the problem in that light.</p>
<p>There is no function to remove two characters from the beginning or end of a cell, but there is a <strong>right(text,number)</strong> function to get characters from the end of a cell. (Similarly, there&#8217;s a <strong>left(text,number)</strong> function to get characters from the beginning of a cell.)</p>
<p>The challenge is that you have to tell the left() and right() functions how many characters you want. In this case, I wanted all but the first two, so I had to use the <strong>len(text)</strong> function to find out how many characters are in each cell and subtract two (the number of characters I didn&#8217;t want).</p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=D1:E3'></iframe><br />
Alternately, I could have nested those two steps and achieved the same result.</p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=F1:F3'></iframe></p>
<h2>Step 2: Extracting the Twitter ID</h2>
<p>The next step is a little trickier. I wanted to extract the Twitter ID, which varies in length, so I had to grab the correct number of characters each time. I know that Twitter IDs are all one word, and there&#8217;s a space after each ID, so I used the <strong>find(find_text,text)</strong> function to locate the first space character in the cell and grabbed everything to the left of that using the left() function. I had to put the space in quotes for it to be recognized as a literal text string.**</p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=G1:H3'></iframe><br />
Again, I could have nested those two steps and achieved the same result.</p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=I1:I3'></iframe><br />
In fact, I could have nested the cleanup and the text extraction steps in one long formula: <strong>=left(right(trim(A2),len(trim(A2))-2),find(&#8221; &#8220;,right(trim(A2),len(trim(A2))-2)))</strong></p>
<p>It looks ugly, but if you build it step by step from the inside out, it&#8217;s not much more difficult than the alternative. </p>
<h2>Step 3: Variations on a theme</h2>
<p>It&#8217;s clear sailing from here. Mix and match left(), right(), len() and find() to extract the first and last names &#8212; same methods in different combinations.</p>
<p>Once I found the Twitter ID, I was able to find the full name by extracting the characters to the right of the Twitter ID. I also used trim() to get rid of extra spaces.</p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=K1:L3'></iframe><br />
To find the first name, I extracted everything to the left of the first space in the full name&#8230;</p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=O1:O3'></iframe><br />
&#8230;and I extracted everything to the right of the first space to find the last name. </p>
<p><iframe width='22' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=A1:A3'></iframe><iframe width='478' height='75' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=12&#038;single=true&#038;range=R1:R3'></iframe></p>
<h2>Take it easy</h2>
<p>Nested formulas can look and feel intimidating, even to spreadsheet pros. Sometimes it&#8217;s easier to create temporary columns rather than nesting formulas. You can see the results of your work and identify problems as you go.</p>
<p>Once everything is working, you can either make a nested formula by copying things that work into new formulas, or you can hide the columns with your intermediary steps so your spreadsheet looks neat and friendly.</p>
<p>A well-designed spreadsheet can make your lists more useful by automating tedious tasks. Organization is just the beginning. </p>
Notes:<ol class="footnotes"><li id="footnote_0_773" class="footnote" style="list-style-type:none;"><span class="symbol">*</span> Keep your document around and you&#8217;ll have a formula that you can paste into other spreadsheets too. Good work deserves to be re-used.</li><li id="footnote_1_773" class="footnote" style="list-style-type:none;"><span class="symbol">**</span> As opposed to looking for the contents of one cell in a longer cell, which is useful but doesn&#8217;t make sense in this case.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.glenturpin.com/2009/05/spreadsheet-tip-4-extracting-text-from-cells/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Spreadsheet tip 3: Text to columns</title>
		<link>http://www.glenturpin.com/2009/05/spreadsheet-tip-3-text-to-columns/</link>
		<comments>http://www.glenturpin.com/2009/05/spreadsheet-tip-3-text-to-columns/#comments</comments>
		<pubDate>Tue, 19 May 2009 00:12:35 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[google docs]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://www.glenturpin.com/?p=1005</guid>
		<description><![CDATA[In my previous post, I wrote about the very basic elements of combining cells in spreadsheets like Microsoft Excel and Google Docs. Sometimes the challenge isn&#8217;t putting cells together &#8212; it&#8217;s taking them apart.
If you already have semi-structured information that you&#8217;ve created in a word processor or copied from a web page, it can seem [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.glenturpin.com/2009/05/spreadsheet-tip-make-better-lists-part-2/">my previous post</a>, I wrote about the very basic elements of combining cells in spreadsheets like Microsoft Excel and Google Docs. Sometimes the challenge isn&#8217;t putting cells together &#8212; it&#8217;s taking them apart.</p>
<p>If you already have semi-structured information that you&#8217;ve created in a word processor or copied from a web page, it can seem like too much of a pain to try to wrangle it into a spreadsheet. But if you ever need to sort or filter your data, perform calculations or create reports, a spreadsheet is a better format for your data.</p>
<p>There are two ways to turn semi-structured text into neat rows and columns: the easy way and the hard way.</p>
<h1>The easy way</h1>
<p>If you have neatly organized and structured text, like <a href="http://en.wikipedia.org/wiki/Comma-separated_values">comma-separated values</a>, most spreadsheet applications have an import function to can convert text to columns. In this example, however, I just copied text from a web page and pasted it into a blank spreadsheet. The information consists of Twitter ID, first name and last name, and I&#8217;d like each to appear in its own column.</p>
<p><iframe width='500' height='100' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=8&#038;single=true&#038;range=A1:A5'></iframe><br />
If you use Excel 2007, the <strong>Text to Columns</strong> feature makes it easy to turn text like this into columns.*</p>
<p><img class="alignnone size-full wp-image-1000" title="texttocolumns" src="http://www.glenturpin.com/wp-content/uploads/2009/05/texttocolumns.png" alt="texttocolumns" width="445" height="101" /></p>
<p>The Text to Columns feature in the Data tab of the ribbon opens the Convert Text to Columns wizard. It can&#8217;t get much easier than this.</p>
<h2>Step 1: Delimited text</h2>
<p>Unless you&#8217;ve laboriously organized your information so that each column takes up exactly the same number of spaces (yeah, I didn&#8217;t think so) you can just click <strong>Next </strong>on the first screen.</p>
<p><img class="alignnone size-full wp-image-1001" title="wizard1" src="http://www.glenturpin.com/wp-content/uploads/2009/05/wizard1.png" alt="wizard1" width="460" height="352" /></p>
<h2>Step 2: Set the delimiters</h2>
<p>This screen lets you identify which characters distinguish one column from the next. The cool thing about the wizard is that you can choose several delimiters if necessary. Tab is selected by default, but my sample data contained no tabs, so you can see in the Data Preview pane that the text won&#8217;t be split into distinct columns.</p>
<p><img class="alignnone size-full wp-image-1002" title="wizard2" src="http://www.glenturpin.com/wp-content/uploads/2009/05/wizard2.png" alt="wizard2" width="460" height="352" /></p>
<p>The hyphen is a consistent delimiter in this text, so checking <strong>Other </strong>and typing a hyphen (-) in the field next to it tells Excel 2007 to use that character as a column delimiter. Now you can see in the Data Preview pane that it&#8217;s getting closer to what I want.</p>
<p><img class="alignnone size-full wp-image-1002" title="wizard3" src="http://www.glenturpin.com/wp-content/uploads/2009/05/wizard3.png" alt="wizard3" width="460" height="352" /></p>
<p>Depending on your data, you may want to try using a space as a delimiter. In many cases, such as with addresses, the results could be disastrous, but my sample data is very simple, so the benefit of turning the first and last names into columns outweighs the problem with the compound last name in the third line of the preview. Since this is a small data set, I can easily find and fix that one problem once the text is converted.</p>
<p><img class="alignnone size-full wp-image-1002" title="wizard4" src="http://www.glenturpin.com/wp-content/uploads/2009/05/wizard4.png" alt="wizard4" width="460" height="352" /></p>
<h2>Step 3: Choose columns</h2>
<p>Finally, the last page of the wizard lets you set the data format for each column. This is important if you want Excel to recognize dates correctly, but in my case, since I didn&#8217;t have any date columns, it wasn&#8217;t necessary. Finally, I selected the first two columns and clicked <strong>Do not import column (skip)</strong>, since they contained no useful data.</p>
<p><img class="alignnone size-full wp-image-1002" title="wizard5" src="http://www.glenturpin.com/wp-content/uploads/2009/05/wizard5.png" alt="wizard5" width="460" height="352" /></p>
<h2>The result</h2>
<p>The result is almost exactly what I wanted. There is a problem with one of the rows, but it stands out enough that I can fix it with minimal effort.</p>
<p><iframe width='500' height='100' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=7&#038;single=true&#038;range=A1:D5'></iframe><br />
I used a very small data set for this example, but this would work just as well with a much larger data set, and the time required to fix little problems like the one above would be significantly less than it would have taken to copy and paste the information into individual rows and columns.</p>
<p>So that&#8217;s the easy way. The hard way is next.</p>
Notes:<ol class="footnotes"><li id="footnote_0_1005" class="footnote" style="list-style-type:none;"><span class="symbol">*</span> I don&#8217;t remember if it Excel 2003 had a similar feature or where it might be.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.glenturpin.com/2009/05/spreadsheet-tip-3-text-to-columns/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Spreadsheet tip 2: Very basic formulas</title>
		<link>http://www.glenturpin.com/2009/05/spreadsheet-tip-2-very-basic-formulas/</link>
		<comments>http://www.glenturpin.com/2009/05/spreadsheet-tip-2-very-basic-formulas/#comments</comments>
		<pubDate>Thu, 14 May 2009 04:56:17 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[google docs]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://www.glenturpin.com/?p=842</guid>
		<description><![CDATA[In a previous post, I mentioned how easy it is to combine data from different cells in a spreadsheet. If you can master three types of punctuation, you can master this. It&#8217;s that easy.
Let&#8217;s say you have a spreadsheet that looks something like this&#8230;

You can combine the contents of different cells to arrange the information [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.glenturpin.com/2009/04/spreadsheet-tip-make-better-lists-part-1/">In a previous post</a>, I mentioned how easy it is to combine data from different cells in a spreadsheet. If you can master three types of punctuation, you can master this. It&#8217;s that easy.</p>
<p>Let&#8217;s say you have a spreadsheet that looks something like this&#8230;</p>
<p><iframe width='500' height='70' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=0&#038;single=true&#038;range=A1:E3'></iframe><br />
You can combine the contents of different cells to arrange the information however you need it or have the contents of one cell display in many places so you only have to update it once.*</p>
<h2>Formulas</h2>
<p>All the cool spreadsheet magic starts with a formula, which can be big and nasty and complicated but can also be very simple. Start by typing an equals sign (=) and then the formula you want to have calculated. It can be a mathematical formula or it can be a reference to the contents of another cell, which is identified by the cell&#8217;s column and row. For example, the cell in first row of column A is cell A1.</p>
<p><iframe width='500' height='90' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=1&#038;single=true&#038;range=A1:B4'></iframe><br />
You can combine the two forms, so you could multiply a cell by another cell, for example. You can even refer to cells on other worksheets by referring to the worksheet in single quotes (&#8217;) followed by an exclamation point (!) and a cell reference. </p>
<h2>Concatenation</h2>
<p>The ampersand (&amp;) character lets you concatenate (i.e. join) the contents of two cells together.</p>
<p><iframe width='500' height='50' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=2&#038;single=true&#038;range=A1:B2'></iframe><br />
By itself, that isn&#8217;t necessarily useful because the cell contents are stuck together without any space between them, but in conjunction with literal text, you can do some very cool things. </p>
<h2>Literals</h2>
<p>You can put text inside quotation marks (&quot;) to display that exact text. You can concatenate cells with literal text to organize information in as many ways as you want. Practically speaking, this means you can have one range of cells or worksheet to hold your data and other worksheets for different arrangements of that data. </p>
<p><iframe width='500' height='140' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=3&#038;single=true&#038;range=A1:B5'></iframe><br />
It looks worse than it really is. The first example above might look intimidating but it&#8217;s really fairly simple: the contents of cell A2, space, the contents of cell B2, space and open parenthesis, the contents of cell C2, close parenthesis. It&#8217;s really just about organizing information.</p>
<p>Creating useful, flexible lists and reports takes a bit more thought, but just about everything else you need to do in a simple list of data is an application of these basic spreadsheet skills.</p>
<p>Three kinds of punctuation. That&#8217;s it. Give it a shot.</p>
Notes:<ol class="footnotes"><li id="footnote_0_842" class="footnote" style="list-style-type:none;"><span class="symbol">*</span> You can do math too &#8212; the original purpose of spreadsheets &#8212; but I hear a lot of PR pros don&#8217;t like math.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.glenturpin.com/2009/05/spreadsheet-tip-2-very-basic-formulas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spreadsheet tip 1: Make better lists</title>
		<link>http://www.glenturpin.com/2009/04/spreadsheet-tip-1-make-better-lists/</link>
		<comments>http://www.glenturpin.com/2009/04/spreadsheet-tip-1-make-better-lists/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 01:44:00 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[google docs]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://www.glenturpin.com/?p=381</guid>
		<description><![CDATA[PR people like lists. Media lists, editorial calendars, speaking opportunities, clip reports, you name it. Structurally, these are really very simple flat-file databases, but &#8220;database&#8221; seems to be a bad word outside the database world, so Excel is the tool of choice for storing this kind of data.* (Plus, you can easily e-mail a spreadsheet [...]]]></description>
			<content:encoded><![CDATA[<p>PR people like lists. Media lists, editorial calendars, speaking opportunities, clip reports, you name it. Structurally, these are really very simple flat-file databases, but &#8220;database&#8221; seems to be a bad word outside the database world, so Excel is the tool of choice for storing this kind of data.* (Plus, you can easily e-mail a spreadsheet to a client. Ever tried e-mailing a database? Don&#8217;t.)</p>
<p>Given how often we use spreadsheets, you&#8217;d think that PR people as a group would have some mad ninja Excel skillz, but that doesn&#8217;t seem to be the case.** We tend to use it as list-making software.</p>
<p>Because of that, many of the spreadsheets that I see are brittle, inflexible and heavily formatted for a particular display or output format. How often have you paid someone at your agency (or billed your client) a couple of hundred bucks an hour to copy, paste and reorganize rows in a spreadsheet? If the answer is greater than zero, you&#8217;re wasting money.</p>
<p>Here are some simple tips for making spreadsheets more flexible.</p>
<h2>One thing at a time</h2>
<p>You can save yourself a lot of time, money and frustration by organizing your data efficiently. Make sure each column contains only one instance of only one kind of information. Database geeks call this &#8216;normalization&#8217;.***</p>
<p>Rather than have a column contain contact information like this&#8230;</p>
<p><iframe width='500' height='60' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=5&#038;single=true&#038;range=A1:A2'></iframe></p>
<p>&#8230;you want something like this:</p>
<p><iframe width='500' height='50' frameborder='0' src='http://spreadsheets.google.com/pub?key=rMWhuWgRTn-aQPIxx5YiJbw&#038;output=html&#038;gid=4&#038;single=true&#038;range=A1:E2'></iframe></p>
<h2>The payoff</h2>
<p>Keeping the information in its most atomic form with one type of data in each column lets you sort and filter by any of those columns, which makes it easier to work with large tables of information.</p>
<ul>
<li><strong>Sorting </strong>makes it easier to find the information you&#8217;re looking for and helps you identify redundancies or anomalies in the data.</li>
<li><strong>Filtering </strong>out information you don&#8217;t immediately need helps you focus on what&#8217;s relevant.</li>
</ul>
<p>Finally, it&#8217;s a lot easier to combine spreadsheet columns in new and interesting ways than it is to wrestle them them apart. If you have an existing spreadsheet with different kinds of data glommed together in one column, you can break it into columns without too much pain. That&#8217;s a topic of an upcoming post.</p>
<p>Put a little thought into the design of your spreadsheets and you&#8217;ll have better insight into your data, more flexible documents, and a little less aggravation with your spreadsheets. What more could you ask for?</p>
Notes:<ol class="footnotes"><li id="footnote_0_381" class="footnote" style="list-style-type:none;"><span class="symbol">*</span> For basic spreadsheets, <a href="http://docs.google.com">Google Docs</a> is an excellent no-cost alternative to Excel.</li><li id="footnote_1_381" class="footnote" style="list-style-type:none;"><span class="symbol">**</span> I once worked with someone who used Excel every day but didn&#8217;t know it can do math.</li><li id="footnote_2_381" class="footnote" style="list-style-type:none;"><span class="symbol">***</span> True <a href="http://en.wikipedia.org/wiki/Database_normalization">database normalization</a> involves a lot more, but this is a basic principle.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.glenturpin.com/2009/04/spreadsheet-tip-1-make-better-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
