+ Reply to Thread
Results 1 to 2 of 2

Query to sum sales for agent between two dates

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Query to sum sales for agent between two dates

    Hi there,

    I have data table of this info:

    Date Name QuantitySold
    2017-10-10 John 50
    2017-10-11 James 50
    2017-10-11 John 50

    How to run a query which will show me a total for quantity sold between two dates:

    Between 2017-10-10 and 2017-10-11

    John 100
    James 50

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: Query to sum sales for agent between two dates

    Make a form, put a combo box to pick agent
    put in 2 text boxes: txtStartDate, txtEndDate

    then the query will look at these controls:
    Please Login or Register  to view this content.

    put a button to open the query:
    Please Login or Register  to view this content.
    to show ALL agents:
    Please Login or Register  to view this content.
    Last edited by alansidman; 11-19-2017 at 01:31 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Dates list of ZERO sales
    By makinmomb in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-02-2015, 07:08 AM
  2. splitting sales commission between a brokere and an agent
    By EnidM in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 10-28-2014, 08:33 AM
  3. Replies: 6
    Last Post: 10-19-2013, 04:53 PM
  4. Replies: 9
    Last Post: 09-01-2012, 07:25 AM
  5. Replies: 7
    Last Post: 07-24-2008, 07:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1