Hi,
I have tried looking everywhere on google but, no luck.
I need help calculating standard deviation based on criteria from other columns using VBA. What I mean is I need to calculate standard deviation when column A (Tread Code) is = to A and when Column C (Fall Num) is = to 1 and then based on that criteria calculate the corresponding values in B when those criterias are met. Below is an example of what I would be testing for. I am typically dealing with 40,000 rows x 20 columns. I would prefer not to use a pivot table since I have create a dashboard for upper management.
<colgroup><col width="65" span="3" style="width: 65pt; text-align: center;"> </colgroup><tbody>[TR]
[TD="width: 65, align: center"]Tread Code[/TD]
[TD="width: 65, align: center"]RPP[/TD]
[TD="width: 65, align: center"]Fallnum[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]16.1[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]D[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]E[/TD]
[TD="align: center"]6.9[/TD]
[TD="align: center"]6[/TD]
[/TR]
</tbody>[/TABLE]
Any help help would be great.
Thanks,
Daniel
I have tried looking everywhere on google but, no luck.
I need help calculating standard deviation based on criteria from other columns using VBA. What I mean is I need to calculate standard deviation when column A (Tread Code) is = to A and when Column C (Fall Num) is = to 1 and then based on that criteria calculate the corresponding values in B when those criterias are met. Below is an example of what I would be testing for. I am typically dealing with 40,000 rows x 20 columns. I would prefer not to use a pivot table since I have create a dashboard for upper management.
<!--StartFragment-->
<!--EndFragment-->
[TABLE="width: 195"]<!--EndFragment-->
<colgroup><col width="65" span="3" style="width: 65pt; text-align: center;"> </colgroup><tbody>[TR]
[TD="width: 65, align: center"]Tread Code[/TD]
[TD="width: 65, align: center"]RPP[/TD]
[TD="width: 65, align: center"]Fallnum[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]16.1[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]D[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]E[/TD]
[TD="align: center"]6.9[/TD]
[TD="align: center"]6[/TD]
[/TR]
</tbody>[/TABLE]
Any help help would be great.
Thanks,
Daniel