Solved

# I need an excel formula corrected

Posted on 2011-03-07

When I am trying to use the following formula, I get (0) returned and I know there should be a large number:

=SUMPRODUCT(((Mansfield!$H$2:$H$10000>$P$1)+(Mansfield!$I$2:$I$10000>=$P$1))>0)*(((Mansfield!$H$2:$H$10000<=$Q$1)+(Mansfield!$I$2:$I$10000<=$Q$1))>0)*(Mansfield!$J$2:$J$10000)*(Mansfield!$K$2:$K$10000="N")

If I use this one, I get an anwser:

=SUMPRODUCT((Mansfield!$C$2:$C$10000=DATA!A5)*(((Mansfield!$H$2:$H$10000>$P$1)+(Mansfield!$I$2:$I$10000>=$P$1))>0)*(((Mansfield!$H$2:$H$10000<=$Q$1)+(Mansfield!$I$2:$I$10000<=$Q$1))>0)*(Mansfield!$J$2:$J$10000)*(Mansfield!$K$2:$K$10000="N"))

The only difference is ((Mansfield!$C$2:$C$10000=DATA!A5), which is a column and reference for a persons name. I am wanting the total for the values and am not looking for a specific name. Do I have some parenthesis out of whack?