News for hackers. Stuff that matters.
Re:Technical error with Excel.swapped names.Andreas Babler e... by theshrike79 on Monday June 05, 2023 @11:17AM (#36197443)
Excel still doesn't have any way of doing unit tests or confirming that the content is valid and as it should.

For example: you can have an Excel file with 100k lines and have a formula accidentally replaced by a static number on line 87456. Nobody will ever find it.

Re:Technical error with Excel.swapped names.Andreas Babler e... by dokem on Monday June 05, 2023 @11:30AM (#36197684)
Does Excel have version control and diffing? I know Word does.
Re:Technical error with Excel.swapped names.Andreas Babler e... by jonp888 on Monday June 05, 2023 @11:35AM (#36197804)
A diff tool called "Spreadsheet Compare" is included with Excel. I don't think its supports "Track Changes" like Word.
Re:Technical error with Excel.swapped names.Andreas Babler e... by HPsquared on Monday June 05, 2023 @12:26PM (#36198713)
It supports track changes if you save the file as a "shared workbook". That has a limited feature set, though.
Re:Technical error with Excel.swapped names.Andreas Babler e... by nullindividual on Monday June 05, 2023 @12:37PM (#36198919)
When stored on SharePoint, yes to version control.
Re:Technical error with Excel.swapped names.Andreas Babler e... by robertlagrant on Monday June 05, 2023 @01:00PM (#36199320)
But it's not useful. Version control on WYSIWYG is definitely not a solved problem.
Re:Technical error with Excel.swapped names.Andreas Babler e... by wombatpm on Monday June 05, 2023 @12:49PM (#36199131)
Not in any manner that is useful
Re:Technical error with Excel.swapped names.Andreas Babler e... by xkcd-sucks on Monday June 05, 2023 @11:54AM (#36198169)
Do people working in finance / government / other places where Excel heavy fields really not have any tooling for "linting"/"typing" (formula replaced by static number in 1 line, integer displayed as date etc) or "unit testing"?

This sounds like an assumption worth validating, because it sounds like an easy product to sell for lots of money.

Re:Technical error with Excel.swapped names.Andreas Babler e... by theshrike79 on Monday June 05, 2023 @12:13PM (#36198467)
Nope.

Source: SO works in a field where they handle other people's money and payroll. Not a small mom & pop shop either.

The employees use Excel sheets handed over from "someone" and just plug in the numbers.

In Britain they messed up the covid numbers because they used the wrong format to store their infection numbers and lost all lines after 65534...

Re:Technical error with Excel.swapped names.Andreas Babler e... by veave on Monday June 05, 2023 @12:33PM (#36198828)
I was paid once to turn an Excel sheet into a basic website because the employees kept inadvertently messing with the formulas...
Re:Technical error with Excel.swapped names.Andreas Babler e... by pradn on Monday June 05, 2023 @01:44PM (#36200054)
The startup that became Google Sheets was basically an Excel->HTML conversion tool.
Re:Technical error with Excel.swapped names.Andreas Babler e... by Tyruiop on Monday June 05, 2023 @12:32PM (#36198802)
Yes.

> This sounds like an assumption worth validating, because it sounds like an easy product to sell for lots of money.

Unfortunately, it's not so simple. I've worked in exactly this field, getting such institutions/companies to adopt this kind of software is ridiculously hard.

Re:Technical error with Excel.swapped names.Andreas Babler e... by AndreasHae on Monday June 05, 2023 @12:38PM (#36198922)
Would love to hear your experience on why that‘s the case. Sounds like an idiot proof value proposition to me, considering the damages that could be avoided.
Re:Technical error with Excel.swapped names.Andreas Babler e... by yamazakiwi on Monday June 05, 2023 @01:31PM (#36199809)
A few examples are:

The people are stubborn and many have had experiences with subpar enterprise software. If they are billing clients, any additional step in software is akin to a national tragedy to them. They will complain something is "broken" if it doesn't fit their mental model of what a software should be before trying anything new.

Re:Technical error with Excel.swapped names.Andreas Babler e... by _dain_ on Monday June 05, 2023 @02:45PM (#36201091)
Unfortunately, nothing beats Excel for "agility" and smoothness of the learning curve. You can whip up something that kinda-sorta-works, very quickly, without any software training.

Another thing to consider: we are conditioned to believe that the web browser is a "universal runtime", i.e. it's the thing that everyone has, so you should target it. But actually, it's not the only one. When considering Windows computers (which is all that matters in offices), Excel is a kind of dark-matter universal runtime, for dark-matter IT[1]. Better, it's one that doesn't require a persistent server, or logins, and it's peer-to-peer, in a sense. Everyone has Excel installed, everyone has an org email account, therefore everyone can email xlsm files back and forth, no extra setup required (try doing that with exes). No SaaS offering has that kind of caveman convenience. And you might think -- that's horrifying. But email is the way communication/collaboration actually happens in the median bureaucracy, so Excel's ubiquity and file-orientedness is an insurmountable strength.

[1] https://en.wikipedia.org/wiki/Shadow_IT

Re:Technical error with Excel.swapped names.Andreas Babler e... by croes on Monday June 05, 2023 @12:47PM (#36199087)
If seen people in the insurance business using Word as their calculation tool.

If these tools need any type of user interaction they won't use it.

How many people still right align text per spacebar or tab if they are pros?

Re:Technical error with Excel.swapped names.Andreas Babler e... by larkost on Monday June 05, 2023 @12:51PM (#36199160)
My SO works in accounting, and they really do run without guardrails. And yes there are a ton of different software packages that people can buy for various uses (and do).

The main problem here is that Excel is so very flexible, and everything else is not (generalizing here, but it gets the point across). So the after the third time you are using Excel to handle the exceptional cases, you start to wonder why you are not using it everywhere else.

Of course the counter-problem is that it is so flexible that it accommodates your mistakes without pointing them out.

Re:Technical error with Excel.swapped names.Andreas Babler e... by jimnotgym on Tuesday June 06, 2023 @11:09AM (#36214009)
Of course the actual accounts are normally not in Excel, but in a proper double entry system
Re:Technical error with Excel.swapped names.Andreas Babler e... by dmoy on Monday June 05, 2023 @12:52PM (#36199186)
> Do people...

no they don't. Not even for billion dollar scale accounting

> because it sounds like an easy product to sell for lots of money.

Is it Excel though? Because if not, then you're going to have the mother of all uphill battles trying to get it sold.

It would be akin to trying to convince a giant company with hundreds of millions of lines of Java code to rewrite into golang.

Re:Technical error with Excel.swapped names.Andreas Babler e... by _dain_ on Monday June 05, 2023 @02:13PM (#36200539)
I used to work for a UK government ministry that has a budget in the tens of billions of pounds per year. I can tell you with confidence: no, there really is no linting, typing, automated testing, version control, nor any other tooling that you would consider "table stakes" for software development, when it comes to spreadsheets. Every single policy mechanism of that ministry relies, at some point in the pipeline, on at least one untested spreadsheet full of copypasted formulae, and inscrutable VBA macros passed down through generations. There are quality control reviews, of course, but they're manual. They don't scale. And these spreadsheets are used to make decisions that decide the fates of nearly 70 million people. And that ministry is not exceptional wrt other ministries, i.e. they're all as bad as this.

There were low ranking people who recognized how stupid this all was, and pointed it out. But hardly anyone with decisionmaking power even understood the problem. So nothing changed. It was the dark ages, and a major factor in why I quit.

Re:Technical error with Excel.swapped names.Andreas Babler e... by cultureswitch on Monday June 05, 2023 @06:39PM (#36205134)
I'm not sure it would be that easy to sell. The overwhelming majority of Excel users don't realize that they need tests.
Re:Technical error with Excel.swapped names.Andreas Babler e... by rvba on Monday June 05, 2023 @06:39PM (#36205138)
There are ways to deal with this: array formulas, using formula inspector, Excel marks inconsistent formulas too.

You can also build your sheets properly, so formulas are secured from changes, or "draggable" - so even if someome breaks them you correct them.

The people who answer to you dont know much about Excel. What makes me wonder how much they know about programming.

Excel is a program that "gives power to the people" so there are tons of crappy sheets, that often mix data with calculations and so on. But you can make good sheets if you try. And know how to.

Other comments are amateur hour.

Re:Technical error with Excel.swapped names.Andreas Babler e... by _dain_ on Tuesday June 06, 2023 @05:37AM (#36210312)
>The people who answer to you dont know much about Excel. What makes me wonder how much they know about programming.

I'm one of the other "amateur" commenters, and I know about all of those things you mentioned:

>array formulas, using formula inspector, Excel marks inconsistent formulas too. You can use data validation for selectors, you can lock cells. You van use pivot tables for summaries.. named cells, perhaps tables (type of data collection).

Problem with all of these is some combination of:

- they suck

- boomers don't know how to use them

- you can't use them for compatibility reasons

Array formulae: boomers don't use them, and the good ones aren't backwards compatible with older Excel versions or LibreOffice/Sheets (major problem when dealing with ppl outside the org)

Formula inspector: I've never found this to be useful

Excel marks inconsistent formulae ... inconsistently. It fights you when you're trying to do something slightly non-standard but otherwise perfectly legit, because it's just pattern-matching. Leads to alarm fatigue. And boomers ignore it.

Data validation for selectors: boomers don't do this (are you seeing a pattern?). More importantly, they don't interact properly with macros.

Pivot tables for summaries: boomers actually do know these, but the problem is they're not reactive. They don't refresh when the data source changes.

Locking cells: there's no convenient way to tell at a glance which cells are locked and which aren't (yes I know about the "Find All" way, that's not convenient).

Named cells: inconvenient, no namespacing, you can have duplicates of the same name that refer to different things, or dead ones that point to nothing, and there's no good way to debug it.

Tables: these are great, but sadly aren't compatible with LibreOffice/Sheets. Column names cannot be dynamic. Also they will fill down a formula even when you don't want them to, there isn't a way to turn that off afaik.

>You can also build your sheets properly, so formulas are secured from changes, or "draggable" - so even if someome breaks them you correct them.

People can and will fuck up even the best-made sheets in irrecoverable ways, that are difficult/impossible to detect automatically within Excel. Yes, we locked all the cells except for inputs, password-protected the sheets, used data validation, used tables, used named references, we did all that stuff you're meant to do and more. It wasn't enough: we'd get back the filled-in sheets and there would be broken references every-fucking-where. I've forgotten exactly what they were doing, but whatever it was, I had to write Python scripts to diagnose it by looping through all the cells and comparing the formulae and sheet layout against a known good copy.

(Yeah I know I know, it's "source: trust me bro". I'm racking my brain to remember what exactly they were doing to cause the corruption, and it's eluding me. But I'm not making it up.)

Re:Technical error with Excel.swapped names.Andreas Babler e... by rvba on Tuesday June 06, 2023 @03:41PM (#36218091)
Your first argument is that "boomers dont know / want to use excel properly". What is not really an argument.

Also it is common knowledge that MS tries to get rid of open spreadsheets - only allowed competition are google sheets. If your Excel doesnt have array formulas - please get a newer version. Even 2003 had them.

I dont claim that Excel doesnt have problems, also it could be better - but there are ways to make more robust calculations.

On a side note Excel and the dreaded (obsolete?) VBA are one of the last democratic things that allow non-programmers to build things.

Personally I hate tables, you can in fact add some random crap in one of the random cells.

Lots of your criticism are valid, Excel could definitely be better. But now we dont have better.

As someone trying to learn SQL, the syntax of typical queries(one page long, not some basic ones) is horrible - the language is completely not designed for tasks when you glue 20 tables together... are those queries easy to understand / inspect? IMHO no.

Re:Technical error with Excel.swapped names.Andreas Babler e... by _dain_ on Tuesday June 06, 2023 @05:49PM (#36219530)
>Your first argument is that "boomers dont know / want to use excel properly". What is not really an argument.

it's the other side of the coin for "last democratic thing that allows non-programmers to build things" (which I sympathize with). you can't just ignore the capabilities of the userbase demographics.

>Also it is common knowledge that MS tries to get rid of open spreadsheets - only allowed competition are google sheets.

it's not microsoft's fault LibreOffice doesn't have tables. OnlyOffice has them. there's a feature request thread in the LibreOffice archives, someone asked for excel-style tables to be implemented. the LO devs didn't even know what they were(!), people had to explain it to them. dev response was lukewarm. there doesn't seem to be any great push to implement it.

https://bugs.documentfoundation.org/show_bug.cgi?id=132780

>If your Excel doesnt have array formulas - please get a newer version. Even 2003 had them.

I mean the new ones. the dynamic array formulae with the spill behaviour. SEQUENCE, FILTER, SORT, UNIQUE, etc. those are only in office 365.

>As someone trying to learn SQL, the syntax of typical queries(one page long, not some basic ones) is horrible - the language is completely not designed for tasks when you glue 20 tables together... are those queries easy to understand / inspect? IMHO no.

no disagreement there, SQL is not a good language. have you tried M?

Re:Technical error with Excel.swapped names.Andreas Babler e... by rvba on Thursday June 08, 2023 @07:21AM (#36240029)
Well you can. You can ask "boomers" to build stuff in a real programming language. Which they wont.

Also you act as if there werent any programming horror stories. Very often programmers want to rewrite the code they got from othera.

**

I am not sure which one is M and which one is DAX. Those are the PowerBI ones. In my opinion they are horrible. The idea of "steps" makes sense, but the gui that breaks steps is horrible. Also the syntax is horrible.

**

MS at some point had pivot tables, pivot tables with data model, power pivot, powerBI stand-alone app, "old" sql query editor. Now they try to add powerBI standalone back to Excel.. partially (on a side note I hate that poweBI exports from stand alone app to Excel are so horrible), and they got rid of the old SQL editor. If you want to write SQL in Excel you might as well use notepad..

PowerBI was supposed to be a step forward. OK it allows to build things, but is in my opinion horrible. M/DAX are horrible to use for typical operarions such as;

Changing source

Combining two sources

Joins

Joins on joins on joins

Joins

Syntax is supposed to be explicit, but it is horrible to write and horrible to read

Re:Technical error with Excel.swapped names.Andreas Babler e... by tomjakubowski on Monday June 05, 2023 @12:23PM (#36198651)
Is it really not possible to write unit tests for a spreadsheet with Office Script?

> and have a formula accidentally replaced by a static number on line 87456

Surely this specific case could be validated externally with a script too.

Re:Technical error with Excel.swapped names.Andreas Babler e... by theshrike79 on Monday June 05, 2023 @03:50PM (#36202531)
Yes, it's possible to do a VBA macro or an external program to validate a sheet.

But there is no built-in tool you can use to say to excel "this column must always be a number, don't ever allow it to be autodetected as a date" or "this column must always have a formula, if the formula doesn't exist or is a static number, alert the user".

You can lock cells, but who bothers doing that in the real world.

Re:Technical error with Excel.swapped names.Andreas Babler e... by elmolino89 on Tuesday June 06, 2023 @04:48AM (#36209980)
If one has to write a program to check if a user did not screw up cut and paste from one sheet/column/whatever it would be IMHO easier to just skip Excel, user and just write a script automating error prone C&P in Excel.

If some user wants to view it, then the script can create a valid Excel file.

Re:Technical error with Excel.swapped names.Andreas Babler e... by HPsquared on Monday June 05, 2023 @12:32PM (#36198794)
There are certainly a lot of good practices such as ensuring any formulas are compatible with "fill down". It'd make for a nice standard, like MISRA C.

If you wanted automatic formula auditing, I'd recommend using R1C1 reference style so formulas using relative references are independent of the cell's location, then use FORMULATEXT function, and an array formula applied over the whole range you want to check.

Then you could be sure.

Re:Technical error with Excel.swapped names.Andreas Babler e... by MonkeyClub on Monday June 05, 2023 @12:59PM (#36199292)
> If you wanted automatic formula auditing, I'd recommend using R1C1 reference style so formulas

That's indeed one of the basic suggestions in Spolsky's "You Suck At Excel":

https://www.youtube.com/watch?v=0nbkaYsR94c

Re:Technical error with Excel.swapped names.Andreas Babler e... by layer8 on Monday June 05, 2023 @12:45PM (#36199051)
Regarding your example, you can protect worksheets and have only some cells unlocked for modification [1].

You can add conditional formatting, VBA procedures, additional formulas etc. to do whatever validation you like. However, you need a software engineer (or someone who thinks like one) to properly implement that, and it’s not exactly fun.

[1] https://support.microsoft.com/en-us/office/lock-or-unlock-sp...

Re:Technical error with Excel.swapped names.Andreas Babler e... by x3874 on Monday June 05, 2023 @02:20PM (#36200655)
...and in the year 2525 one still cannot avoid having their users mistakingly copy & paste formatting and thus destroy auto-extending Excel tables...

There are workarounds using VBA, but not via Typescipt - the Excel JS API knows no clipboard.

Re:Technical error with Excel.swapped names.Andreas Babler e... by dilap on Monday June 05, 2023 @12:51PM (#36199159)
Have two different people do the same work, see if they get the same answer. Ideally the two people use different tools, so "likely to make same mistake" is minimized.
Re:Technical error with Excel.swapped names.Andreas Babler e... by kamikaz1k on Monday June 05, 2023 @12:54PM (#36199213)
“A man with one watch always knows what time it is. A man with two watches is never sure.”
Re:Technical error with Excel.swapped names.Andreas Babler e... by MichaelZuo on Monday June 05, 2023 @01:20PM (#36199614)
That's why you need three watches.
Re:Technical error with Excel.swapped names.Andreas Babler e... by gilleain on Monday June 05, 2023 @12:58PM (#36199288)
Oh man. My mother's house has so many clocks with a variety of opinions on what the time is. I have to average them to get an estimate of what the real time is.
Re:Technical error with Excel.swapped names.Andreas Babler e... by the8472 on Monday June 05, 2023 @02:30PM (#36200819)
Every man now has access to a swarm of atomic clocks in Earth orbit and the necessary relativistic corrections to know time anywhere on earth, down to a few nanoseconds.
Re:Technical error with Excel.swapped names.Andreas Babler e... by scrivna on Wednesday June 07, 2023 @12:30PM (#36229169)
Tell that to my microwave, my oven, the clock in my car, my watch, the clock on the wall…
Re:Technical error with Excel.swapped names.Andreas Babler e... by miroljub on Monday June 05, 2023 @12:56PM (#36199242)
That's why you use SQL and not Excel to analyse the data.
Re:Technical error with Excel.swapped names.Andreas Babler e... by theshrike79 on Monday June 05, 2023 @03:57PM (#36202628)
Will you be the one to teach boomer-age payroll accountants to create SQL tables for their calculations? I can give you a phone number to offer your consulting services :)

Of course a custom website backed by a properly schema'd SQL database would be better, but that takes money, time and someone needs to keep it updated.

People use Excel because it's on everyone's computer by default, they have full permissions to do anything with it without needing IT approval and it's surprisingly powerful when you get into it.

And if a client happens to have a really weird non-standard requirement for how their payroll is done, any accountant can easily create a custom Excel sheet just for them - instead of waiting 6 months for an external consultant company to provide them with a custom tool that does 80% what they need.

Re:Technical error with Excel.swapped names.Andreas Babler e... by miroljub on Tuesday June 06, 2023 @04:59AM (#36210074)
I understand why people still use Excel, but then, it's to be expected that there will be errors. And that's fine, some errors can be tolerated if the saving for using cheap tools with a cheap workforce is big enough.

But if you want reliability, just don't use Excel because making it bulletproof is pricier than just using SQL for reporting and analysis.

Re:Technical error with Excel.swapped names.Andreas Babler e... by mikehollinger on Monday June 05, 2023 @12:56PM (#36199248)
> Excel still doesn't have any way of doing unit tests or confirming that the content is valid and as it should.

I make this point when chatting with new team members that say "let's just use X," without really understanding how X works, and I use Excel as the analogy. Most people know how to use an equation field. Most people don't consider writing a spreadsheet programming, but it is.

And just like other types of programs, you can have really insidious bugs, and you need to consider how you'll address those, or address changes in the underlying or internal components of the system.

A famous one is that floating point math in excel can give you different answers for "is this the same as that" depending on how you write the equation, for example.

Re:Technical error with Excel.swapped names.Andreas Babler e... by enjo on Monday June 05, 2023 @01:43PM (#36200036)
Starting in 2003 I spent several years as a principal developer developing mobile office software.

When we launched our excel compatible spreadsheet we diligently formalized every function and wrote tests to verify behavior. It was beautiful.

Then we started receiving lots of bug reports from users because our calculations often didn’t match what they were seeing in Excel. Older Excel versions had lots of bugs and Microsoft had been carrying them forward because at that point it was “better” to carry the errors forward and display results people expected rather than fixing them and having everyone confused by the changed results.

So we copied their behavior as best we could. I wish I had the list still but it was long and full of weird edge cases which caused formulas to be incorrect.

Re:Technical error with Excel.swapped names.Andreas Babler e... by virgulino on Monday June 05, 2023 @02:37PM (#36200960)
Re:Technical error with Excel.swapped names.Andreas Babler e... by lfconsult on Monday June 05, 2023 @01:49PM (#36200123)
Incredible story.
Re:Technical error with Excel.swapped names.Andreas Babler e... by emeril on Monday June 05, 2023 @05:34PM (#36204075)
yeah, that's a classic read
Re:Technical error with Excel.swapped names.Andreas Babler e... by peteradio on Monday June 05, 2023 @04:46PM (#36203353)
How did this work out in the end? I imagine it was difficult to decide whether copying bugs was the correct choice.
Re:Technical error with Excel.swapped names.Andreas Babler e... by enjo on Monday June 05, 2023 @10:54PM (#36207495)
It absolutely was. At the end of the day our product was measured against fidelity to Excel… so any deviance was always bad for us.

I believe Google made the same choice with Google Sheets even.

Re:Technical error with Excel.swapped names.Andreas Babler e... by _dain_ on Monday June 05, 2023 @02:07PM (#36200420)
>A famous one is that floating point math in excel can give you different answers for "is this the same as that" depending on how you write the equation, for example.

Is this specific to Excel? Floating point math can do that regardless of the platform. Addition on floats isn't associative!

Re:Technical error with Excel.swapped names.Andreas Babler e... by mikehollinger on Wednesday June 07, 2023 @08:07AM (#36225773)
> Is this specific to Excel?

No. And yet they still have situations where excel itself will differ from ieee 754. See https://learn.microsoft.com/en-us/office/troubleshoot/excel/...

Re:Technical error with Excel.swapped names.Andreas Babler e... by pjacotg on Monday June 05, 2023 @01:06PM (#36199410)
I've built a unit testing framework for Excel using Python and the openpyxl library. I work in a bank and using Excel was unavoidable in some cases. You'd basically build a test suite for a spreadsheet in Python and run it like a regular test suite. It helped a lot in catching issues. Obviously it would be nicer if unit testing was built into Excel, but it is possible to build side tools around it.
Re:Technical error with Excel.swapped names.Andreas Babler e... by riffraff on Monday June 05, 2023 @01:45PM (#36200074)
I know a guy who worked at $BIGBANK and did the same with Ruby, he gave us a presentation about it at a local user group meetup many years ago.

IIRC, he was pretty proud of being able not only to have a regression test suite, but also being able to do TDD-excel :)

Re:Technical error with Excel.swapped names.Andreas Babler e... by pjacotg on Tuesday June 06, 2023 @12:16AM (#36208024)
I completely appreciate that. I was also attempting to tell regular excel users about the virtues of TDD! I had grander plans where I imagined creating centralised test suites that caught more generic issues and anybody in the bank could upload their spreadsheet for validation. It didn't quite get that far though.
Re:Technical error with Excel.swapped names.Andreas Babler e... by pc86 on Monday June 05, 2023 @02:33PM (#36200890)
I've had columns filled with a formula and intentionally replaced one cell with a static value. You immediately get a warning on that cell that can be ignored/cleared but takes a handful of clicks to do so. Granted, there's no overall place to view the warnings (that I am aware of) so if you have 100k lines and one cell replaced you can't easily see it without inspecting everything. Is this no longer the case?
Re:Technical error with Excel.swapped names.Andreas Babler e... by theshrike79 on Monday June 05, 2023 @03:51PM (#36202537)
I just made an Excel sheet, put in formulas and I could just type over any formula with numbers without any notifications or errors.

How do you manage to require "a handful of clicks" to do it?

Re:Technical error with Excel.swapped names.Andreas Babler e... by mkishi on Monday June 05, 2023 @07:10PM (#36205570)
This only happens in "proper" tables. When you add a formula to a table column, Excel will automatically convert it into a "calculated column," so overridden values will have a green mark denoting an "inconsistent formula."

It's still a pretty minor warning and it only requires two clicks to ignore.

Re:Technical error with Excel.swapped names.Andreas Babler e... by wpietri on Monday June 05, 2023 @06:18PM (#36204827)
I agree with the general thrust of your point, but I should point out that there are non-technological ways to error-proof. E.g., this pre-computer approach: https://en.wikipedia.org/wiki/Double-entry_bookkeeping
Re:Technical error with Excel.swapped names.Andreas Babler e... by rvba on Monday June 05, 2023 @06:33PM (#36205058)
Excel marks inconsistent formulas, there is also a formula checker.
Re:Technical error with Excel.swapped names.Andreas Babler e... by jimnotgym on Tuesday June 06, 2023 @03:28AM (#36209403)
Well it depends on your data. I'm an accountant and it is very normal for accountants spreadsheets to be full of 'check digits'. Checks and balances are well ingrained into accounts!

In its basic form you perform the same calculation on the totals as you did on the roots and subtract it from the result. The answer must be zero. I know it is harder on some kinds of data, but it can prevent a huge amount of every day errors.

Re:Technical error with Excel.swapped names.Andreas Babler e... by samrus on Tuesday June 06, 2023 @04:43AM (#36209937)
Makes perfect sense. The testing being discussed is to create platform where generic tests can be coded and rerun. So tests that aren't specific to totals and subtotals
Re:Technical error with Excel.swapped names.Andreas Babler e... by Foobar8568 on Tuesday June 06, 2023 @04:48AM (#36209976)
Power query solves these issues