{"id":1734,"date":"2008-03-18T06:39:23","date_gmt":"2008-03-18T11:39:23","guid":{"rendered":"http:\/\/www.allyngibson.net\/?p=1734"},"modified":"2008-03-18T06:39:23","modified_gmt":"2008-03-18T11:39:23","slug":"on-spreadsheet-fun","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=1734","title":{"rendered":"On Spreadsheet Fun"},"content":{"rendered":"<p>At work yesterday I started working on a large-ish spreadsheet project.<\/p>\n<p>It&#8217;s for an annual catalog.  In one department, there&#8217;s four thousand lines of items to be arranged.  Headers inserted.  Item names cleaned up.<\/p>\n<p>Four thousand lines.<\/p>\n<p>It&#8217;s not tedious.  Maybe a little mind-numbing at times.<\/p>\n<p>It&#8217;s <i>mostly<\/i> in order.  That&#8217;s the worst kind of spreadsheet, actually.  The one that&#8217;s <i>almost<\/i> right.  Because there&#8217;s no quick way to fix it, short of cutting-and-inserting the lines out of order.<\/p>\n<p>As I was working on it, I thought to myself &mdash; there has to be <i>some<\/i> macro I could whip up, some macro that would take care of this <i>completely<\/i>.  Press a key and it&#8217;s done.<\/p>\n<p>Only, I couldn&#8217;t figure out any sort of algorithm.  And as I worked my way down the spreadsheet, I saw how there really <i>was<\/i> no easy way of getting through this spreadsheet.<\/p>\n<p>Just look at a line.  Figure out what needed to be done to the line.  Do that.  Move down to the next line.<\/p>\n<p>The decision tree would have been beyond a macro entirely.<\/p>\n<p>Some tasks were easily enough done.  A concatenation.  If only everything else were that simple&#8230; \ud83d\ude06<\/p>\n<p>Did I complete this four-thousand line monster yesterday?<\/p>\n<p>Alas&#8230; I did not.<\/p>\n<p>Another project &mdash; one of my primary responsibilities &mdash; landed on my desk, and that needed whipped into shape.<\/p>\n<p>The irony?  It&#8217;s a ten thousand line spreadsheet, and it&#8217;s something that I turn around in forty minutes.  This four thousand line spreadsheet?  No such luck.<\/p>\n<p>I called it a day somewhere around line 2500.<\/p>\n<p>I have other things to take care of in the morning, and then hopefully I&#8217;ll finish the rest of the spreadsheet by the end of the day.  I feel like I&#8217;m on the downward trajectory.<\/p>\n<p>I&#8217;d like to <i>think<\/i> so, anyway. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At work yesterday I started working on a large-ish spreadsheet project. It&#8217;s for an annual catalog. In one department, there&#8217;s four thousand lines of items to be arranged. Headers inserted. Item names cleaned up. Four thousand lines. It&#8217;s not tedious. Maybe a little mind-numbing at times. It&#8217;s mostly in order. That&#8217;s the worst kind of<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=1734\">Continue reading <span class=\"screen-reader-text\">&#8220;On Spreadsheet Fun&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[229],"tags":[550,551,547],"class_list":["post-1734","post","type-post","status-publish","format-standard","hentry","category-work","tag-excel","tag-spreadsheets","tag-word","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/1734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1734"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/1734\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1734"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}