-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operate or range over all valid cells in a column or row #451
Comments
@andmarti1424 If we are supporting expression in ranges (which is the intent of asking this: #501 (comment)), can we do it for the generic case instead of special functions? If we do that, then this pattern will be part of it and will look something like:
And given this expression is run from Given @ceaum is asking to operate on all "Valid" cells, I would assume he means all cells that have been assigned a number directly or by an numeric expression. Pattern
The advantage of extracting column name from
Another reason why
|
The thing with this If you want copy the formula to other columns we can think in something like: Behaviour is like this: every cell in the range would be part of the sum, doesnt matter if an empty cell is in the middle, or a cell contain both text and valid numbers. Same with @AvG, It counts only if valid number is in cell. About point 3, i believe you will be able to have a sum and avg result and copy it to other columns without problem, just using @lastrow and @lastrow-1 or something like that. |
something like this should work now |
@andmarti1424 Some issues:
getent.mp4 |
About 2 and 3, it seems @myrow is not updating correctly, and that leads to those misbehaviours. About 1, why you say its not added to the depgraph? Because it wont update correctly after you copy it and you have to reenter it?? |
btw, @reportaman, yes, its not in the doc yet. we need to think how the evaluation should be done. Cause for instance @lastrow gets updated all the time. should or shouldnt update all the cells that refer it? |
@andmarti1424 Am glad you ask this question regarding Currently a user has no way to know whether a cell holds a stale value or not. The only way to do that is to reevaluate every cell that holds expression one might suspect requires reevaluation. Given expression cells is what users end up consuming, not having expected (valid) value can break hearts with this app. Possible solutions:
Ideally in no case sc-im should show stale value in an expression cell without an indicator (or consider this as a bug in UI of sc-im). In the meantime till it gets fixed, it might be a good idea to list all cases when expression cell might hold stale value, so users know what to expect & do. |
Is it possible to operate (e.g. @sum) over all (valid) cells in a column or row, or to otherwise achieve this by ranging over all such cells?
I have tried "A:A" for column A, but this is not accepted as a valid range
The text was updated successfully, but these errors were encountered: