328 points · by pjmlp · 7y ago · 124 comments
But there are still massive pain points or improvements that could be added. For instance:
- linking between excel and powerpoint. Almost anyone who will show an analysis, whether in a bank, accounting firm, consultant, etc will prepare some table and charts in excel and will want to use them in powerpoint. The link between the two is unstable, screws the formatting, or requires lots of manual steps.
- Microsoft should really look into Apple’s take on excel, with a sheet being a canvas on which you can add tables, charts, the tables have scroll bars if they overflow. Instead of the rigid single grid per tab, where if you show two tables one over the other you need to align the columns even when they have different data types.
- VBA hasn’t been updated in 20 years and it clearly shows. There needs to be a more modern scripting language. I have heard rumors about javascript. Not convinced it’s a great choice, but that would still be better than VBA.
Another thing I'd like to see is to be able to treat cells as objects rather than single scalar variables. For example, to represent data that has more than two dimensions.
It sounds crazy but the CTO is a cofounder and he found it is much cheaper to just do everthing that way. They have been running like that for over 20 years.
In my own time, I've visited manufacturing plants where I've seen customers send the factory a spreadsheet containing nothing but a VBA project to exercise a (hardware) test jig for quality control.
This just reminded me that when I was young, I couldn't afford VB5/6, so I would program in VBA in the office products.
It had once been company policy that engineers didn't have compilers or other programming tools on their computers (because "we have programmers for that"). But engineers are a resourceful lot, and they did have Excel with VBA.
Contrast that with a 20something can grad who while competent isn't as smart as that non tech guy, and has indoctrinated the cs way of doing things w.r.t. test coverage and unit tests but often will lack the insight of what the program is actually trying to do. Frankly I would also like to choose the former than the latter.
They would turn into a huge mess unless the coder is very diligent and understand every part.
CS 'indoctrination' is not a failure of education. Surgeons have been 'indoctrinated' to know pre-op procedures.
I have many similar annecdotes. Having a good understanding of the underlying domain and what numbers to expect is critical to writing correct models and too often I see dev teams in banks that have no understanding or curiosity of what they work on.
I also figure the company you refer to has some real benefit by focusing on one technology everyone knows.
But how and the heck do they manage a gate in a spreadsheet?
They work but they are not pretty and not easy to maintain. VBA is technically a "complete" language (I want to say Turing-complete but that is not a meaningful trait), so it is possible to do a lot with it, but one ends up having to re-implement (sometimes badly) stuff found in other languages in order to write the main parts of the code.
Part of what makes VBA deceptively easy is the control over the interactive elements of Excel (a lot of stuff is done with the Range object), but unfortunately that also introduces state that you can't always control, which entails write extra checks to make sure the state is correct before proceeding. This is especially true if your users are on different versions of Excel (I once wrote something in 2010 that doesn't work in 2016).
There are now other options like QueryStorm [1], which lets you write C# in Excel and connect to SQL databases.
There are also a bunch of Python-Excel solutions that are based on manipulating COM objects, but I've learned that when dealing with a Microsoft stack, there are advantages to using Microsoft-native languages like C#.
Coming back to the article, it mentions adding arrays, vectors, and records to Excel itself; this will make Excel much more powerful because it has traditionally been a cell-based computation system, which has disadvantages that higher-level abstractions overcome (like vectors and tables).
It also mentions writing Excel functions in a first class manner instead of relying on a separate procedural language like VBA. Operations on arbitrary sized arrays will also help it transcend Excel's issue of operating on fixed size arrays -- this will clean up a lot of very messy formulas.
These developments will be interesting to watch, because it brings Excel much closer to a true functional computing system, and gets closer to Quantrix [2] territory.
[1] https://www.querystorm.com/
[2] Quantrix is a multidimensional spreadsheet, and a commercial successor to Lotus Improv.
There are clever ways to answer these questions but if you condescend to Excel as a development platform, and believe you can't build anything great with it, you may never brainstorm enough to uncover them.
And I've got to say, they made a great choice. He's one of the most effective communicators I've ever seen when it comes to teaching new ideas.
Specifically:
- arrays and objects living in a cell
- mix of spreadsheet and textual views
- functions in spreadsheet cells, and running spreadsheets as a messaging service (as a lambda function / API)
- dynamic array sizes
We deliver this by offering a grid view of (structured) JavaScript code.
To be honest, mobile is not a focus as I think it's hard to be productive without a proper keyboard. I'd like to make the iPad + kb experience better in the long-term though.
Thankfully IE11 has Office interop via COM, so Mesh (or a site embedding Mesh) can talk to existing spreadsheet investments.
And on the locked-down front, Mesh doesn't require IT permissions to run (unless JS is disabled in your browser).
[1] "Spreadsheets are Code" - https://www.youtube.com/watch?v=bdfNvYPxkOY
If you’ve got any feedback, please let me know! I’m david@. Thanks!
However, with great power comes great responsibility ...
Unfortunately for Excel, it’s essential to Microsoft’s product strategy for keeping people on Windows, which means that Excel on other platforms feels almost as if it were sabotaged compared to the “native” experience in Windows. I feel like Excel could really thrive if only it could separate itself from the mothership and focus on its own interests.
https://www.theverge.com/2019/1/18/18187990/microsoft-365-co...
I knew the starting and ending units, but Google calculator and Wolfram alpha have made me sloppy.
That way my people can still use Excel but I have a way of validating and controlling it.
Hint: as far as I remember compression ratio is 0 (stored) - best to keep such on re-save for compatibility.
https://docs.microsoft.com/en-us/office/open-xml/open-xml-sd...
Microsoft: Let's make better spreadsheets
Has anyone integrated Excel with a db like PostgreSQL?
There is a company called DataNitro that sells a Python add-on for Excell which allows you to use Python instead of VBA. It works pretty well, but I no longer use it.