<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Agricola</title>
	
	<link>http://thusagricola.com</link>
	<description>Perspective From A Jaundiced Eye</description>
	<lastBuildDate>Wed, 02 May 2012 17:57:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Agricola" /><feedburner:info uri="agricola" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><item>
		<title>Neptunus Lex</title>
		<link>http://feedproxy.google.com/~r/Agricola/~3/PMBdzaeSzFI/</link>
		<comments>http://thusagricola.com/2012/03/07/neptunus-lex/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 12:22:26 +0000</pubDate>
		<dc:creator>Agricola</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Captain]]></category>
		<category><![CDATA[Carroll Lafon]]></category>
		<category><![CDATA[kfir]]></category>
		<category><![CDATA[Lafon]]></category>
		<category><![CDATA[naval aviation]]></category>
		<category><![CDATA[Neptunus Lex]]></category>
		<category><![CDATA[TOPGUN]]></category>

		<guid isPermaLink="false">http://thusagricola.com/?p=1406</guid>
		<description><![CDATA[I lost a friend yesterday. His name was Carroll LeFon, and he was a retired naval aviator. He leaves behind a wife and three children, and thousands of fans who knew him as Neptunus Lex. He was one of the &#8230; <a href="http://thusagricola.com/2012/03/07/neptunus-lex/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://www.washingtonpost.com/national/contract-pilot-killed-in-crash-of-israeli-made-military-fighter-jet-at-nevada-navy-base/2012/03/06/gIQAP2uOvR_story.html" class="broken_link">lost</a> a friend yesterday. His name was Carroll LeFon, and he was a retired naval aviator. He leaves behind a wife and three children, and thousands of fans who knew him as <a href="http://www.neptunuslex.com/">Neptunus Lex</a>. He was one of the first bloggers I followed when I became aware of and gained access to the internet. I knew him as well as anyone can know someone they have never met. We had similar interests, and he was what I had once wanted to be, so it was easy for me to think I understood every word he ever posted.</p>
<p>Rest in peace, Captain.&nbsp;</p>
<p><img align="bottom" width="358" height="400" alt="" src="http://thusagricola.com/wp-content/uploads/image/NeptunusLex.jpg" /></p>
<div id="flaresmith" class="feedflare"><script src="http://thusagricola.com/~s/Agricola?i=http://thusagricola.com/2012/03/07/neptunus-lex/" type="text/javascript" charset="utf-8"></script></div><img src="http://feeds.feedburner.com/~r/Agricola/~4/PMBdzaeSzFI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thusagricola.com/2012/03/07/neptunus-lex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thusagricola.com/2012/03/07/neptunus-lex/</feedburner:origLink></item>
		<item>
		<title>Student Loans and STEM</title>
		<link>http://feedproxy.google.com/~r/Agricola/~3/kjQpfIxVPpA/</link>
		<comments>http://thusagricola.com/2012/02/26/student-loans-and-stem/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 00:12:52 +0000</pubDate>
		<dc:creator>Agricola</dc:creator>
				<category><![CDATA[Academia]]></category>
		<category><![CDATA[Current Affairs]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Credit]]></category>
		<category><![CDATA[Debt]]></category>
		<category><![CDATA[dominant player]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Finance]]></category>
		<category><![CDATA[law school]]></category>
		<category><![CDATA[Loan]]></category>
		<category><![CDATA[oil]]></category>
		<category><![CDATA[shiny new car]]></category>
		<category><![CDATA[United States]]></category>
		<category><![CDATA[USD]]></category>

		<guid isPermaLink="false">http://thusagricola.com/?p=1400</guid>
		<description><![CDATA[Random thoughts generated by observing all the PYTs (pretty young things) in the grocery store on a Sunday evening: How many of the people just graduated from universities are hamstrung by their student loans? Anecdotally, most students graduating from college &#8230; <a href="http://thusagricola.com/2012/02/26/student-loans-and-stem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://thusagricola.com/wp-content/uploads/Blog-21-Oct-10-student-debt.gif"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Blog 21 Oct 10 student debt" src="http://thusagricola.com/wp-content/uploads/Blog-21-Oct-10-student-debt_thumb.gif" alt="Blog 21 Oct 10 student debt" width="244" height="244" border="0" /></a></p>
<p>Random thoughts generated by observing all the PYTs (pretty young things) in the grocery store on a Sunday evening:</p>
<p>How many of the people just graduated from universities are hamstrung by their student loans? Anecdotally, most students graduating from college are saddled with about $20,000 worth of debt. If they’ve just graduated from law school, or earned an MBA, or gotten a Ph.d. in the sciences or liberal arts, it is likely double that. At a minimum, they have to figure out a way to come up with about $300 every month, for at least 5 years.</p>
<p>Easy enough if they are computer science majors, or hard science types whose diploma is in high demand. Not so much for your basic English Lit. major, or, even worse, those gender studies folks. For the latter, it’s likely a struggle to find any job, let alone a job that comes with a salary sufficient to meet the debt obligation.</p>
<p>So, for a lot of them, it’s a future that doesn’t include a shiny new car, or saving for a few years to accumulate a down payment for that first house. No, it’s back to the parents, or slumming with a few room-mates in that edgy part of town where the rents are low enough for a group effort to pay the landlord. Last year, the <a href="http://www.washingtonpost.com/business/economy/student-debt-hint-avoid-it/2011/11/29/gIQAApyv9N_story.html">Washington Post reported</a> that the total outstanding student loan debt was $865 Billion.</p>
<p>Every year, our institutions of higher learning churn out thousands of graduates whose educational achievement, for the most part, doesn’t promise a future of movement up the social ladder.</p>
<p>It is such a waste.</p>
<p>Here’s what I think. First, instead of wasting more money on <a href="http://en.wikipedia.org/wiki/Crony_capitalism">crony capitalism</a>, investing in solar panel plants, and <a href="http://www.qando.net/?p=10561">lending money to Brazilians</a> so they can sell oil to China, let’s write off existing student loans, subject to a few simple rules. Give each debtor a 2-1 tax credit for ever dollar invested in short term Treasuries. Suspend debt repayment while saving is occurring. Once the debtor has accumulated sufficient savings and tax credits, write off the debt. Allow the student to transfer the accumulated funds to savings program created for the establishment of a 10% down payment on a house or condo. I don’t think I have to spell out the benefits to our economy of such a program.</p>
<p><a href="http://thusagricola.com/wp-content/uploads/STEM2.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="STEM2" src="http://thusagricola.com/wp-content/uploads/STEM2_thumb.jpg" alt="STEM2" width="244" height="192" border="0" /></a></p>
<p>Second, going forward, student loans would only be offered to students enrolled in a <a href="http://en.wikipedia.org/wiki/STEM_fields">STEM degree</a>. Remember, STEM stands for science, technology, engineering, and mathematics. Those degrees just happen to have the highest starting salaries for new employees, represent the hardest degrees at most universities, and are those programs most needed for the US to continue as a dominant player in the world economy.</p>
<p>Want to major in gender studies, women’s contemporary literary issues, or African-American history? Feel free, but don’t expect a dime from the US taxpayer. Because you likely won’t be able to pay your debt, and you most likely won’t be able to find a job to support yourself. Which means the degree is essentially worthless. And that is a luxury this country cannot afford any longer.</p>
<div id="flaresmith" class="feedflare"><script src="http://thusagricola.com/~s/Agricola?i=http://thusagricola.com/2012/02/26/student-loans-and-stem/" type="text/javascript" charset="utf-8"></script></div><img src="http://feeds.feedburner.com/~r/Agricola/~4/kjQpfIxVPpA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thusagricola.com/2012/02/26/student-loans-and-stem/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://thusagricola.com/2012/02/26/student-loans-and-stem/</feedburner:origLink></item>
		<item>
		<title>Jack Frost</title>
		<link>http://feedproxy.google.com/~r/Agricola/~3/NMi1OvKhAtc/</link>
		<comments>http://thusagricola.com/2011/09/16/jack-frost/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 14:31:12 +0000</pubDate>
		<dc:creator>Agricola</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Sports]]></category>
		<category><![CDATA[Fall]]></category>
		<category><![CDATA[Football Season]]></category>
		<category><![CDATA[Jack Frost]]></category>

		<guid isPermaLink="false">http://thusagricola.com/?p=1364</guid>
		<description><![CDATA[Jack Frost announced his annual visit to our fertile land with bolts of lightning, peals of thunder, and buckets of rain, behind which came the brisk winds of the North Land. What a welcome visitor! The windows have been pried &#8230; <a href="http://thusagricola.com/2011/09/16/jack-frost/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1365" title="jack-frost-stilts-web" src="http://thusagricola.com/wp-content/uploads/jack-frost-stilts-web.jpg" alt="Jack Frost" width="337" height="506" /><br />
Jack Frost announced his annual visit to our fertile land with bolts of lightning, peals of thunder, and buckets of rain, behind which came the brisk winds of the North Land.</p>
<p>What a welcome visitor!</p>
<p>The windows have been pried open from their locked summer state, and the thermostat has been turned to a lower setting. The HVAC system thanks me for the welcome break, while the power company wonders where all the demand went. If I had a solar grid, I wouldn&#8217;t be selling the excess&#8230;</p>
<p>The daily constitutional won&#8217;t soak my exercise togs, and it may be that extra covering is called for. On the down side, walking in the dark is not really very much fun; part of the stimulation is looking at the other exercise hounds doing their thing, discreetly, of course.</p>
<p>Brown whiskey, my old friend, is now acceptable; perhaps even necessary to ward off Jack&#8217;s little friends, chills and cold feet.</p>
<p>Football games seem better.</p>
<p>But, best of all, the grass will soon be dormant, which means that your scribe will not have to waste valuable Saturday mornings on mundane things that take away from sports time.</p>
<p>Yea!</p>
<div id="flaresmith" class="feedflare"><script src="http://thusagricola.com/~s/Agricola?i=http://thusagricola.com/2011/09/16/jack-frost/" type="text/javascript" charset="utf-8"></script></div><img src="http://feeds.feedburner.com/~r/Agricola/~4/NMi1OvKhAtc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thusagricola.com/2011/09/16/jack-frost/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://thusagricola.com/2011/09/16/jack-frost/</feedburner:origLink></item>
		<item>
		<title>Thoughts While Mowing</title>
		<link>http://feedproxy.google.com/~r/Agricola/~3/GHPSw7gIpUY/</link>
		<comments>http://thusagricola.com/2011/09/03/thoughts-while-mowing/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 18:23:00 +0000</pubDate>
		<dc:creator>Agricola</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[The Local Scene]]></category>
		<category><![CDATA[Alabama]]></category>
		<category><![CDATA[Barbecue]]></category>
		<category><![CDATA[Cooking]]></category>
		<category><![CDATA[Food and drink]]></category>
		<category><![CDATA[Google Inc.]]></category>
		<category><![CDATA[Marriage]]></category>
		<category><![CDATA[Mowing the Lawn]]></category>
		<category><![CDATA[Shame]]></category>
		<category><![CDATA[Shameless]]></category>
		<category><![CDATA[Spare ribs]]></category>
		<category><![CDATA[Virginia Tech]]></category>

		<guid isPermaLink="false">http://thusagricola.com/?p=1353</guid>
		<description><![CDATA[This morning, before I had even finished my first cup of coffee, my wife announced that she had a big “LIST” for me. List is one of my wife’s favorite words, which she uses with annoying frequency. Almost, but not &#8230; <a href="http://thusagricola.com/2011/09/03/thoughts-while-mowing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1354" title="marriage1" src="http://thusagricola.com/wp-content/uploads/marriage1.jpg" alt="" width="299" height="387" />This morning, before I had even finished my first cup of coffee, my wife announced that she had a big “LIST” for me. List is one of my wife’s favorite words, which she uses with annoying frequency. Almost, but not quite, as much as I use &#8220;God Damn&#8221;, which is my favorite expression.</p>
<p>And so, with no breakfast, the WSJ unread, and with Google Reader reporting 109 unread posts, I was shuffled out the door, in order to accomplish the “LIST” before the noon kickoff. To the drug store, for my prescription refills, to the dry cleaner with drop off and pick up responsibility. Then to the hardware megastore for new, shiny returns for the HVAC vents in a couple of rooms. Finally, the grocery store, in order to pick up the spareribs for the evening/first game of the year kickoff supper.</p>
<p>Only the grocery was out of spareribs. Plenty of babyback ribs – which are for amateurs. On to the second grocery – where my question “Are y’all out of ribs?” was greeted with hoots of derision from the counter men. One asked me, “Dude, what weekend is this? I think tomorrow’s a big holiday”. Never mind that he meant Monday; I had no choice but to admit that my procrastination had put this baby into the corner.</p>
<p>By the time the chuck wagon reached the house, it was nearly noon. The wife had taken the morning off to go to the Famer’s Market with her friend, so I had to unload the car, put the stuff away, and fix my own breakfast/lunch (brunch?). While reading the paper, watching the game, and catching up on Google Reader, my phone chimed. It was her, telling me that they were going to lunch, and see you in a bit. In an attempt at clever repartee, I replied that the window for the grass cutting had closed, and likely would not reopen until Monday. Big mistake.</p>
<p>And so, while Auburn struggled, Alabama marched, and Virginia Tech steamrolled, I pulled out the lawnmower, filled it with gas, and began. As the sweat slowly infiltrated my favorite t-shirt, and lawn detritus began to soil my exercise shoes, I pondered one of life’s great questions:</p>
<blockquote><p>How does a man go from shameless to shameful?</p></blockquote>
<p>Your typical unmarried male sheds responsibility like a dog shakes off water. He is deaf to the entreaties of a woman, if the result is a deprivation of his pleasure. He is blind to the effects of female disgust, and thus cannot see the approaching danger.</p>
<p>Married men, on the other hand, scurry from one assigned task to another, all the while casting covert glances at the game, or daydreaming about a cold beer, maybe later, if it is allowed.</p>
<p>We all know that the institution of marriage is one of civilization’s great rituals, whose meaning is embedded in all religions since the dawn of time. Sacred words are uttered, vows taken, and symbols of bondage exchanged. In many cultures, the man’s family has to pay a dowry to the bride’s family, thus ensuring the establishment of a life long debt, from which there is no abatement, and severe penalty if the contract is breached.</p>
<p>But how did we let things get so far out of hand?</p>
<p>I&#8217;m still pondering&#8230;&#8230;.</p>
<div id="flaresmith" class="feedflare"><script src="http://thusagricola.com/~s/Agricola?i=http://thusagricola.com/2011/09/03/thoughts-while-mowing/" type="text/javascript" charset="utf-8"></script></div><img src="http://feeds.feedburner.com/~r/Agricola/~4/GHPSw7gIpUY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thusagricola.com/2011/09/03/thoughts-while-mowing/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://thusagricola.com/2011/09/03/thoughts-while-mowing/</feedburner:origLink></item>
		<item>
		<title>The Wizard of Excel</title>
		<link>http://feedproxy.google.com/~r/Agricola/~3/dvkLP74h1lo/</link>
		<comments>http://thusagricola.com/2011/08/15/the-wizard-of-excel/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 23:17:20 +0000</pubDate>
		<dc:creator>Agricola</dc:creator>
				<category><![CDATA[Math/Computer Science]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Fuente 8-5-8]]></category>
		<category><![CDATA[If Statements]]></category>
		<category><![CDATA[Len]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thusagricola.com/?p=1346</guid>
		<description><![CDATA[Up front, you should know that I have been hacking, in the arcane sense of that word, around with spreadsheets since Lotus 1-2-3. I am self taught, with all of the limitations implied; in other words, sometimes I know what &#8230; <a href="http://thusagricola.com/2011/08/15/the-wizard-of-excel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1348" title="EXCEL" src="http://thusagricola.com/wp-content/uploads/EXCEL.jpg" alt="" width="400" height="290" />Up front, you should know that I have been hacking, in the arcane sense of that word, around with spreadsheets since Lotus 1-2-3. I am self taught, with all of the limitations implied; in other words, sometimes I know what I don’t know, other times I don’t know what I don’t know, and the rest of the time I stumble around in total foggery.</p>
<p>But sometimes little nuggets of understanding fall from the sky and land in my lap. Today was such a day.</p>
<p>I exported some data from a SQL database to Excel, for the purpose of finding missing pieces of information (does that make sense?). In other words, I had to see what I had in order to know what I didn’t have. The spreadsheet was 6 columns and 3,789 rows, not too big in the hands of a power user, but plenty unwieldy for me. I put the old <a title="auto filter" href="http://http://www.cigarinspector.com/arturo-fuente/arturo-fuente-8-5-8" class="broken_link">auto filter</a> to work to begin to sort the pieces of data that I was looking for. It quickly became clear that my data was buried within a column that contained multiple data types. It could not be separated by a sort or a filter.</p>
<p>Stymied again was my first thought, defeated again by the complexities that lay beyond my understanding.</p>
<p>But then I grasped that the data was actually text, and that the particular data set that I needed was made up of 4 characters or less, while the unwanted data had either 5 letters or numbers. I recalled that in my programming classes we had used a function (Len) to measure the length of a <a href="http://en.wikipedia.org/wiki/String_%28computer_science%29">string</a> and either slice or <a href="http://en.wikipedia.org/wiki/Concatenation">concatenate</a> text to suit our needs. Could Excel have such functionality?</p>
<p>Of course it does:</p>
<blockquote><p>Len(a2)                         returns the length of the string in cell a2.</p></blockquote>
<p>Further, you can tell Excel to count from the left, right, or middle. All I needed to do was tell Excel to give me the length of the string, starting from the right of the cell. From a source found on the web, called <a href="http://www.techrepublic.com/article/save-time-by-using-excels-left-right-and-mid-string-functions/1033367">Tech Republic</a>:</p>
<blockquote><p>Figure A</p>
<p><img src="http://www.techrepublic.com/i/tr/cms/contentPics/r00320000531jed01_01.gif" alt="" width="341" height="199" /></p>
<p>We’ll use functions to extract certain portions of the entries in column A.</p>
<p>Those strings contained three distinct parts:</p>
<ul>
<li>The first three characters (the K-numbers) represent a product code.</li>
<li>The second two digits (the B-numbers) represent a price code.</li>
<li>The final three digits represent a customer code.</li>
</ul>
<p><strong>My coworker wanted to separate out those three pieces into different columns, and she was retyping them from scratch!</strong> That approach is so wasteful and inefficient it makes my skin crawl. Fortunately, I got to be the hero by showing her how to use Excel’s string functions to extract the codes automatically.<br />
Fun with string functions<br />
All of you veteran spreadsheet users know this drill by heart. Here’s how it works.<br />
<strong>Grabbing the first three characters.</strong> To extract the first three characters of the text entries, you enter the Left function like this:<br />
=Left(source_string,number_of_characters)<br />
In this case, we entered into cell B2 the function =Left(A2,3) and then copied that formula to cells B3:B8. <strong>Figure B</strong> shows the results.</p>
<p>Figure B</p>
<p><img src="http://www.techrepublic.com/i/tr/cms/contentPics/r00320000531jed01_02.gif" alt="" width="334" height="216" /></p>
<p>The Left function eliminates the need to re-key the first three letters from the entries in column A.</p>
<p><strong>Pulling out the two characters in the middle.</strong> To extract the two characters in the middle of the string, we’ll use the Mid function, which takes the form:<br />
=Mid(source_string,start_position,length)<br />
Since we know that the string we want to extract always starts in position 4, we entered into cell C2 the function =Mid(A2,4,2) and then copied that formula to cells C3:C8. <strong>Figure C</strong> shows the results.</p>
<p>Figure C</p>
<p><img src="http://www.techrepublic.com/i/tr/cms/contentPics/r00320000531jed01_03.gif" alt="" width="338" height="215" /></p>
<p>The Mid function lets you pull a string out of the middle.</p>
<p><strong>Extracting the last three characters of a string.</strong> In order to extract the last three characters of a string, you use the Right function in the form:<br />
=Right(source_string,number_of_characters)<br />
In our example, we entered in cell D2 the function =Right(A2,3) and copied it into cells D3:D8. As <strong>Figure D</strong> shows, that function returns the three rightmost characters in the source string.</p>
<p>Figure D</p>
<p><img src="http://www.techrepublic.com/i/tr/cms/contentPics/r00320000531jed01_04.gif" alt="" width="335" height="215" /></p>
<p>The Right function makes it easy to copy a set of characters from the right side of a string.</p>
<p>Once you’ve extracted the strings, then what?<br />
After you’ve used the string functions to parse the source string into <em>substrings</em>, you’re free to sort or subtotal your data on any of the columns that contain those substrings. It only takes a minute or two to compose the function call and copy it to the appropriate cells. This technique comes in handy when you’re importing text files that have dumped from a mainframe database or from some other application.</p></blockquote>
<p>Pretty cool, huh? So all I had to do was put the string search in an adjacent cell, and then run a simple if statement….</p>
<p>An <a href="http://office.microsoft.com/en-us/excel-help/if-HP005209118.aspx">explanation</a> of the if statement in Excel:</p>
<blockquote><p>Returns one value if a condition you specify evaluates to TRUE and another value if it evaluates to FALSE.</p>
<p>Use IF to conduct conditional tests on values and formulas.</p>
<p><strong>Syntax</strong></p>
<p><strong>IF</strong>(<strong>logical_test</strong>,<strong>value_if_true</strong>,value_if_false)</p>
<p><strong>Logical_test</strong>     is any value or expression that can be evaluated to TRUE or FALSE. For example, A10=100 is a logical expression; if the value in cell A10 is equal to 100, the expression evaluates to TRUE. Otherwise, the expression evaluates to FALSE. This argument can use any <a href="http://office.microsoft.com/en-us/excel-help/redir/HP005198697.aspx?CTT=5&amp;origin=HP005209118">comparison calculation operator</a>.</p>
<p><strong>Value_if_true</strong>     is the value that is returned if logical_test is TRUE. For example, if this argument is the text string &#8220;Within budget&#8221; and the logical_test argument evaluates to TRUE, then the IF function displays the text &#8220;Within budget&#8221;. If logical_test is TRUE and value_if_true is blank, this argument returns 0 (zero). To display the word TRUE, use the logical value TRUE for this argument. Value_if_true can be another formula.</p>
<p><strong>Value_if_false</strong>     is the value that is returned if logical_test is FALSE. For example, if this argument is the text string &#8220;Over budget&#8221; and the logical_test argument evaluates to FALSE, then the IF function displays the text &#8220;Over budget&#8221;. If logical_test is FALSE and value_if_false is omitted, (that is, after value_if_true, there is no comma), then the logical value FALSE is returned. If logical_test is FALSE and value_if_false is blank (that is, after value_if_true, there is a comma followed by the closing parenthesis), then the value 0 (zero) is returned. Value_if_false can be another formula.</p></blockquote>
<p>So, by now you’ve probably got it figured out. I used the Len function to count the text in each cell of the column, and then I used an if statement to copy the text I wanted into yet another column, while not printing the text that I did not want. And, it worked!</p>
<p>To say that I felt a sense of achievement would be a gross understatement.</p>
<p>What a day for your scribe – a nice mix of programming techniques mixed with a deeper understanding of Excel, the combination of which is at least as satisfying as a nice, dry martini and a <a href="http://www.cigarinspector.com/arturo-fuente/arturo-fuente-8-5-8">Fuente 8-5-8.</a></p>
<p>Yea Me!</p>
<div id="flaresmith" class="feedflare"><script src="http://thusagricola.com/~s/Agricola?i=http://thusagricola.com/2011/08/15/the-wizard-of-excel/" type="text/javascript" charset="utf-8"></script></div><img src="http://feeds.feedburner.com/~r/Agricola/~4/dvkLP74h1lo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thusagricola.com/2011/08/15/the-wizard-of-excel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://thusagricola.com/2011/08/15/the-wizard-of-excel/</feedburner:origLink></item>
	</channel>
</rss>

