STDEVA excel formula to meet with two criteria

blackorchids2002

Board Regular
Joined
Dec 29, 2011
Messages
138
Hi Master,

How would I get the standard deviation on below table that will meet two criteria?
I want to get the standard deviation for weight of the SKU with the same month.

MonthSKUStd Dev. ThicknessStd Dev. WeightAve. ThicknessAve. WeightThicknessWeights
Aug-14Orig.5.62156.53175.17
Sep-14Orig.5.62156.531756.8
Aug-14Orig.5.62156.531765.2
Aug-14Raw5.62156.53175.16.6
Aug-14Raw5.62156.53175.36.2
Sep-14Orig.5.62156.531767.2
Aug-14Orig.5.62156.53175.35.5
Aug-14Raw5.62156.53175.26.8
Sep-14Orig.5.62156.53174.66.4
Aug-14Orig.5.62156.53174.76.4
Aug-14Orig.5.62156.531756.2

<tbody>
</tbody>


Thanks,
Blackorchids2002
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Example:


Excel 2010
ABCDEFGHIJ
1MonthSKUStd Dev. ThicknessStd Dev. WeightAve. ThicknessAve. WeightThicknessWeightsMonthAug-14
2Aug-14Orig.5.62156.53175.17SKUOrig.
3Sep-14Orig.5.62156.531756.8STDEV0.719722
4Aug-14Orig.5.62156.531765.2
5Aug-14Raw5.62156.53175.16.6
6Aug-14Raw5.62156.53175.36.2
7Sep-14Orig.5.62156.531767.2
8Aug-14Orig.5.62156.53175.35.5
9Aug-14Raw5.62156.53175.26.8
10Sep-14Orig.5.62156.53174.66.4
11Aug-14Orig.5.62156.53174.76.4
12Aug-14Orig.5.62156.531756.2
Sheet1
Cell Formulas
RangeFormula
J3{=STDEVA(IF((A2:A12=J1)*(B2:B12=J2),H2:H12))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Thanks Andrew for the help. It really works :)


Example:

Excel 2010
ABCDEFGHIJ
1MonthSKUStd Dev. ThicknessStd Dev. WeightAve. ThicknessAve. WeightThicknessWeightsMonthAug-14
2Aug-14Orig.5.62156.53175.17SKUOrig.
3Sep-14Orig.5.62156.531756.8STDEV0.719722
4Aug-14Orig.5.62156.531765.2
5Aug-14Raw5.62156.53175.16.6
6Aug-14Raw5.62156.53175.36.2
7Sep-14Orig.5.62156.531767.2
8Aug-14Orig.5.62156.53175.35.5
9Aug-14Raw5.62156.53175.26.8
10Sep-14Orig.5.62156.53174.66.4
11Aug-14Orig.5.62156.53174.76.4
12Aug-14Orig.5.62156.531756.2

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Array Formulas
CellFormula
J3{=STDEVA(IF((A2:A12=J1)*(B2:B12=J2),H2:H12))}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,998
Messages
6,122,643
Members
449,093
Latest member
Ahmad123098

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