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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding database values 1

Status
Not open for further replies.

schase

Technical User
Sep 7, 2001
1,756
US
Access 2000

I am creating a survey results page. I need to add the rows in table cells together - then divide by the number of records to get an average "score"

For example, tblServiceSurvey, fields Q1A,Q1B,Q1C,Q2A,Q2B.... And so on.

How would I go about doing this?

Thank you in advance
 
Could this SQL Query work..

select avg(Q1 + Q2 + Q3 etc)
from tblServiceSurvey
 
Slight mod works great!

Doing
SELECT avg(Q1A),avg(Q1B) etc.

Thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top