How to exclude cells with specific values from formulas like SUM

I have a table with positive and negative values.
I want to apply a formula like SUM to the cells, but only the positive values should get summarized, not the negative values.
How can i achieve this?

Maybe so?

=SUMIF(A2:A22;">0";A2:A22)

yes… thank you :slight_smile: