Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not adding in 0 to Averages 1

Status
Not open for further replies.

Dauphy

IS-IT--Management
Nov 8, 2001
111
0
0
CA
Hi!

When using the "average" function in Access Reports; is there a way to ensure that a field that contains zero not be included into an average?

Thanks for your help.





 
Perhaps a way wwould be to replace the zeroes in the recordsource with Null.

Otherwise, do the Manual calc, checking the value in each record <> 0 before incrementing reccount. Then do the sum over the set and divide by the reccount.

MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Yes, that'll work. Don't know why I didn't think of that myself. Just trying to make something hard that isn't. Long day ...

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top