242 points · by taylorwc · 7y ago · 155 comments
The spreadsheet is certainly one of the best tools ever invented.
[0] Joel's Spolsky must-watch talk on Excel: https://www.youtube.com/watch?v=0nbkaYsR94c
A lot of software is like single-use kitchen gadgets. So called "unitaskers". It has one purpose envisioned by it's inventors, and you'll be lucky if you ever figure out something else it's good at. Sometimes they're pretty slick, but still limited. My mother has a device that skins, slices and cores an apple all at once. With that device, you can process enough apples to make a pie in a minute or two... but the chances of you ever finding anything else that tool can do are slim. Maybe you could use it to slice curly french fries out of a potato, but that's about it. It saves your time if you're operating in the narrow problem space envisioned by the inventor, otherwise it doesn't have much of anything to offer you.
Programmers love creating unitasker software, particularly for end users, frankly because it takes much less thought. And when they do create powerful general purpose highly flexible software, their target audience is most often other programmers. Excel (and a handful of others like hypercard) are proof that this status quo can be broken.
Restrictive IT policies are the root cause of some of the gnarliest Excel sheets I've seen.
Exactly. If we view personal computing more like a "medium for literacy," then it becomes clear that computing power is wildly imbalanced. This is especially egregious when we consider the original goals of personal computing. Spreadsheets, Hypercard, and things like them were a totally different direction for computing that has largely since been abandoned in favor of market-dictated "wants" and shrink-wrapped "solutions." The upshot is that the people who should be most in the know -- computer people, developers, etc -- are stuck in a rigid world of epistemic closure (where, for example, Unix is more or less the "End of History")
I have yet to find a better definition of programming than "telling a computer what to do." When put this way, a lot of things that the trade-school approach consider "programming" are really only a subset -- and perhaps the most regressive and uninteresting to boot.
We ended up going a slightly different route, but thought this might be worth sharing.
(I am not affiliated in any way and have nothing to gain by this.)
Unstructured use of Excel is a completely orthogonal problem.
(Though this only solves half the problem, the other half being that even if you can wrangle Git or the like to version files inside a ZIP, Git is far from being a tool that could be considered appropriately usable to dump on the Excel audience...)
FWIW we've explored that idea in the past, using git textconv to diff spreadsheets https://www.npmjs.com/package/j#using-j-for-diffing-spreadsh... -- it seems nice on paper, but quickly becomes hairy
where is this unnecessary lisp hate coming from? /s
And obviously, merge would be nice if multiple people can legitimately edit concurrently.
I've spent months reverse engineering a vast, complex, costing application that had evolved within a spreadsheet and needed (for very good reasons) to be turned into a proper application. The really entertaining part was trying to convince people that their spreadsheet didn't actually do what they thought it did....
Edit: It was costing a complex heavy industrial process so it had logic that was basically physics right through to finance.
People really underrate Excel as a programming environment, honestly. Yes, it's crippled and leads people to produce massive gross un-debuggable hellsheets ... but there's reasons (beyond just "it was the only usable software that could be run on office computers") that end users with a problem to solve keep turning to it despite those flaws. The combination of reactive programming, data-first visibility, no hidden state, decent approximations to structured programming by way of click-drag-and-copy-paste, and being able to reference variables and values without needing to name them has some kind of magic to it.
There's quite a bit of interesting research I've seen from Microsoft on how to take something like Excel and turn it into a non-crippled programming environment - spreadsheet-defined functions (including recursion, lambdas, and higher-order functions natively in the spreadsheet environment, without having to drop into VBA!), dynamic arrays, an alternate computation-first textual view that exists simultaneously with the data-first spreadsheet view, first-class complex data structures ...
Between HyperCard, Jupyter/Mathematica notebooks, and Excel, there's a lot of common features that seem to point to a vision of a truly useful end-user-accessible programming tool, something that would let people write real, useful programs intuitively and quickly enough to be worth building them themselves for whatever they needed them for, without forcing them into condescendingly-simplified drag-and-drop "visual programming" codeless clunkfests.
No, the way to tame Excel is to make it less general, to impose principles of structured programming on it. Separate code and data and presentation. Put some of the data in a database. Impose types on it, so Excel doesn't interpret genomes as dates etc. Make the control and data flow visible. Split it into pieces with defined responsibilities.
Excel is really a "two dimensional assembler": you put an operation in each cell, and they can read any other cell, and it all executes together.
I like to call it a fundamental or building block technology that enables you to develop things on top of it, my favorite being a finite-state-machine we modeled in a sheet. Won't be surprised if we end up talking about Google sheets being one of my favorite products.
I'd rather not work with them more than basic/classic usage of a more well formed data dump. I use spreadsheets for monthly finances, some historical information that fits well, and a few other use cases. I'm not big on VBA and have little desire to work in the space.
I have, however, seen some amazing usage of Excel and other spreadsheets for everything from charting and pivot data, to multi-user applications tethering to other data stores.
Google Sheets, on the other hand, is truly compelling, and a lt of the work I've been doing lately has been using Sheets and Apps Script to build really powerful "apps" on the super-cheap. This is the stuff we used to do with VB years ago, and it would take weeks. Now I can get at least a PoC of a fully multi-user system in front of a client in a day, and they don't pay anything to host it.
How is a spreadsheet “inclusive?” What does that mean?
What Excel doesn't let you do (without heroic effort in support toolchains) is software engineering...
Excel works very well for single users with small datasets but if the business works it breaks in various ways. Sharepoint was the solution to scale excel but it didn't seem to have been successful as a tool.
A lot of companies don’t want to invest in tech they don’t control or understand.
no. this does not happen. everyone uses excel.
Without difficulty? No, definitely not. The difficulty is always there, it's just internalized, ignored or worked around in various (often crazy) ways.
I've seen these trends around "Unbundling" Excel:
- Improve UX by specializing UI
- Increase automation with software integration
But given that Excel is acting in the guise of software, doesn't it follow: 1) Running business of Excel has many of the same problems as other software
2) Excel has some key advantages over other software
(By 1), I mean, QA, testing, deployment, etc...)The article mentions that Excel doesn't need much onboarding. I don't think that's its only advantage. Also, to solve the general software development problems around Excel, one has to match the near-zero onboarding barrier of Excel, otherwise those solutions will get left behind.
Does the experience of Sharepoint bear this out?
The main advantage of Excel, which leaves us pessimistic on the long-term viability of the niche SaaS solutions, is the "hackability". There's an incredible depth of tooling and market expertise around Excel, from mundane formula structures to macros to addins and COM automation. Thousands of office workers who otherwise have little programming experience are extremely adept at solving problems with Excel.
The SaaS solutions might individually solve different problems, but are not really designed to play nice with each other (nor are they really incentivized to work well together).
They are great for small projects and prototyping, but just don't scale well unless you want to pay for expensive babysitting.
Note a good CRUD app allows exporting of data to Excel for searching or experimenting with budget scenarios etc., but the "original" data should be in a real database.
About two weeks later, I showed her how to use Excel, and she took to that immediately, and uses it for nearly everything. It's to a point now to where I wonder if she'd pick up Go better as a result of her experience with spreadsheets.
They absolutely are databases. What definition of database are you referring to? Google's dictionary defines it as
"a structured set of data held in a computer, especially one that is accessible in various ways."
That's a spreadsheet.
This advantage shows when using Excel positionally rather than as a simple data table system. For example, =B7*C6 is virtually impossible to express in SQL, and constructing positional lookups using concepts such as “the previous row” or “the next column” are virtually impossible - yet, easy in Excel:
INDIRECT(ADDRESS(1+ROW(H229),COLUMN(H229),3)
Excel’s ability to write non-tabular data and calculations alongside tabular data, without needing to split it onto another tab/pane/page, is another critical benefit that databases cannot match. While they have stored procedures and linked functions, they have no concept of “positional” with which to model the theory of canvas that underlies Excel.
Finally, due to being a canvas model with calculation functionality, Excel meets the basic needs of a page layout and data graphing engine, with the ability to configure and position reporting in various UX ways that are considered out of scope for nearly all databases. HyperCard, FrameMaker, MS Access all clearly understand this issue and work to solve it in various respects.
So while the written definition of spreadsheet may seem to be encompassed by the word “database”, that is true only if the word “database” encompasses canvases that store both tabular data and other content, and not just key-value data (such as a MongoDB or anything SQL).
If you want to break into the Excel market, you won’t do it with a database alone. You’ll need canvas UX to even begin to be relevant, a point many startups discover the hard way.
As I wrote initially, if you losen the definition that much, then a txt and literally everything is a database.
There are many different definitions but my personal completely subjective perspective is that the bare minimum is that whatever structure you claim the data has must be enforced and be translatable to a semantic connection. For most sql databases you have a schema enforcing the structure and at a minimum there is a connection between different pieces of data in the same row.
In a spreadsheet having different sets of numbers/text/code on the same row or column might mean something but doesn’t have to. So whatever “structure” there is, is not enforced.
This is in the same sense that a txt document that contains 4 book chapters have in them 3 email addresses is a “structured list of emails” sure you could find them and there is a structure to it, but calling it a database is a stretch in my book.
There are plenty of computer programs that use text files as databases, reading and writing lines. /etc/passwd is one very common example, the passwd file is just a text database that you can read with any text editor.
I mean a HN comment is also a database, a text is a database, a picture of rocks arranger i the shape of names is a database.
In the world of stupid internet arguments, sure we can agree you are right txtfiles are database, .wav files are database, everything is a database. Talk this way about it at a job interview and you’ll get cut by your second sentence
And that is the power of Excel - a client can build their own solution, backed by our service. We do the parts that Excel can’t do or do well.
This frees us up from the pressure to build customization for any client - we won’t do customization only generalization.
We will create new features without any UI - just the API for JSON and CSV. This lowers our costs and development time - UI can be expensive and time consuming.
- Direct query from Excel to SQL Server (This is fast, reliable but users need to know SQL)
- Cube pivot or formulas to SQL Server Analysis Services (Lower user skills needed, but depends on IT/Dev to setup correct measures and processes in Analysis Services)
- Using MS Access as an intermediary between Excel and SQL Server (Using MS Access in the middle is a great way to allow people that don't know SQL to build some simple joins. Comes at the cost of query performance though.)
- Using MS Power BI to connect to SQL Server data (this is in its early days at my company, but is proving to be a great solution for historical reports, where Excel usually shows its limitations)
Airtable seems to have the main advantage of Excel (it can be customised by a non-technical user) whilst solving some of the limitations (e.g. multi-user, permissions, workflow triggers).
Someone who would have built their CRM tool in Excel in the past, might well choose Airtable today.
Personally, I wish I had an excel-like interface for Python/Pandas. Instead of sheets, give me modular data frames, and give me a nice GUI for data import/export/connection.
But, the best feature of excel is that the interpreter is built in. No version control, no wondering which version of whatever library is installed. If it is excel, it (mostly) works when I send a file to someone.
Most of the time, I use excel because the SaaS tools that I have that do a better job have a per/seat cost that is MUCH too high for me to bring casual, one time people into the projects. If companies were more sensible about licenses for casual users, maybe excel would be less relevant.
This is the main reason why I don't use products like Airtable or Notion, even though they are otherwise very compelling. Charging $10-40 for every user, even people who may log in once every few months (and maybe don't even change data) makes no sense. At that price, even excel files on a network drive is better.
Instead of having to log into 10 different SaaS apps, you simply make a few menu selections from within Excel / GSheets and your data is pulled in, ready to be analyzed.
The spreadsheet becomes the UI, and the SaaS "apps" are basically databases accessed via an API.
Spreadsheets are good and fine until they're not (fine-grained permissions, collaboration, referential integrity and validation enforcement, multiple data source aggregation and ingestion, easy visibility into history and auditing, features that Excel has but people don't want to learn, etc).
You have to convince customers that what they have going is not actually working, which requires having a discussion about how just because poor data management practices have thus far failed to completely destroy your company, they are wasting tons of time and money. Many of them will have in the back of their mind that they can always go back to how things were before.
So the behavioral change/change management aspect of a product that really does directly compete against Excel is very challenging.
All of the things you just mentioned could be handled using just two mechanisms:
1) An extremely low friction way of flowing data to/from spreadsheets
2) Automated publishing/versioning
If a particular piece of automation for flowing data between and in/out of spreadsheets is the lowest friction for users, then that will be the way they use by default. Then that software will be able to provide collaboration, fine-grained permissions, referential integrity, validation enforcement, multiple data source aggregation, ingestion, and auditing. Tracking versions takes care of the rest. The trick isn't providing all of those facilities. We've known how to do that for many years. The trick is to provide all of those with near zero friction.What's needed is something like Dropbox, plus dataflow. Just let users save their files, and it gets versioned and uploaded into "staging" for the dataflow part without their having to do anything. Then, as people start running into issues of scaling, enforcement, etc, enable them to start incrementally adopting more administration features -- all while preserving the transparent "it just works" magic of their just saving the file.
Instead of telling them their solution blows, its better to gain trust by first addressing the pain points without any major rework, and then slowly change the system bit by bit, with each bit providing an instant usable benefit to the end user.
There is no way to switch from email and Excel to a third-party web application without major rework.
That's what makes it hard.
Right now SaaS products are mostly single-purpose workflows and aren’t super customizable (until the start-up ages and enters a few enterprises who demand customizations). This is a step-up from Excel which was general purpose but didn’t facilitate workflows seamlessly.
However what Airtable is finding is almost any specific SaaS can be recreated with general purpose spreadsheet-like products. Essentially they merged the ease of use of Excel with additional shared workflows of SaaS.
Telling Betty what to do is way more agile than having a task put in the bottom of some Scrum backlog.
The problem of course is that this becomes an important business metric, making the spreadsheet a critical business application, but without any of the tooling used for successful software development (version control, code review, test automation)
How many people prefer Slack native desktop over the web experience?
Excel is the ultimate rich client experience for power users. Maybe we should brining the web to Excel, rather than the other way around?
I reckon one large company coming into our office and spending 2 hours describing their new software to assist with blast design.
They gave us a trial and while it was slick, it was not much better than our spreadsheet, that everyone can use and the few extra features they showed we easily implemented ourselves in the spreadsheet.
Hate to think how much money was spent developing this software that literally was a pretty GUI over a spreadsheet.
the gist is here:
https://gist.github.com/stefano77it/ea8f20efebc9d51def852719...
Just because I can quickly make a boat with duct-tape and 2x4's doesn't mean I'm ready for an Atlantic crossing.
I made an app called https://Sheet2Site.com which takes your spreadsheet of items/objects and translates it into an app, with filters.