Results 1 to 2 of 2
  1. #1
    adamg_ is offline Novice
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    1

    Help with Access Query! - Merging Rows with Unique ID

    I am having a hard time either using Excel or Access (2007, xp) to merge rows. Our e-commerce site splits an individuals cart into multiple rows in a .csv file. See attached file as an example.

    I would like to:
    - Merge rows by Name or Email
    - For each "Lineitem name" per Name/Email, have the name and quantity in the same row
    - For each Name/Email have the total

    Example:
    email 1 has 4 entries, they selected:
    - Select your item - item 3
    - Select your addon - item 7


    - Select your addon - item 8
    - Select your addon - item 2

    I want to see all of this data in one row along with quantity and ultimately either price or total.

    I assume I can create a complex index/match function in excel or create a table to reference for Access. Having trouble figuring this one out! HELP!

    See attached.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Displaying related records horizontally (left to right) is tricky. Review
    http://forums.aspfree.com/microsoft-...ry-322123.html
    http://allenbrowne.com/func-concat.html
    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: 0
    Last Post: 02-09-2012, 05:43 PM
  2. Replies: 2
    Last Post: 01-02-2012, 06:46 PM
  3. Merging parts of rows...
    By Aasta in forum Queries
    Replies: 0
    Last Post: 08-21-2011, 09:34 AM
  4. Replies: 3
    Last Post: 05-15-2011, 08:40 AM
  5. Selecting Unique SETS of rows in Access Query
    By dalessandroh in forum Queries
    Replies: 0
    Last Post: 11-09-2010, 10:42 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