Results 1 to 2 of 2
  1. #1
    Mallards is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Posts
    1

    Identifying identical rows and combining those into one unique row


    I am trying to figure out how to deal with a database that has some duplicate records. Technically, they are not duplicates, rather they are rows of data with identical data that need to be added up together. I need to 1. identify matching records and 2. combine those records to make one unique record. An example is easier!

    Easting Northing Species Number
    539884 4942158 Shrew 5 <--
    539884 4942158 Shrew 5 <--
    539884 4942158 Squirrel 10
    539777 4942222 Shrew 5

    The underlined rows are matching records that need to be added together so my table will look like this:

    Easting Northing Species Number
    539884 4942158 Shrew 10 <-
    539884 4942158 Squirrel 10
    539777 4942222 Shrew 5

    I am having trouble figuring out the best type of query to deal with this- any suggestions?

  2. #2
    offie is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    176
    Have you tried GROUP BY? You can do this is SQL or in design view hit the Totals button up top, a row shows up at the bottom, select group by for the first three and sum for the last one. I'm not sure exactly how your data is set up so this might or might not work

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

Similar Threads

  1. Replies: 3
    Last Post: 06-19-2013, 06:34 PM
  2. Replies: 1
    Last Post: 05-15-2013, 09:09 PM
  3. Replies: 3
    Last Post: 04-05-2013, 10:40 PM
  4. combining rows.. again
    By jerryb in forum Access
    Replies: 16
    Last Post: 05-03-2012, 08:34 PM
  5. Combining rows
    By Bing in forum Queries
    Replies: 1
    Last Post: 06-09-2011, 12:54 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