Skip to content
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

Formulas: sum if and counter #82

Open
riccardoch opened this issue Apr 10, 2024 · 1 comment
Open

Formulas: sum if and counter #82

riccardoch opened this issue Apr 10, 2024 · 1 comment

Comments

@riccardoch
Copy link

Is there a method to determine the number of occurrences in a column/row or to calculate the sum only when a certain condition is met?

If not, for counting occurrences, I'd expect something like:

<!-- TBLFM: @>$2=count(@I..@-1, @=="Riccardo") -->

As for the 'sum if' function:

<!-- TBLFM: @>$2=sumif(@I..@-1, @>0) -->

For both functions the parameters could be:

  • range of values
  • condition evaluated for each individual value
@jreeves123
Copy link

jreeves123 commented Apr 25, 2024

Second this request! I didn't see this explained in the formula documentation under nested formulas (where I expected it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants