<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>excel &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/excel/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Wed, 23 Apr 2025 09:02:04 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>excel &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA["Why do we use R rather than Excel?"]]></title>
		<link>https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/</link>
					<comments>https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sun, 11 Jul 2021 11:08:15 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[r]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=39519</guid>

					<description><![CDATA[I recently had cause to take a beginners course in R - a language I&#039;m fairly familiar with.  One of the other students had never used it before, so we were buddied up in order for me to show them the ropes.  The first lesson of R is always the same.  Read a CSV, manipulate it a bit, draw a graph.  We did it all without much fuss - and a graph appeared on screen. Nifty!  &#34;I don&#039;t get it,&#34; the…]]></description>
										<content:encoded><![CDATA[<p>I recently had cause to take a beginners course in R - a language I'm fairly familiar with.</p>

<p>One of the other students had never used it before, so we were buddied up in order for me to show them the ropes.</p>

<p>The first lesson of R is always the same.  Read a CSV, manipulate it a bit, draw a graph.  We did it all without much fuss - and a graph appeared on screen. Nifty!</p>

<p>"I don't get it," the student said, "Why wouldn't you just use Excel for this?"</p>

<p>To a programmer, it seems obvious - but it's a fair question! If you have a static set of data, you can drag your mouse over it, hit a few buttons, and a graph appears. Much easier than wrestling with esoteric syntax in a text-based interface.  This isn't a Koan - where the student becomes enlightened at the end. It's a tricky question to answer.  Here are the reasons I gave - feel free to add your own.</p>

<h2 id="visibility"><a href="https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/#visibility">Visibility</a></h2>

<p>How do you see the code inside an Excel document? How do you tell exactly what is going on? You have to go clicking through cells, or reverse engineer what settings a graph has.</p>

<p>With something like R, you automatically have all the code visible in front of you. Reading through the code in a linear fashion is possible. You can trace exactly what the code is doing without having to worry about whether there's some code hidden in cell Z44.</p>

<h2 id="track-changes"><a href="https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/#track-changes">Track Changes</a></h2>

<p>Related to the above, it's hard to visualise what changes have been made to an Excel document.  I don't know any way to easily see how a formula has changed.  With R and Git (or any other version control system) you can see exactly what has changed from one version to the next.</p>

<h2 id="repeatability"><a href="https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/#repeatability">Repeatability</a></h2>

<p>Typically, a user draws a graph on a single Excel document. If you want the same graph of a different data set, you're out of luck. You can copy the data from one Excel sheet into another - but there's no way to easily copy a bunch of manipulations and graph configurations to another document.</p>

<p>With R, you just change <code>read.csv("1.csv")</code> to <code>read.csv("2.csv")</code> and the <em>exact</em> same calculations are run on two different data sets.</p>

<h2 id="batch-processing"><a href="https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/#batch-processing">Batch processing</a></h2>

<p>Related to the above, you can read every CSV in a directory and produce a graph for each of them.  You can read data from an API and run the same process on it that you did yesterday.</p>

<h2 id="extensibility"><a href="https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/#extensibility">Extensibility</a></h2>

<p>Excel has a wide range of graphs available - but R has more.  Excel can do basic analysis - but R can do extensive, complex analysis. Excel has some decent tooling - but R has thousands of libraries which can do a bewildering array of clever stuff.</p>

<h2 id="what-else"><a href="https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/#what-else">What else?</a></h2>

<p>Those were the advantages that I could think of on the spur of the moment.  Perhaps you can think of more.</p>

<p>But what I learned was that it is decidedly <em>non-obvious</em> why a user would want to use something like R or Python when Excel (seemingly) covers all the basics.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=39519&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2021/07/why-do-we-use-r-rather-than-excel/feed/</wfw:commentRss>
			<slash:comments>25</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Excel as a mapping tool]]></title>
		<link>https://shkspr.mobi/blog/2021/04/excel-as-a-mapping-tool/</link>
					<comments>https://shkspr.mobi/blog/2021/04/excel-as-a-mapping-tool/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Fri, 23 Apr 2021 11:23:19 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[nhs]]></category>
		<category><![CDATA[ux]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=38750</guid>

					<description><![CDATA[About a million years ago, my wife&#039;s work sent her on a training course optimistically titled &#34;How To Use Excel As A Database.&#34;  We were both horrified. Excel is a perfectly good spreadsheet program - but it is categorically not a database!  OK, it has rows and columns which sorta look like a database table. And you can put constraints on cells which mimic a schema. And, yes, you can sort and…]]></description>
										<content:encoded><![CDATA[<p>About a million years ago, my wife's work sent her on a training course optimistically titled "How To Use Excel As A Database."</p>

<p>We were both horrified. Excel is a perfectly good spreadsheet program - but it is categorically <em>not</em> a database!</p>

<p>OK, it has rows and columns which <em>sorta</em> look like a database table. And you can put constraints on cells which <em>mimic</em> a schema. And, yes, you can sort and query data. And you can join data across multiple tables. And... you know what...? Excel is a pretty decent visual introduction to databases. Sure, it isn't <a href="https://en.wikipedia.org/wiki/ACID">ACID</a> and you wouldn't want to run a production environment off it. But Excel is a reasonable introduction to some database concepts.</p>

<p>My wife had to visit a hospital recently for a COVID test. Hospitals are often large and confusing buildings. But the hospital's website had a handy "Click here for a map" link. She clicked it, and I heard her scream from across the house.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2021/04/Screenshot-from-2021-04-18-09-32-15.png" alt="System dialogue saying opening Hospital Map XLSX." width="814" height="501" class="aligncenter size-full wp-image-38751">

<p>What?</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2021/04/Screenshot-from-2021-04-18-09-32-51.png" alt="A blocky map drawn in a spreadsheet." width="1383" height="826" class="aligncenter size-full wp-image-38752">

<p>WHAT?!!?</p>

<p>Yes, some enlightened person had decided to use Excel to draw a building map... I can't even...</p>

<p>There are many reasons why this is bad. A user might not have Excel installed on their phone. The thin grey lines are easy to confuse with thick grey lines. There's no way to see entrances. The plain text means it doesn't have familiar icons for toilets. I'm sure you can think of a dozen more reasons.</p>

<p>And yet... It was probably easier to get permission to install Excel on a machine than it was to procure a specialist graphics tool. Just about anyone can use Excel to draw boxes without training.  It's easy to edit if a room is closed or changes function.  The text is searchable, unlike a graphic. It doesn't overwhelm the user with colours and extraneous information. At 41KB it's easy to download over a crappy WiFi connection.</p>

<p>As a quick hack, to get a vaguely usable map up on the website, Excel is... well, it isn't fine. It is barely even adequate.  But it fulfils the brief. I <em>hope</em> that this was a quick bodge done one day with the aim of fixing it later. But, 7 years later, it is still there.  Do people complain, or do they sigh and move on?</p>

<p>Or am I wrong and Excel is the perfect tool for the job?</p>

<hr>

<p>You can see people's reactions to this map in the following Twitter thread.</p>

<blockquote class="social-embed" id="social-embed-1382301609347186691" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/edent" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRkgBAABXRUJQVlA4IDwBAACQCACdASowADAAPrVQn0ynJCKiJyto4BaJaQAIIsx4Au9dhDqVA1i1RoRTO7nbdyy03nM5FhvV62goUj37tuxqpfpPeTBZvrJ78w0qAAD+/hVyFHvYXIrMCjny0z7wqsB9/QE08xls/AQdXJFX0adG9lISsm6kV96J5FINBFXzHwfzMCr4N6r3z5/Aa/wfEoVGX3H976she3jyS8RqJv7Jw7bOxoTSPlu4gNbfXYZ9TnbdQ0MNnMObyaRQLIu556jIj03zfJrVgqRM8GPwRoWb1M9AfzFe6Mtg13uEIqrTHmiuBpH+bTVB5EEQ3uby0C//XOAPJOFv4QV8RZDPQd517Khyba8Jlr97j2kIBJD9K3mbOHSHiQDasj6Y3forATbIg4QZHxWnCeqqMkVYfUAivuL0L/68mMnagAAA" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Terence Eden is on Mastodon</p>@edent</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">My friends, please do me a small favour...<br><br>🏥 Go to this website - <a href="https://www.dgt.nhs.uk/patients-and-visitors/darent-valley-hospital">dgt.nhs.uk/patients-and-v…</a><br>🗺️ View the hospital map.<br>↩️ Reply to this tweet with a GIF of your immediate reaction.<br>🚫 No screenshots - just your heartfelt opinion.<br><br>THANKS GANG!</section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/edent/status/1382301609347186691"><span aria-label="60 likes" class="social-embed-meta">❤️ 60</span><span aria-label="165 replies" class="social-embed-meta">💬 165</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2021-04-14T11:56:00.000Z" itemprop="datePublished">11:56 - Wed 14 April 2021</time></a></footer></blockquote>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=38750&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2021/04/excel-as-a-mapping-tool/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>
