Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

average of n number

Status
Not open for further replies.

ulm

Computer
Nov 9, 2002
1
Hi,
I have a column in my access database table and I want to add another column with average of every 20 numbers, like that:
Field1 field2
a1 null
a2 null
..............
a20 (a1+....+a20)/20
a21 (a2+ ...+a21)/20
a22 (a3+.....+a22)/20
.............................
an (a(n-20)+...+a(n))/20
Can enybody help me, please?
Regards,
ulm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor