A Better Idea

BY STANLEY ZAROWIN

An item in the August issue, “Averaging noncontiguous cells that contain some zero values” (page 73), generated several ideas from readers for a better way to address the problem. David M. Fogel, a CPA in Roseville, Calif., was the first to suggest this formula, noting it could be used in a large spreadsheet over a wide range of cells:

 

=SUM(A1:G1)/COUNTIF(A1:G1,">0")

 

Shane Eloe, a CPA at Dickinson & Clark CPAs in Council Bluffs, Iowa, posted an even shorter option on the JofA’s Facebook page:

 

=AVERAGEIF(A1:G1,">0")

 

More from the JofA:

 

 Find us on Facebook      Follow us on Twitter

 

NEWS

IRS sets start date for tax season

The IRS announced that tax season will start in late January and that it will issue refunds to taxpayers despite the partial shutdown of the federal government.

PODCAST

Why CPAs can’t wait on automation tools

What do accounting firms waiting on others to develop AI, automation, and data analytics tools have in common with a baseball fan sitting in a stadium filling with water at an exponential rate? The answer could determine your firm’s fate.