sum a countif

T

tamiluchi

I can't make this work. I'm using this formula
=SUM((IF((F4:F53="ok"),1,1))-(IF((F4:F53="ok"),1,0)))
I want a total count of cells in the range f4:f53 less the count of cells
with the value "ok" in the same range.

I also need to do this with the cells in ranges g4:g53 combined with i4:i53.
Please help. I'm not getting the right answers.
Thanks
Tammie
 
T

tamiluchi

Thanks. Yes, that's all it is. Talk about making it harder than it has to be!
What if I want to have the total count of 2 different ranges not equal to
'ok' in one cell?
 

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

Top