Calculations in a Sum Query

J

Jasper Recto

I have a query that sums up several columns and gets a count from one
column. Is it possilble to make anther column that takes the sum value of
the the first few columns and divide them by the count of the last column?

I can't seem to make a equation that uses the sum values in its own query.

Is this possible or do I need to create a new query just for the specific
function?

Thanks,
Jasper
 
R

Ryan

Yes, you can add a calcualtion in another column. Your new column would look
like this.

GrandTotal:[TheNameOfYourCalculationsColumn]/[TheNameOfYourCountColumn]

If you have totals in your query, be sure to make the total an expression.

You do do everything in one column if you wanted.

GrandTotal:([Field1]+[Field2]+[Field3])/[Count]
 
J

Jasper Recto

THANKS!!!





Ryan said:
Yes, you can add a calcualtion in another column. Your new column would
look
like this.

GrandTotal:[TheNameOfYourCalculationsColumn]/[TheNameOfYourCountColumn]

If you have totals in your query, be sure to make the total an expression.

You do do everything in one column if you wanted.

GrandTotal:([Field1]+[Field2]+[Field3])/[Count]
--
Please remember to mark this post as answered if this solves your problem.


Jasper Recto said:
I have a query that sums up several columns and gets a count from one
column. Is it possilble to make anther column that takes the sum value
of
the the first few columns and divide them by the count of the last
column?

I can't seem to make a equation that uses the sum values in its own
query.

Is this possible or do I need to create a new query just for the specific
function?

Thanks,
Jasper
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top