I need to find out the standard deviation of A, B, C and D.

I’ve tried using this formula:

`=STDEVIFS()`

```
1st sheet
Code (A, B, C, A, A, C, B, B)
Number (1, 9, 8, 4, 7, 3, 0, 4)
2nd sheet
Code (A, B, C, D)
SD (?, ?, ?, ?)
```

`=STDEVIFS()`

Isn’t an officical office Excel function. Try the below.

Formula in `E2`

:

```
=STDEV.S(IF($A$2:$A$9=D2,$B$2:$B$9,""))
```

Confirmed through `Ctrl`+`Shift`+`Enter`

If you use Excel 2007 then change to `=STDEV()`

Also, what exactly do you mean by:

“What would be a better way to find out the code’s SD instead of calculating by each specific code?”

Tags: excelexcel