Results 1 to 2 of 2
  1. #1
    Mathew is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    1

    Add values from multiple records that have a shared attribute

    For a single specimen (e.g., D02a), I have multiple values that I want to add together.
    Click image for larger version. 

Name:	Capture3.JPG 
Views:	11 
Size:	20.4 KB 
ID:	40746

    Specifically, I want to add the "weight_lint" values together for every record with the same Sample_ID. The end result should look something like this.

    Click image for larger version. 

Name:	Capture2.JPG 
Views:	10 
Size:	14.3 KB 
ID:	40745



    Is this something I can do in Access?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Options:

    1. aggregate query

    2. report using Sorting & Grouping with aggregates calc in textbox - allows viewing detail data as well summary calcs

    This is basic Access functionality. Should be able to find many examples and tutorials if you don't have an introductory book.
    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.

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

Similar Threads

  1. Replies: 22
    Last Post: 10-11-2021, 02:31 PM
  2. Multiple Records with similar values
    By alhk10 in forum Forms
    Replies: 1
    Last Post: 07-11-2018, 12:39 AM
  3. Replies: 6
    Last Post: 11-27-2014, 03:21 AM
  4. Replies: 9
    Last Post: 01-26-2013, 11:06 PM
  5. Replies: 1
    Last Post: 03-13-2012, 06:11 PM

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