Results 1 to 4 of 4
  1. #1
    boywonder is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Dec 2010
    Location
    Memphis, TN
    Posts
    60

    Totaling Record base on ID and amount field

    I'm needing to total 8 records with the same id number, but different amounts in the the field named 'amounts'. For instant, if the amount field had:

    23
    23
    25


    67
    45
    23
    88
    97

    I need a formula to total the above figures so it can equal 391.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Create an aggregate query. Here is a quick tutorial

    http://www.techonthenet.com/access/f...umeric/sum.php

    Post back with any issues after you create your query.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Are there more than these 8 records in table and other ID values? Do a Totals (aggregate) query with GROUP BY on the ID field but SUM on the Amount field.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    boywonder is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Dec 2010
    Location
    Memphis, TN
    Posts
    60
    yeah, i did a aggregate query and it work great! I GROUP BY the ID and CX ID and SUM the amount field and it work. THANKS

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

Similar Threads

  1. Totaling and ranking results in queries
    By dmellman in forum Access
    Replies: 8
    Last Post: 08-06-2011, 12:26 PM
  2. converting base 32 to base 10?
    By brandonze in forum Access
    Replies: 13
    Last Post: 08-01-2011, 04:11 PM
  3. Replies: 2
    Last Post: 11-29-2010, 11:16 AM
  4. How do you Show Totaling Values on a Form?
    By Access_Headaches in forum Forms
    Replies: 0
    Last Post: 08-31-2010, 09:38 AM
  5. Totaling a value in group footer...
    By hodgy20 in forum Reports
    Replies: 0
    Last Post: 11-14-2008, 08:28 AM

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