I have seen function SUMIF.

If I have many rows, how to use SUM if function.

ONLY SUM of cells if
1. values are larger than 0
2. less than 0