Results 1 to 2 of 2
  1. #1
    levinkev is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    1

    Display multiple rows into seperate columns

    Hi,



    I have a table containing the information as per attached sheet. Namely the table contains total workings for each product sales by salesman for each month and year for the last three years. i.e 2010, 2011,2012.

    I need to create a query that displays result for each item and salesman having the year, month, qty & net values in one row.

    Attached is an explanation of what I have in the table today and what would like to achieve with the query result in access.

    Thanks for your help.

    Kevinsample.zip

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

    1. Four crosstab queries (Year, Period, Quantity, Net), then join those queries
    Be aware there is a limit of 255 fields for tables/queries

    2. VBA code to rearrange the data to a temp table.
    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: 1
    Last Post: 05-14-2012, 04:12 AM
  2. Convert multiple rows to columns?
    By NelsonKauley in forum Programming
    Replies: 2
    Last Post: 04-04-2012, 04:59 PM
  3. Replies: 2
    Last Post: 01-02-2012, 06:46 PM
  4. Replies: 5
    Last Post: 12-01-2011, 05:38 PM
  5. Unmatched with multiple columns and rows
    By sampson20 in forum Programming
    Replies: 1
    Last Post: 04-18-2011, 10:48 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