Results 1 to 2 of 2
  1. #1
    HowardlyDog is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    3

    Putting Rows in to columns

    Hello all, I am new to Access and am looking for some help!



    I have a Query with many part numbers in column A and their inventory location(s) listed in column B. However, some part numbers are listed 2 or 3 times because the item is located in multiple inventory locations. How can I take these items and put list their inventory locations in multiple columns across one row?

    What I have:

    ITEM# Quantity INVENTORYLOCATION
    A1 5 Warehouse 1
    A2 3 Warehouse 1
    A2 6 Warehouse 2
    A3 2 Warehouse 1

    What I want:

    ITEM# INVENTORYLOCATION Quantity 1 INVENTORYLOCATION 2 Quantity 2
    A1 Warehouse 1 5
    A2 Warehouse 1 3 Warehouse 2 6
    A3 Warehouse 1 2

    Thank you for any assistance!!!!

    C

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    How many warehouse locations are there? If not many, this method might work for you http://www.datapigtechnologies.com/f.../crosstab.html

    Anything else will probably require VBA code.
    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. Rows to columns
    By Jim.H. in forum Access
    Replies: 1
    Last Post: 01-28-2012, 05:29 PM
  2. Rows into Columns
    By chrisdavis in forum Programming
    Replies: 16
    Last Post: 12-22-2011, 01:58 PM
  3. Table rows to columns
    By Rhino373 in forum Programming
    Replies: 5
    Last Post: 12-22-2011, 01:44 PM
  4. Colouring Rows & Columns
    By Outlook in forum Access
    Replies: 1
    Last Post: 01-12-2011, 09:22 AM
  5. Combining columns into rows
    By steeveepee33 in forum Queries
    Replies: 5
    Last Post: 04-30-2009, 09:18 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