Simple count function

  • Thread starter Thread starter berminator
  • Start date Start date
B

berminator

Hi, I want to do a very simple calculation in excel

I have a number of columns, that can be populated with a 0 or non-
value. I want a summary field that says number of non-zero columns?

Any help would be great.

Jo
 
Try using

=COUNTIF(G4:M4,"<>0")

where g to m are the column you are lookin for zero values in.


Ruth
 
That was excellent Ruth, Thanks!

Now, I have another one!

Of the range of cells, say 20 columns, I want to sum the best 14 from
the 20, in order of highest rank.

So say I have 20 columns , with values of 1->20. I want the sum of the
top 14, which would be 20+19+18+…etc.

Any easy way to do this?

Joe
 

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

Back
Top