Results 1 to 2 of 2
  1. #1
    TonyB is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Oxfordshire, UK
    Posts
    16

    adding two records together if data is equal

    Hi,



    Is there a way in Access to sum two different records together, if the data in two or more fields are equal?
    My table has a list of applications ("PrimOrg") and a total amount of money each one has received (Amount) for each application:

    ...
    ID PrimOrg SumofAmount
    001 Dashwood Comm. School 5000
    002 Dashwood Comm. School 200
    ...

    I want the output to show Dashwood Comm. School to have 5200. I am already summing the Amount column because each application can have multiple amounts entered under it. However, it won't include amounts from a different application. So I sort of want a "Sum of Sums"!

    Any help much appreciated, thanks.

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    This can be done pretty easily with an Aggregate (Totals) Query.
    See: http://office.microsoft.com/en-us/ac...010096310.aspx
    and http://www.fontstuff.com/access/acctut04.htm

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 05-26-2013, 08:53 PM
  2. Replies: 1
    Last Post: 04-29-2013, 10:28 AM
  3. Adding Existing Data to Records
    By LukeJ Innov in forum Forms
    Replies: 3
    Last Post: 04-29-2013, 09:44 AM
  4. Replies: 6
    Last Post: 06-01-2012, 03:51 PM
  5. Adding values to equal total
    By showe2295 in forum Queries
    Replies: 2
    Last Post: 12-08-2011, 03:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums