Hacker News new | past | comments | ask | show | jobs | submit login

The software should have pattern hints.

If you've got 99 cells with identical formulas, and one without, it's not far fetched for Excel to speculate that there may be a mistake (particularly if they're within X% of being identical). At which point it can provide a simple, non-intrusive hint.

And going further up the wishful thinking tree, into more difficult territory, Excel should be able to grasp what you're attempting to do by understanding, say, the top 10,000 (arbitrary number) tasks commonly performed by people using spreadsheets. That 'understanding' could then tip Excel toward deciding whether there's a problem, and whether it should leave you a nice little illuminated icon at the top right of the program with an exclamation mark.

Microsoft should have insane amounts of data on everything people do with spreadsheets, and they should be able to make it radically more intelligent (without being obnoxious or intrusive - it should be optional and highly passive).




If you've got 99 cells with identical formulas, and one without, it's not far fetched for Excel to speculate that there may be a mistake (particularly if they're within X% of being identical). At which point it can provide a simple, non-intrusive hint.

It already does this, actually. Enter some data in two columns, like:

    4	1
    2	3
    5	6
    3	2
    4	2
    2	1
Then enter a sum formula in the next column like =SUM(A1:B1) and drag it all the way down. Change one in the middle to something else, like =SUM(B3:B3) instead of =SUM(A3:B3) and a little green arrow appears in the corner. Hover above it an it explains there is an "inconsistent formula".


Spot that triangle among the million cells in a 1000 by 1000 table.


Click the "take me to possible formula errors" button.

http://www.c-sharpcorner.com/UploadFile/7e39ca/error-check-f...


> The software should have pattern hints.

I think a better idea would be to scrap the datasheet concept completely. Make people use a dataflow programming language, it will give you:

a) versioning of source code with standard tools

b) separation of inputs and process

c) program source that doesn't look like a game of battleship unless who wrote it was disciplined

d) strong typing

But it won't happen, god forbid we are faced with an initially steep learning curve.


Excel does have that. Exactly that.


You can actual show formulas in excel, instead of the values.

But that's not to say that it'd be easy to spot the one that is different. This is why excel has a little tooltip that pops up and says 'inconsistent formula' when it finds a cell that doesn't seem to belong.


Excel does give hints when formulas are out of pattern. It's called "Inconsistent Formula" and it's displayed with a little triangle on the box.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: