Calculating the number of rows which have a certain criteria

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

cowplopmorris

Thread Starter
Joined
Jun 7, 2006
Messages
105
Hi,
Is there a way to print the number of rows of which their value in AG != 0?

I have a spreadsheet with a 'total' column, and I want to find how many rows do not have £0.00 as the result.

Any ideas?

Thanks.
 

cowplopmorris

Thread Starter
Joined
Jun 7, 2006
Messages
105
It's OK, I sorted it.
In AH5, I put
Code:
=IF(AG5=0;0;1)
then filled it all the way down. I then did a sum at the bottom to find the total number of rows.
 
Joined
Jul 1, 2005
Messages
8,546
Hi,
Is there a way to print the number of rows of which their value in AG != 0?

I have a spreadsheet with a 'total' column, and I want to find how many rows do not have £0.00 as the result.

Any ideas?

Thanks.
Those are 2 different things. :confused:

Either way, you don't need formulas all the way down, you can do it with one.

=COUNTIF(AG:AG,0)

or

=COUNTIF(AG:AG,"<>"&0)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top