Conditional Standard Deviation

yongshun

New Member
Joined
Feb 4, 2018
Messages
2
I wish to calculate the standard deviation of Brand A Product 1-5 and Brand B Product 1-5.
Is there any shortcut for this?
I call this a brand pairing and I have 300 brand pairing to be done. Help is needed! :(
BrandProductDemand
A13
A24
A312
A435
A56
A68
A79
A85
A96
A107
B110
B212
B33
B44
B56
B63
B767
B89
B95

<tbody>
</tbody>
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Since everything is ordered, the simplest formulas are:

Brand A: =STDEVP(C2:C6)
Brank B: =STDEVP(C12:C16)

But I presume you are looking for something more general.

Array-enter (press ctrl+shift+Enter instead of just Enter) the following formulas:

Brand A: =STDEVP(IF($A$2:$A$20="A",IF($B$2:$B$20={1,2,3,4,5},$C$2:$C$20)))
Brand B: =STDEVP(IF($A$2:$A$20="B",IF($B$2:$B$20={1,2,3,4,5},$C$2:$C$20)))
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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