Can't get Sumproduct to work: Excel 2003

E

Emma C

Hi, I've read lots of the answers on here and my query should be easy but I
really can't make my formula work! I need to count all the 1s in a column
where they were previously 0s

Example:

May June
0 1
0 1
0 1
0 1
1 1

Expected result here would be 4

I have tried: =sumproduct(P6:p570="0")*(Q6:Q570="1") but I get a value
error. I have checked and none of the cells contains text. I believe that
excel will ignore cells with no data in so that shouldn't be the problem (I
have included extra rows at the bottom of the formula to allow for growing
data over months!)

Any help would be most welcome as my head hurts!!!!
 
E

Emma C

I am an idiot - you are a genius and I can now finish work.

Thank you very much indeed (am mildly embarrassed but still quite happy that
you've sorted this for me!)
 

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

Similar Threads

Change cell value result from "FALSE" to blank or zero 2
Excel VBA 1
Formula to move from cell to cell 2
Sumproduct Question 7
Sumproduct 2
Sumproduct question 4
sumproduct 2
sumproduct - <> 5

Top