Hello,
I am at a loss as to what is happening here. I have some survey data on one sheet, and I am putting together a summary on another sheet. I want mean, standard deviation of the sample, and median for some of the data. I am compiling the summary statistics both for all surveys and for surveys entered by month.
For standard deviation according to month on a series of questions, I use the following formula:
=IF(Sheet1!$A:$A="April",STDEV.S(Sheet1!$L:$L))
This works fine, and gives me the standard deviation for column L (formatted as general) for all entries in April.
This next formula returns FALSE:
=IF(Sheet1!$A:$A="April",STDEV.S(Sheet1!$M:$M))
It is the same exact formula, with the column reference changed in the standard deviation function. In stepping through the formula evaluation, whereas in the first formula it finds IF("April"="April"...) in the logical test and returns TRUE, in the second formula it finds IF(0="April"...) in the logical test and returns FALSE.
I have looked at the data, all of which is formatted as general and works fine in the formula until I reach column M - after that it returns FALSE instead of a standard deviation. I have tried changing the IF column reference and the STDEV.S column reference to the exact range with the same result. I have a header row, but I wouldn't think that should affect the logical test. I'm completely baffled. Am I missing something?
Thank you for your help.
I am at a loss as to what is happening here. I have some survey data on one sheet, and I am putting together a summary on another sheet. I want mean, standard deviation of the sample, and median for some of the data. I am compiling the summary statistics both for all surveys and for surveys entered by month.
For standard deviation according to month on a series of questions, I use the following formula:
=IF(Sheet1!$A:$A="April",STDEV.S(Sheet1!$L:$L))
This works fine, and gives me the standard deviation for column L (formatted as general) for all entries in April.
This next formula returns FALSE:
=IF(Sheet1!$A:$A="April",STDEV.S(Sheet1!$M:$M))
It is the same exact formula, with the column reference changed in the standard deviation function. In stepping through the formula evaluation, whereas in the first formula it finds IF("April"="April"...) in the logical test and returns TRUE, in the second formula it finds IF(0="April"...) in the logical test and returns FALSE.
I have looked at the data, all of which is formatted as general and works fine in the formula until I reach column M - after that it returns FALSE instead of a standard deviation. I have tried changing the IF column reference and the STDEV.S column reference to the exact range with the same result. I have a header row, but I wouldn't think that should affect the logical test. I'm completely baffled. Am I missing something?
Thank you for your help.