Hi,
See if it works by removing the double quotes. Else, try this
=sumproduct((A1:A4>=A6)*(A1:A4<=A4)*(A1:A4))/sumproduct((A1:A4>=A6)*(A1:A4<=A4))
--
Regards,
Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
"SandiVaughn" <(E-Mail Removed)> wrote in message
news:B74ED6DC-6F56-4A28-94C4-(E-Mail Removed)...
> How can you test a range of cells to be greater than or less than another
> cell using the average if function?
>
> Ex: =AVERAGEIFS(A1:A4,A1:A4,"A6",A1:A4,"A7")
>
> Keep getting the #DIV/0! error!
>
> HELP!!!!! Thank you!