Hi Doug,
As you mentioned..."This seems like a simple thing, but usually the simplest is not the clearest."
Here's why the error is occuring:
The Sumproduct formula does not work on whole column ranges. It has to have a defined range of cells and you have to make sure the that all the columns in the formula have the same range.
=SUMPRODUCT((EngProcE=C26)
Since you have defined your named ranges are entire columns - EngProcE and EngPRocH, this is the reason the SUMPRODUCT is failing.
- Ardhendu
Main Topics
Browse All Topics





by: Nate_OliverPosted on 2009-04-22 at 15:59:22ID: 24210510
There's actually no such thing as a Null cell value in Excel, only Empty, which is a non-initialized variable. But that shouldn't factor into your count.
+(A1:A10=" bar"))
So, if you want to search for several terms, this could work:
=SUMPRODUCT((A1:A10="foo")
However, you said "a" cell, and the fact that you're getting #N/A tells me you have error values in your data, so I think you want something like this:
=COUNTIF(A1:A10,C3)
That ignores the error. Otherwise, are your ranges the same size? What have you tried thus far?
Regards,
Nate Oliver
Microsoft Excel MVP