=COUNTIF(A1;A10.....value is greater than zero?

fugeg70

Board Regular
Joined
Mar 26, 2003
Messages
114
Hi there,

I am wondering how to finish this formula off,

I want to count the number of cells in a list that have a value that is greater than zero?

Many thanks,

Graham.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hello,

Does this suit your needs?

=COUNTIF(A1:A10,">0")


How could i do this if the cells to count if greater than 0 are not in a range. I need to count how many cells are greater than 0 from the flowing cells:
B15,
B19,
B23,
B27,
B31,
B35,
B39,
B43

Any answers in those cells greater than 0 should be shown in cell B47.

Many thanks
 
Upvote 0
Any answers in those cells greater than 0 should be shown in cell B47.

Welcome to the board!

Try this is cell B47:

=SUMPRODUCT(--(MOD(ROW(B15:B43)-ROW(B15)+1,4)=1),--(B15:B43>0))
 
Upvote 0

Forum statistics

Threads
1,213,487
Messages
6,113,943
Members
448,534
Latest member
benefuexx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top