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 cowski 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
Joined
Nov 9, 2002
Messages
1
Location
CA
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

Back
Top