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

 

SPONSORED REPORT

6 key areas of change for accountants and auditors

New accounting standards on revenue recognition, leases, and credit losses present implementation challenges. This independently-written report identifies the hurdles that accounting professionals face and provides tips for overcoming the challenges.

PODCAST

How tax reform will impact individual taxpayers

Amy Wang, a CPA who is a senior technical manager for tax advocacy at the AICPA, answers to some of the most common questions on how the new tax reform law will impact individual taxpayers.