Hello All,
Im trying to do an average with two conditions, I can get it to work fine with one but as soon as I add the second one I get a #DIV/0 error. My data is set up as follows;
A1 B1
.9 .06
.89 .224
1.05 .173
.9 .067
1.15 .117
If I do an array formula of =AVERAGE(IF(A1:A5=0.9,B1:B5)) I get and answer of 0.0635 like I should, but when I do =AVERAGE(IF(A1:A5=0.9,IF(A1:A5=0.89,B1:B5))) I get a #DIV/0... Can anyone point out my error? I appreciate any help you can offer....
Regards -
Wray
Im trying to do an average with two conditions, I can get it to work fine with one but as soon as I add the second one I get a #DIV/0 error. My data is set up as follows;
A1 B1
.9 .06
.89 .224
1.05 .173
.9 .067
1.15 .117
If I do an array formula of =AVERAGE(IF(A1:A5=0.9,B1:B5)) I get and answer of 0.0635 like I should, but when I do =AVERAGE(IF(A1:A5=0.9,IF(A1:A5=0.89,B1:B5))) I get a #DIV/0... Can anyone point out my error? I appreciate any help you can offer....
Regards -
Wray