Standar Desviation with Conditions

Liolaemus

New Member
Joined
Jul 2, 2011
Messages
2
Hello, i a new member of the forum.

I just learned, self-taught, such as calculating the average of a set of data arranged in a column in differential form using as criterion the value of another column through AVERAGEIF function.

My problem is this. I need to calculate for each of these separate data sets the standard deviation, so as to finally obtain the mean and standard deviation of each of the subgroups defined by two criteria mentioned above.

I leave here a sketch of what I need:

A B C
1 2 45
2 1 43
1 1 56
2 1 58
2 1 43
1 2 39
2 2 50
1 1 33

I need know the Standar Deviation of the values of the Column C whose value respective in the column A is 1 and in the Column B is 2.
I hope has i was clear in the explication...

Thanks!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi,

Welcome to the forum!

Try this array-formula assuming your data sample in A1:C8

=STDEV(IF(A1:A8=1,IF(B1:B8=2,C1:C8)))

You need to confirm with Ctrl+Shift+Enter
(hold down both Ctrl and Shift keys and hit Enter)

I got 4.242641 with your sample

HTH

M.
 
Upvote 0

Forum statistics

Threads
1,215,222
Messages
6,123,704
Members
449,118
Latest member
MichealRed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top