News for hackers. Stuff that matters.
Re:Show HN: Turn an Excel file into a web application by pier25 on Tuesday May 21, 2019 @10:39AM (#19970528)
It amazes me to see companies big and small that basically run on Excel.

Why do you think Excel is so ingrained into all kinds of companies and processes?

Re:Show HN: Turn an Excel file into a web application by crispyambulance on Tuesday May 21, 2019 @11:51AM (#19971315)

    > Why do you think Excel is so ingrained into all kinds of ...
Because it works.

Programmers underestimate and put down excel all the time, but I think it's actually how many projects they end up with get started.

Someone had a problem, solved it for themselves using excel, got noticed, expanded the solution to other problems until the excel solution itself became the problem and then... it ends up as a project for you.

There's nothing wrong with that. It does the job, and it's not like the first course of action when there's a problem should be to assemble a scrum team with a cast of characters like a sitcom, and blow a million dollars to implement a bespoke software solution. Sometimes excel is just enough (and then some).

Re:Show HN: Turn an Excel file into a web application by plafl on Tuesday May 21, 2019 @12:09PM (#19971518)
My first job consisted in updating Visual Basic code behind an Excel file that specified the hydraulic circuit for an aircraft. It was a simplified version of the circuit for use in a simulation that was used to calculate pressure loss based on several valve and pipes parameters. The results were exported to a txt file to be loaded by the simulator.

Also in the same project I remember another Excel file with mechanical calculations that actually updated a nice graphic that simulated all the linkages and different extensions of the actuators and computed forces at different points. The unholy alliance of elegant Lagrangian mechanics with Visual Basic.

I hope to never touch Basic again but it was a valuable lesson about getting things done and I'm glad I took it so early in my career.

Re:Show HN: Turn an Excel file into a web application by SonOfLilit on Tuesday May 21, 2019 @10:41AM (#19970557)
Because spreadsheets are at the sweet spot of most complicated programming language that non-technologists can reasonably be expected to learn on their own.

Because you should have a reeeealy good justification to write a single line of code for something that can be done in Excel much cheaper, and mostly you don't.

Re:Show HN: Turn an Excel file into a web application by SonOfLilit on Tuesday May 21, 2019 @10:45AM (#19970592)
I guess what I'm trying to say is: it's a feature, not a bug, and it's really important for entrepreneurs to understand this because otherwise they might think they have no competition where their competition is with the most useful piece of software humanity ever produced.
Re:Show HN: Turn an Excel file into a web application by jyriand on Tuesday May 21, 2019 @03:40PM (#19974043)
You only need one tool to run your business. You can use Excel for bookkeeping, inventory, salaries, invoices, project management, budgeting, presentations, planning, forecast, brainstorming, timetable, to-do list and so on. If you would use a separate app for each of these you would go insane. Easier to learn one powerful tool than hundred small ones.

Take a look a talk by Joel Spolsky called You Suck at Excel. It's on YouTube. It will give you a quick glimpse into how Excel powerusers are using it and how fast you can create something useful.

Re:Show HN: Turn an Excel file into a web application by mmckelvy on Tuesday May 21, 2019 @12:08PM (#19971508)
- Because a spreadsheet is the best UI for many business applications (far better than an HTML table on a webpage).

- Because Excel allows the user to (i) perform ad-hoc calculations, (ii) audit the input and outputs, and (iii) easily modify the functionality in real time.

- People don't like filling out forms and most web apps are basically filling out forms.

Re:Show HN: Turn an Excel file into a web application by all2 on Tuesday May 21, 2019 @01:07PM (#19972101)
Points 1 and 2 sound like a REPL.

Say we had a REPL that also had a table (like excel, each cell has an address... a 2D stack if you will).

Say we interact using a mouse to select a cell or in the REPL to specify what cell we want to write to. Then, if we use a Lisp, we have tabular code and tabular data...

I might code this up for fun.

Re:Show HN: Turn an Excel file into a web application by jimbosis on Thursday May 23, 2019 @11:10PM (#19998148)
I don't know if it is what you are envisioning, but there is a spreadsheet program called Scheme In A Grid (Siag) [1] (part of Siag Office [2]).

From the "Introduction" [3] of its Online Documentation: "Siag is an X-based spreadsheet for Unix. It uses Scheme (a Lisp dialect) both for expressions and as an extension language, which makes it easy to create new functions (for native Lispers, that is). There is no requirement to know Scheme to use Siag, expressions can be entered in traditional spreadsheet syntax as well."

[1] http://siag.nu/siag/

[2] http://siag.nu/index.shtml

[3] http://siag.nu/online-docs/siag/intro.html

Re:Show HN: Turn an Excel file into a web application by all2 on Friday May 24, 2019 @01:24PM (#20003579)
That's about what I imagined.
Re:Show HN: Turn an Excel file into a web application by airstrike on Tuesday May 21, 2019 @06:16PM (#19975698)
This is fine and dandy for small sheets, but if you're trying to build a sheet with multiple tabs, circularity, self-referencing IF statements, or lots of data, it will get really hard

Also, the #1 Excel rule in Wall Street is "never use your mouse"

IMHO, I think the better project is an equivalent of an RMarkdown / RStudio tool that generates a final report from a declarative set of instructions.

Re:Show HN: Turn an Excel file into a web application by opportune on Tuesday May 21, 2019 @01:13PM (#19972162)
This exists already - Jupyter + Python + Pandas.

Or a spark interactive cluster with a notebook interface if you have more data than can fit on a single machine

Re:Show HN: Turn an Excel file into a web application by pier25 on Tuesday May 21, 2019 @02:07PM (#19972920)
I agree on points 1 and 2.

About point 3, isn't a spreadsheet basically a sophisticated form?

Re:Show HN: Turn an Excel file into a web application by mmckelvy on Tuesday May 21, 2019 @04:41PM (#19974737)
With formulas, custom formats, charts, etc. I think you can make a pretty solid case that Excel is far more than a form.

But even if you are just using it as a form, with bulk operations and keyboard shortcuts, it's usually much easier to fill out an Excel form vs. a web / app form.

Re:Show HN: Turn an Excel file into a web application by baq on Tuesday May 21, 2019 @02:38PM (#19973352)
That’s the point, why spend a week on some fancy web app if excel is already there?
Re:Show HN: Turn an Excel file into a web application by pier25 on Tuesday May 21, 2019 @03:06PM (#19973679)
In terms of UI, maybe, but not in terms of data.

I've seen it countless times. Somebody sends an excel file over e-mail and it is either an old outdated version of the file, or the persons that receives it hangs on to it for months as a source of reference.

Re:Show HN: Turn an Excel file into a web application by mmckelvy on Tuesday May 21, 2019 @04:42PM (#19974752)
With shared spreadsheets, this should become less and less of an issue going forward I would think.
Re:Show HN: Turn an Excel file into a web application by Symbiote on Wednesday May 22, 2019 @03:26AM (#19978703)
With a conventional LAN with a fileserver, it is already easy to keep one spreadsheet. I don't think people can edit it together.

MS Access is much better for allowing simultaneous editing, especially (IIRC) if it's backed by an RDBMS, since it will use row level locks.

My previous employer had several databases with read-only web interfaces, but Access editing interfaces. They're very fast to develop, and support all the usual database features (constraints, keys, search etc), and could be set to load a form-editing view by default.

Re:Show HN: Turn an Excel file into a web application by Gpetrium on Tuesday May 21, 2019 @11:37AM (#19971125)
Excel allows for the democratization of technology, decreasing the barriers to entry and allowing for easier user experience.

People/teams/companies need different degrees of security, complexity, data, etc to their day-to-day operations. Someone may be interested in fiddling with data without others seeing, others may not want to share certain data broadly (answering your point below). Excel has served as a way to unify these needs for the most part. Some other options available tends to fall on the outer-layers, where excel may not be optimal and someone felt a specialized tool could improve speed/quality/cost.

Re:Show HN: Turn an Excel file into a web application by discordance on Tuesday May 21, 2019 @10:42AM (#19970569)
It's accessible and empowers the individual.

Not everyone can code, but everyone can transform data in a spreadsheet and email it off to the next person.

Re:Show HN: Turn an Excel file into a web application by pier25 on Tuesday May 21, 2019 @11:02AM (#19970760)
I guess everyone accessing the same data at all times is not so valuable after all.

I've seen people having multiple versions of the same excel file and not remembering which was the last one...

Re:Show HN: Turn an Excel file into a web application by Flyer1 on Tuesday May 21, 2019 @03:07PM (#19973689)
I agree with most of the answers already posted about why Excel is so ubiquitous. To respond to this comment specifically, though, I'll just mention that we use a product called EASA to enable us put a web app on top of critical spreadsheets while also connecting to a database i.e. you can "de-couple" the data from the logic. There are some use-cases that describes this here: https://easasoftware.com/case-studies/amlin-reducing-risks-e...

...and here: https://easasoftware.com/case-studies/leaseplan-transforming...

Re:Show HN: Turn an Excel file into a web application by wvenable on Tuesday May 21, 2019 @11:15AM (#19970877)
Most programmers mistake the majority of the use of Excel as the creation of software. It isn't. It's mostly just construction of reports; sometimes just for one-off purposes.

I would theoretically be possible to write some software/reporting solution for every use of Excel but it wouldn't be an efficient use of resources.

Re:Show HN: Turn an Excel file into a web application by ben509 on Tuesday May 21, 2019 @03:07PM (#19973688)
And even the one-off reports represent the ability to do coding in tiny increments, precisely tuned to the demand. You can find some report from months ago and just open it up and add to it.

And as you're adding features, you instantly see the results; even as you type if you use the formula builder.

If you're working on any kind of software tooling, watching how people work with Excel is incredibly insightful.

Re:Show HN: Turn an Excel file into a web application by sethhochberg on Tuesday May 21, 2019 @04:45PM (#19974788)
Anybody being able to quickly make a significant change has its ups and downs, though... On more than one occasion I've caught word of some fancy spreadsheet a different team in a company has been using to draw insights for months, only to have nontrivial critiques of the source data or interpretation of the data that caused big changes in the results - stuff we would have ideally caught in a dev team's code review or QA workflow, but those processes are entirely bypassed when someone on the marketing team makes a spreadhsheet on their computer and dumps audience data from an advertising platform to seed it.

Spreadsheets are nontechnical users' version of "move fast and break things". Often times that can be useful, even essential, but there are many more cases where the primary utility of working that way is also the major flaw. Its faster than traditional report development because it skips any kind of review or QA.

Re:Show HN: Turn an Excel file into a web application by cr0sh on Wednesday May 22, 2019 @12:29AM (#19977766)
> I would theoretically be possible to write some software/reporting solution for every use of Excel but it wouldn't be an efficient use of resources.

One company I know which did this was called "Actuate"; that was years ago, a quick googling shows they were bought, now called "OpenText" (?) - also had something to do with MongoDB and something called BIRT (Business Intelligence and Reporting Tools)...

Last I had any involvement with them for a company I worked for, it was with their reporting suite of tools; the company I worked for became a VAR for them, so anytime the tool had a bug, we could quickly get them in an IRC chat (told you it was a while back) and get a patch within a few hours to a day or so, depending on the issue.

The reporting system was fairly unique for the time; a basic WYSIWYG drag and drop editor, ala VB - and for more complex designs, a VB-like object-oriented "reporting design" language. It was essentially what VB6 should have been on the OOP side of things, but geared entirely toward reporting.

Reports could pull data from any number of different sources, from flat ascii files, to excel documents, to database engines, ODBC, etc.

One of the last things I heard from them, at a seminar they put on that my company sent me to in Santa Monica, was this idea of reforming people using Excel spreadsheets. They called the whole sharing and copying of such spreadsheets, such that there was no one single authoritative source - a "spreadmart". So they wanted to do something about it.

They came up with some kind of Java-based solution with a custom front-end that looked exactly like Excel of the time, worked just like it - pivot tables, whole nine yards. But it interfaced to a backend using these "business logic" modules. The idea was all instances of the "spreadsheet" could see the same data via those modules, and those modules would be created by an IT staff (or DBA or something), and anything interacting with them in a company would have to go thru them - reports, gui, excel spreadsheets, etc. The idea was to present one cohesive view of the data for all users.

I don't know where it ended up - if they launched the product or not (we were being given a sneak peek at it at the seminar - it was a pretty nice demo, overall for the time).

A couple of weeks after coming back from the seminar, the company let me go (I'd worked for them for about 8 years - missed the whole "dot-com" thing because I believed in this company so much - lived and learned).

Re:Show HN: Turn an Excel file into a web application by ako on Tuesday May 21, 2019 @04:27PM (#19974570)
Because it allows business to get shit done:

* No need to depend on an IT department which is already overbooked

* No need to find budget to fund a project

* No need to wait forever for the IT project to finish.

It gives an business person control, as they can do it themselves.

Re:Show HN: Turn an Excel file into a web application by jpindar on Tuesday May 21, 2019 @02:29PM (#19973196)
People use Excel because their manager wants them to use Excel.

Their manager wants them to use Excel because all their past managers have wanted them to use Excel. And so on.

Also, it's already there on all the computers.

Re:Show HN: Turn an Excel file into a web application by ww520 on Tuesday May 21, 2019 @12:04PM (#19971466)
Excel is declarative programming at its finest in practice.
Re:Show HN: Turn an Excel file into a web application by dustingetz on Tuesday May 21, 2019 @11:59AM (#19971407)
it grew that way from inception. no inception -> no growth