Hi all,
I am trying to get the standard deviation of Age when the gender is Male from one worksheet and place it in another worksheet. I have already gotten the average of age for males with the handy dandy averageif worksheetfunction but I cannot seem to get this one working. Please help.
I keep getting:
Run-time error '1004'
Unable to set the FormulaArray property of the Range class
I have also tried this and get type mismatch error:
I know that in the worksheet itself I can type in stdev(if(....)) and then hit control+shift+enter and it works beautifully, but I need it in a macro.
Thanks!
Bookmarks