# Excel Magic Trick 1341

## Standard Deviation with Criteria: Power Query, PivotTable, or Array Formula?

### DESCRIPTION

See how to use Power Query, a PivotTable and an Excel Formulas to calculate to calculating Average and Standard Deviation with Criteria:
(00:14) Introduction & Setup
(01:28) Array Formula for calculating Average and Standard Deviation with Criteria. See AVERAGEIFS function and the STEDV.S & Two IF functions in an Array Formula.
(08:46) PivotTable for calculating Average and Standard Deviation with Criteria.
(14:01) Power Query Example 1: Group By All Rows & Extra Column with List.StandardDeviation Power Query Function. Use Group By to calculate Average and Standard Deviation with Criteria.
(21:06) Power Query Example 2: Use Group By Power Query Feature and then change M Code from List.Average Function to List.StandardDeviation function.
(26:04) Summary

Power Query Group By to Calculate Standard Deviation. How to use Power Query Group By to Calculate Average and Standard Deviation. How Do I Calculate Standard Deviation in Power Query. Where is Standard Deviation in Group By Power Query?