Results 1 to 2 of 2
  1. #1
    dbfool is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Posts
    1

    Summing and subtotals


    What is the best way to sum? Here is my situation. Have a list of data (custlastname, sumofpurch, brand). I want to produce a list that shows by person how much they spent total and a subtotal of each brand that they spent with. Of the multitude of brands I offer, I am only interested in learning about the subtotals for about 6 of them and I could screen for each in separate columns. Optimally the result would look like this...

    custlastname, sumofpurch (all brands), subtotal sumofpurch (brand1), subtotal sumofpurch (brand2), etc.

    Any help is appreciated.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Play with the crosstab query wizard. Once you get the formatted result you want, you can add a criteria to restrict to the 6 brands.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Query Subtotals???
    By claysea in forum Queries
    Replies: 3
    Last Post: 02-20-2012, 11:29 AM
  2. need two subtotals in ms access
    By learning_graccess in forum Access
    Replies: 1
    Last Post: 10-20-2011, 10:52 AM
  3. More detailed subtotals
    By kcmiuser in forum Queries
    Replies: 0
    Last Post: 06-27-2011, 06:10 AM
  4. supress subtotals code
    By sandyg in forum Reports
    Replies: 1
    Last Post: 02-16-2011, 11:38 PM
  5. Subtotals within a query
    By mulefeathers in forum Queries
    Replies: 2
    Last Post: 06-07-2010, 01:02 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