I want to replicate =averageif
but for standard deviation and not having much luck
=STDEV(IF(Sheet1!$C:$C,"6",Sheet1!$AL:$AL))
Where column C
= the criteria I'm searching for eg: 6 and AL is the column where I want it to calculate the std dev based on