Sum

  • Thread starter Thread starter Guest
  • Start date Start date
Chey,

Use a Totals query. From query design view, select View, Totals. The
screen will change to include a Totals row.

If you simply want the grand total for each currency field, enter each on
the grid and select Sum in the totals row. If you'd like a separate total by
some *other* field, e.g., State or Regional Manager, etc., include these
fields at the left side of the grid, and select Group By in the Totals row.
The query will produce a separate total for each unique combination of the
GroupBy fields in the database.

The resulting SQL will look something like the following, which produces a
single total for all amounts donated in a Donations table:

SELECT Sum(Donations.Amount) AS SumOfAmount
FROM Donations;

Hope that helps.
Sprinks
 

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

Similar Threads

Sum 4
sum in a report 1
null 8
Excel Running Sum in Cross Tab Query 0
Query 1
report sum #error 2
Between 11
Access Report Incorrectly Summing Grouped Data 1

Back
Top