From: Rene on
SUMPRODUCT(--(S498:S534="a"),--(G498:G534>=100),--(G498:G534<=200))/SUMPRODUCT(--(S498:S534="a"),--(G498:G534<>""))

I searched questions already answered but did not see averageif with 3
criteria

I want the formula to return the average. Thanks in advance
From: T. Valko on
>I want the formula to return the average.

The average of what?

It looks like you're calculating the percentage of cells that meet a
condition. Why do you think you need/want an "averageif" formula?

What version of Excel are you using?

--
Biff
Microsoft Excel MVP


"Rene" <Rene(a)discussions.microsoft.com> wrote in message
news:444DC66A-0FCC-474E-9345-430E340E1BA8(a)microsoft.com...
> SUMPRODUCT(--(S498:S534="a"),--(G498:G534>=100),--(G498:G534<=200))/SUMPRODUCT(--(S498:S534="a"),--(G498:G534<>""))
>
> I searched questions already answered but did not see averageif with 3
> criteria
>
> I want the formula to return the average. Thanks in advance


From: Ashish Mathur on
Hi,

Try this

=SUMPRODUCT(--(S498:S534="a"),--(G498:G534>=100),--(G498:G534<=200)*(G498:G534))/SUMPRODUCT(--(S498:S534="a"),--(G498:G534>=100),--(G498:G534<=200))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rene" <Rene(a)discussions.microsoft.com> wrote in message
news:444DC66A-0FCC-474E-9345-430E340E1BA8(a)microsoft.com...
> SUMPRODUCT(--(S498:S534="a"),--(G498:G534>=100),--(G498:G534<=200))/SUMPRODUCT(--(S498:S534="a"),--(G498:G534<>""))
>
> I searched questions already answered but did not see averageif with 3
> criteria
>
> I want the formula to return the average. Thanks in advance