Combined Standard Deviation of Two Separate Columns of Data

JeffFinnan

New Member
Joined
Aug 12, 2020
Messages
47
Office Version
  1. 2019
Platform
  1. Windows
I can get the average of two columns of data:
Excel Formula:
=(SUMIFS(D6:D2000,D6:D2000,"<>#N/A",A6:A2000,"Cm")+SUMIFS(I6:I2000,I6:I2000,"<>#N/A",K6:K2000,"Cm"))/(COUNTIFS(D6:D2000,"<>#N/A", A6:A2000,"Cm")+COUNTIFS(I6:I2000,"<>#N/A", K6:K2000,"Cm"))
where I am selecting for those values that are Cm.

Likewise I can get the standard deviations of the separate columns:
Excel Formula:
=STDEV(IF(A6:A2000<>"Cm",IF(ISNUMBER(D6:D2000),D6:D2000)))
=STDEV(IF(K6:K2000="Cm",IF(ISNUMBER(I6:I2000),I6:I2000)))

How can I get the standard deviation of the combined columns much like I can get with the average?

Thanks,
Jeff
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try...

Excel Formula:
=STDEV(IF(A6:A2000="Cm",IF(ISNUMBER(D6:D2000),D6:D2000)),IF(K6:K2000="Cm",IF(ISNUMBER(I6:I2000),I6:I2000)))

...confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!
 
Upvote 0
Solution

Forum statistics

Threads
1,215,745
Messages
6,126,633
Members
449,323
Latest member
Smarti1

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