Adding if to Average If Array function

D

Diddy

Hi,

I recently had help understanding the following formula
{=IF(ISERROR(AVERAGE(IF(Score>0,Score))),"",AVERAGE(IF(Score>0,Score)))}
Thanks to Luke M, Pete UK and David Biddulph who provided the explanation.

I've now been asked to add to this formula so that if either Q3 or Q4 is
greater than 4 then the average cannot be lower than 3.
Q1:Q35 is the named range score.

This is really complicated because I still need to have an average and I'm
thinking that the If part is non array but the average part still needs to be
an array.

Can you mix and match or is it not possible?

Many thanks
Diddy
 
J

Jacob Skaria

Try

=IF(COUNTIF(Q3:Q4,">4"),MAX(3,AVERAGE(IF(score>0,score))),
AVERAGE(IF(score>0,score)))
 
D

Diddy

Hi Jacob,

I'm probably doing something wrong but I get #VALUE!. Am I supposed to enter
as an array formula?

Cheers
Diddy
 
D

David Biddulph

Yes.
--
David Biddulph

Diddy said:
Hi Jacob,

I'm probably doing something wrong but I get #VALUE!. Am I supposed to
enter
as an array formula?

Cheers
Diddy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top