A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
Try this
=SUM(A1:A10)/COUNTIF(A1:A10,">0")
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a range of cells which I want to "sum" and then divide by the number of cells with a entry higher than "0" using countif what is a suitable formula?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hi,
Try this
=SUM(A1:A10)/COUNTIF(A1:A10,">0")
Many thanks Mike H - I nearly had it all bar a comma!!