- column
- TECHNOLOGY Q&A
A Better Idea
				 BY STANLEY ZAROWIN				
					
							
			Please note: This item is from our archives and was published in 2010. It is provided for historical reference. The content may be out of date and links may no longer function.
Related
October 29, 2025
				Reputation, security, compliance: Why AI risk disclosures are surging
October 27, 2025
				AICPA releases gen AI tool: Josi
October 23, 2025
				Reflecting on AI’s rise in accounting, looking to what comes next
TOPICS
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″)
Advertisement
 
More from the JofA:
 
								