Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - Need Average - Without Zeros - Not Continuous

Status
Not open for further replies.

CptDavid

Technical User
Oct 13, 2005
1
US
Hi all,

I have cells, say A2, A4, A6, etc. that I need to average, but also need to exclude any of those cells that have a zero value.

Any thoughts?

Thanks!
 


hi,

[tt]
Sum(TheRange)/COUNITF(TheRange,">0")
[/tt]


Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 


Should have made the criteria "<>0"

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top