Conditional STDEV

hmdjzy

New Member
Joined
Aug 1, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hello everyone,

I have a table (2 columns and dynamic raws), column 1 is numbers and column 2 contains some names, like :
Column 1 ------ Column 2
1.2---------------John
2.3---------------Alex John
5.3---------------Mike
2-----------------Mike
1.4----------------John Jim
0------------------ <empty cell>
4------------------Jim
3.5-----------------Alex Mike Jim

I know how to calculate how many of "John" I have and what is the average for each of them: John 3 times with an average of (1.2+2.3+1.4)/3,

BUT how can I calculate Standard Deviation and/or variance for John based on these data in Excel?

I have tried DVAR, DSTDEV and ... no success :(

Any solution?

Thank you :)
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
This works for me, must be array confirmed with Ctrl Shift Enter.

=STDEV(IF(ISNUMBER(SEARCH("john",B2:B9)),A2:A9))
 
Upvote 0

Forum statistics

Threads
1,216,156
Messages
6,129,188
Members
449,492
Latest member
steveg127

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