SUMProduct Part II

  • Thread starter Thread starter PAL
  • Start date Start date
P

PAL

I am working with this formula and it works great.

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))

When I add an additional parameter in --('Enroll I'!P$2:$P$2921="Regular")

To look like this....

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes")),--('Enroll I'!P$2:$P$2921="Regular"))

I get the infamous, "#N/A" error. The page I am referencing, 'Enroll I",
gets the value from another sheet. It seems to be in the right format -I
have tried, General or Text. I have also tried w and w/o the array symbols.

Ideas?
 
try

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))



PAL said:
I am working with this formula and it works great.
=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"),--('Enroll I'!P$2:$P$2921="Regular"))
 
opps something was wrong try
just found an extra ) in the last yes statement

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"),--('Enroll I'!P$2:$P$2921="Regular"))
 
When I add an additional parameter in
--('Enroll I'!P$2:$P$2921="Regular")
I get the infamous, "#N/A" error.

Are there any #N/A errors already in that range?

If so, you should correct those formulas so they don't return #N/A.
 
=SUMPRODUCT(
--('Enroll I'!A$2:$A$2921=$B17),
--('Enroll I'!$O$2:$O$2921="NSITE0"),
--('Enroll I'!M$2:$M$2921="Yes"),
--('Enroll I'!N$2:$N$2921="Yes"),
--('Enroll I'!P$2:$P$2921="Regular"))

If this post helps click Yes
 
Hi,

Although your formula has a closing parenthesis in the wrong place that
should not return an #N/A error message, just an incorrect result possibly.

Check the range 'Enroll I'!P$2:$P$2921 there is probably a formula in that
range returning and #N/A
 
Back
Top