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

Revenue recognition: A complex effort

Implementing the new standard requires careful judgment. Learn how to make significant accounting judgments and document them and collaborate with peers for consistent application.

VIDEO

How to Excel pivot a general ledger

The general ledger is a vast historical data archive of your company's financial activities, including revenue, expenses, adjustments, and account balances. J. Carlton Collins, CPA, shows how to prepare data for, and mine data with, PivotTables.

QUIZ

News quiz: Taking an economic snapshot and looking to the future

Recent news included IRS actions that affect individuals and partnerships and a possibly influential move by a Big Four accounting firm.Take this short quiz to see how much you know about the news.