Countif Problem

M

Mike

Okay, I've read through tons of threads, but nothing seems to answer my
question, or maybe I'm just not getting it.

I want to do a countif type formula to count all the rows where the value in
column G is bigger than column F.

=countif(G:G,">"&F:F) obviously I have no idea how this is supposed to work.

Any help?
 
A

Aaron

=countif(g1:g:100,g1>f1)

Where in this example, 1 is the starting cell of the range you are looking
at and 100 is the last cell in the range you are counting. G is the only
range, you are concerned with because that is the value you are interested in
getting a count on that meets the criteria you specify.
 
B

bj

the simplest method is
=sumproduct(--(G1:G1000>F1:F1000)
the --( changes the logical true false to 1 0
you can't use the G:G shortcut for a full column and the arrays have to be
the same size
 

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


Top