Thread
:
Ignore zero in subtotal formula
View Single Post
#
2
Posted to microsoft.public.excel.worksheet.functions
Rachel Garrett
external usenet poster
Posts: 9
Ignore zero in subtotal formula
Try this:
=SUM(G:G)/COUNTIF(G:G, "<0")
This sums the entire column, but only divides it by the non-zero
cells, thus giving a true average.
Thanks,
Rachel Garrett
Reply With Quote
Rachel Garrett
View Public Profile
Find all posts by Rachel Garrett