Results 1 to 3 of 3
  1. #1
    DJohns is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Midlothian, TX
    Posts
    6

    Sub-total Help


    I would like to do a sub-total on tickets sold by the date they were sold. What formula do I use?

  2. #2
    apr pillai's Avatar
    apr pillai is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Alappuzha, India
    Posts
    209
    Create a Total Query like the sample given below to prepare a Date-wise Summary:

    Code:
    SELECT Table1.SaleDate,
     Sum(Table1.SaleAmt) AS SumOfSaleAmt
    FROM Table1
    GROUP BY Table1.SaleDate;

  3. #3
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,085
    I would add to that by the following

    Select Table1.SaleDate, Count(Table1.ID),Sum(Table1.SaleAMT)
    From Table1
    Group By Table1.SaleDate;

    That way you get the total Sales Count and Total Dollar Amount By Date

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

Similar Threads

  1. Total Box on Form
    By Bike in forum Forms
    Replies: 3
    Last Post: 04-05-2011, 01:30 PM
  2. Total's Box
    By Bike in forum Forms
    Replies: 1
    Last Post: 03-31-2011, 12:15 PM
  3. total Count
    By Alaska1 in forum Access
    Replies: 2
    Last Post: 12-06-2010, 08:09 PM
  4. Total a Query
    By Bridgid in forum Queries
    Replies: 0
    Last Post: 09-05-2009, 02:51 PM
  5. 7 day average and total
    By jannie in forum Access
    Replies: 1
    Last Post: 05-14-2009, 05:52 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