Results 1 to 2 of 2
  1. #1
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199

    Help re-creating these Excel Pivot Tables as queries in Access


    Hello,

    Can anyone help me re-create these Pivot Table examples as queries of the same data in Access? Results would be as Count (exactly as in the example).
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    An aggregate query gets the first output.
    SELECT Table1.Color, Count(Table1.ID) AS CountOfID FROM Table1 GROUP BY Table1.Color;

    http://allenbrowne.com/ser-67.html

    Have you tried using the CROSSTAB query wizard? It does require 3 fields. Review http://www.datapigtechnologies.com/f.../crosstab.html

    The second output will likely involve 2 or 3 queries. However, I can't reconcile the output with the raw data example.
    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. Creating a pivot chart in Excel
    By crowegreg in forum Programming
    Replies: 13
    Last Post: 02-19-2014, 09:42 AM
  2. Creating a pivot table in Excel
    By crowegreg in forum Programming
    Replies: 7
    Last Post: 01-20-2014, 08:32 PM
  3. Access 2010 VBA Creating Pivot Table in Excel
    By Tomlon in forum Programming
    Replies: 1
    Last Post: 02-07-2013, 02:25 PM
  4. Replies: 1
    Last Post: 08-22-2011, 02:09 PM
  5. Pivot tables and charts - Access or Excel
    By kkrishna in forum Access
    Replies: 1
    Last Post: 06-06-2010, 04:52 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