Multiple Aurguments in countif statement

B

Barry H

I need to know how to put multiple aurguments in the
countif statement. I want to look at a range of aging
days and count everything >0 and <30 days.

Any thoughts?
 
D

Dave R.

Yes-
If you want to use countif statement(s); you can countif your range >0 MINUS
countif your range <30 .
This will count values from 1-29 .
 
B

barry

Is there a better way to do this?
-----Original Message-----
Yes-
If you want to use countif statement(s); you can countif your range >0 MINUS
countif your range <30 .
This will count values from 1-29 .






.
 
B

Barry

I believe this would just net to 0, right?
-----Original Message-----
Yes-
If you want to use countif statement(s); you can countif your range >0 MINUS
countif your range <30 .
This will count values from 1-29 .






.
 
D

Dave R.

It will not net 0 if theres any number between 1 and 29 in the range.

countif(a1:a100,">0")-countif(a1:a100,"<30")

first statement counts all positive numbers. second statement subtracts
those over 30.
assuming you have numbers between 1 and 29 in the range a1:a100, this will
count those.
 

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