Results 1 to 2 of 2
  1. #1
    phazzard is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2018
    Posts
    1

    Help with Totals from two fields

    Simple access table that shows orders placed by a single rep or team of reps. Here is example of data in access table:



    Rep1 Rep2 Rep3 Sales Per
    1 John Wilkins Tom Reynolds 1 $5.00
    2 Tom Reynolds 8 $2.00
    3 Adam Toms John Wilkins Bill Booth 1 $4.00
    4 Bill Booth 0 $0.00
    5 Bill Booth Adam Toms 2 $1.00

    I would like to have a query that can look at name in Rep1, Rep2 and Rep3 field for totals

    I would like to see query results as such:

    Sales Total Unique Available
    Adam Toms 3 $6.00 2 2
    Bill Booth 3 $6.00 2 3
    John Wilkins 2 $9.00 2 2
    Tom Reynolds 9 $21.00 2 2
    TOTALS 12 $27.00 4 5

    Sales = QTY of sales the rep was a part of
    Total = Sum sale * Per
    Unique = Unique records with sales of 1+
    Available = Unique records with 0+

    Hope this makes sense - My struggle is getting it to pull from the second and third rep fields to be included in the data.

    Any help is appreciated

    Phil...

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Make a report table,
    run 3 append queries,1 for each Salesman to append the Qty,amt,etc.
    report off this.

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

Similar Threads

  1. totals form different fields with reference
    By mazamizo567 in forum Access
    Replies: 1
    Last Post: 03-28-2018, 07:18 AM
  2. Replies: 9
    Last Post: 02-05-2018, 09:45 AM
  3. Totals of Calculated Fields in Report Footer
    By rrciesla in forum Access
    Replies: 2
    Last Post: 12-13-2014, 01:33 PM
  4. Totals Query and Empty Fields
    By AccessNub in forum Queries
    Replies: 4
    Last Post: 09-20-2013, 01:27 PM
  5. Replies: 1
    Last Post: 12-12-2010, 05:03 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