Averaging Noncontiguous Cells That Contain Some Zero Values


Q: Here’s my problem: I need to calculate the average for a bunch of cells that not only are not contiguous but some contain zero values, and I don’t want them to affect the results. Do you have any ideas?


A: It is a little tricky. The solution, as you’ll see, lies in the denominator, where we need to eliminate the effect of the zero values. Once we do that, the rest falls into place. For example, if the target cells are A1, C1, E1 and G1, the averaging formula would be:




By canceling all the cells that produce zero values, we obtain the correct average.


More from the JofA:


 Find us on Facebook      Follow us on Twitter



Year-end tax planning and what’s new for 2016

Practitioners need to consider several tax planning opportunities to review with their clients before the end of the year. This report offers strategies for individuals and businesses, as well as recent federal tax law changes affecting this year’s tax returns.


News quiz: Retirement planning, tax practice, and fraud risk

Recent reports focused on a survey that gauges the worries about retirement among CPA financial planners’ clients, a suit that affects tax practitioners, and a guide that offers advice on fraud risk. See how much you know with this short quiz.


Bolster your data defenses

As you weather the dog days of summer, it’s a good time to make sure your cybersecurity structure can stand up to the heat of external and internal threats. Here are six steps to help shore up your systems.