Results 1 to 2 of 2
  1. #1
    DonKaponne is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    7

    SUm duplicate values then delete duplicate rows

    I have 4 columns in my table (tblAccounts). I am trying to find any duplicates that may exist in Col A (Name Account Number), sum values in Col D (Name Account Value), then delete the entire row. So far my sheet before.



    Col A
    100
    101
    102
    105
    100
    101
    102
    105

    Col D
    5
    4
    2
    4
    1
    2
    3
    1


    After my code is run, I need for my spreadsheet to look like this
    Col A
    100
    101
    102
    105

    Col D
    6
    6
    5
    5

    Do someone has any idea how I can implement it?

    Thanks a lot in advance

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    This as been asked and answered in another thread. https://www.accessforums.net/queries...ble-46874.html

    Do an aggregate (GROUP BY) Totals query. Use query designer. Access Help has more guidelines on using the query builder.
    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. Delete duplicate records
    By samdahlr in forum Access
    Replies: 8
    Last Post: 07-28-2014, 08:25 AM
  2. Combining Rows with Duplicate Values
    By julia.ranauro in forum Access
    Replies: 8
    Last Post: 06-18-2013, 07:54 AM
  3. Replies: 5
    Last Post: 01-29-2013, 03:38 PM
  4. Delete record if duplicate
    By rubintheyid in forum Access
    Replies: 8
    Last Post: 03-30-2010, 11:33 AM
  5. Delete duplicate records
    By Zukster in forum Queries
    Replies: 1
    Last Post: 08-26-2009, 03:14 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