I am trying to count columns containing numbers that are greater than zero only
I am trying to count columns containing numbers that are greater than zero only
Something like this will do what you want
Formula:![]()
=COUNTIF(A1:A50,">0")
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
Many thanks for quick response
After re-reading your question, are you wanting to count the columns only and not the contents?
This will count columns that have values >0 even if they also have values of 0 or less. Expand the formula to include columns and rows as required.
Formula:![]()
=SUM(IF(COUNTIF(A1:A50,">0")>0,1,0)+IF(COUNTIF(B1:B50,">0")>0,1,0)+IF(COUNTIF(C1:C50,">0")>0,1,0))
Thank you for the feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks