ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to determine how many numbers are greater than zero in a range (https://www.excelbanter.com/excel-programming/362852-how-determine-how-many-numbers-greater-than-zero-range.html)

Inspector

how to determine how many numbers are greater than zero in a range
 
How do I write a formula indicating how many times a number is greater than
zero in a given range?

Nick Hodge

how to determine how many numbers are greater than zero in a range
 
If you want to just count the occurrences and are looking for a formula not
a VBA solution...(you posted in the programming newsgroup)

=COUNTIF($A$2:$A$14,"0")

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Inspector" wrote in message
...
How do I write a formula indicating how many times a number is greater
than
zero in a given range?




macropod

how to determine how many numbers are greater than zero in a range
 
Hi Inspector,

Try:
=COUNTIF(A1:A1000,""&0)
where 'A1:A1000' is your range.

Cheers


"Inspector" wrote in message
...
How do I write a formula indicating how many times a number is greater

than
zero in a given range?





All times are GMT +1. The time now is 02:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com