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! :([TABLE="width: 500"]
<tbody>[TR]
[TD]Brand[/TD]
[TD]Product[/TD]
[TD]Demand[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]3[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]4[/TD]
[TD]35[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]5[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]6[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]7[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]8[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]9[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]10[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]1[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]5[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]6[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]7[/TD]
[TD]67[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]8[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]9[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
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,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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