Combined Standard Deviation of Two Separate Columns of Data

JeffFinnan

Board Regular
Joined
Aug 12, 2020
Messages
61
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

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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