I am trying to get the standard deviation of a set of values based on a condition. I have a number of reaction times for a picture memory test, and I want to get the standard deviation for the items that were previously shown (I.e. that they should have
remembered). These values are labeled as 'y' (i.e. the pictures have been shown previously) and 'n' (i.e. new pictures, not shown previously). I have gotten the mean value for the previously shown pictures using the following formula:
=AVERAGEIF($AU$115:$AU$226,"y",$BG$115:$BG$226)
To get the standard deviation, I have tried:
=STDEV(IF($AU$115:$AU$226,"y",$BG$115:$BG$226))
but I keep getting a value error. I have also tried to set the IF range to ='y', but it is not working. I have also tried enter+ctrl+shift, and that does not work either. If anyone could help, I would greatly appreciate it!