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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
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,224,537
Messages
6,179,408
Members
452,912
Latest member
alicemil

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