Guys, sorry for the unclear topic title, but I don't know how to explain it in words...
Given the following, is it possible to formulize # of sum?
For # of count, I have found the formula as following: =COUNTIF(D3:D6,"x")
X | Y | Z | ||
A | 100 | x | ||
B | 150 | x | ||
C | 50 | x | x | |
D | 250 | x | ||
# of count | 2 | 1 | 2 | |
# of sum | 150 | 150 | 300 |