using SUMPRODUCT

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using SUMPRODUCT to count mulitple criteria in different columns. It has
worked up to this point, but I am now getting a VALUE!error and am not sure
why.

Here is the scenario: 2 columns
Month Type
Jan A
Jan B
Feb A
Feb B

I need to count the error types by month. My fomula looks like this:
=SUMPRODUCT(--(Month="Jan"),--(Type="A"))

Month and Type are named ranges. I have also tried replacing the criteria
with cell references.

Thank you.
 
Are the named ranges the same size i.e. number of rows? If not, this will
result in a VALUE! error.

My limited testing worked OK using named ranges.

HTH
 
That was it. Thank you so much!

Toppers said:
Are the named ranges the same size i.e. number of rows? If not, this will
result in a VALUE! error.

My limited testing worked OK using named ranges.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top