Dear All,
I used following formula both as normal & array -
=IF(AND($L$2:$L$98=0,$M$2:$M$98=0),STDEV(B2:B98),"-")
The normal formula is returning #VALUE while array one is returning " - ".
Please help where my problem lies.
Regards,
Dastgir
Dear All,
I used following formula both as normal & array -
=IF(AND($L$2:$L$98=0,$M$2:$M$98=0),STDEV(B2:B98),"-")
The normal formula is returning #VALUE while array one is returning " - ".
Please help where my problem lies.
Regards,
Dastgir
Try this one:
=IF(AND(SUM($L$2:$L$98)=0,SUM($M$2:$M$98)=0),STDEV(B2:B98),"-")
Enter that as a normal formula, not an array.
Don't forget to click the little star to the left of this post if you feel I helped!
Taming the Excel dragon... www.TheExcelphile.com
The Excelphile,
Cell range $L$2:$L$98 & $M$2:$M$98 is not intended to be sumed here. The condition is that if any cell value is zero in this range, then STDEV of defined range.
Dastgir
Hi Dastgir,
I assumed that your formula meant if all cell values are zero in L2:L98 and M2:M98.
According to your clarification, your formula should be:
=IF(OR(MIN($L$2:$L$98)=0,MIN($M$2:$M$98)=0),STDEV(B2:B98),"-")
Don't forget to click the little star to the left of this post if you feel I helped!
I am not aware the usage of STDEV function, but in general term the formula should be constructed like the below
Array Formula - Requires Ctrl+Shift+Enter
Formula:
=STDEV(IF(($L$2:$L$98=0)*($M$2:$M$98=0),(B2:B98)))
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
Hi Dastgir,
I guess that's just the way Excel is built. It has the potential to create confusion, just like it did when I misunderstood what you wanted.
I can't say for sure, but this is just my guess.
Regards,
The Excelphile
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks