Hi, I have a data set which has subsets having duplicate values like this:
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
I used the formula =STDEV(IF($A$2:$A$34894=A2,$B$2:$B$34894)). But it gives me the same standard deviation value for the entire set.
Can someone please help me with an appropriate formula?
Also, if i have weights for each individual row, is there a formula that can give me a weighted average for each subset?
Thanks in advance!
Customer | Score |
1 | 0.253 |
1 | 0.253 |
1 | 0.253 |
1 | 0.356 |
1 | 0.356 |
2 | 0.245 |
2 | 0.245 |
2 | 0.378 |
3 | 0.425 |
3 | 0.425 |
3 | 0.235 |
3 | 0.235 |
3 | 0.39 |
3 | 0.38 |
3 | 0.39 |
4 | 0.45 |
4 | 0.45 |
4 | 0.51 |
4 | 0.52 |
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
I used the formula =STDEV(IF($A$2:$A$34894=A2,$B$2:$B$34894)). But it gives me the same standard deviation value for the entire set.
Can someone please help me with an appropriate formula?
Also, if i have weights for each individual row, is there a formula that can give me a weighted average for each subset?
Thanks in advance!