+ Reply to Thread
Results 1 to 10 of 10

Total of amount of tickets for agent and date

  1. #1
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    214

    Total of amount of tickets for agent and date

    I have a sheet called "ART Weekly Numbers" that shows how many tickets an agent does per day & the number of kickbacks. I need a formula to sum those numbers on sheet "ART Yearly Numbers" off the date and return to the cell that is for that agent and then put the kickbacks from that day into the below cell. I have attached a workbook so you can see what is needed. Thank you in advance for any help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,528

    Re: Total of amount of tickets for agent and date

    A "starter"

    in C5 of "ART Yearly Numbers"

    =SUMIF($B$16:$B$100,$B5,C$16:C$100)

    Copy across and down

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,528

    Re: Total of amount of tickets for agent and date

    "Art Weekly Numbers" gets data from "Arts Yearly Numbers" ???????

    So I am confused as it appears to be going round in circles.

  4. #4
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    214

    Re: Total of amount of tickets for agent and date

    Correct - so "ART Yearly Numbers pull from the agents sheets (VBA Macro) and then the weekly should pull the numbers of that sheet to create a weekly view!

  5. #5
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    214

    Re: Total of amount of tickets for agent and date

    I don't think the formula you provided is correct - it keeps giving me a reference error when applying that formula

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,528

    Re: Total of amount of tickets for agent and date

    Se C5 in attached:

    And please add sample data to your file as I still confused as to what is going where.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    214

    Re: Total of amount of tickets for agent and date

    Ok here is an example file with data in "ART Yearly Numbers". What I want the weekly numbers to show for example:

    Hector Almodovar-Cruz on sheet("ART Weekly Numbers").Range("F20") = 32 (sum of EC16:EC20)
    Hector Almodovar-Cruz on sheet("ART Weekly Numbers").Range("F21") = 4
    (Sum of EC21)

    and so on for each agent. I have included the workbook for your reference with sample data.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    214

    Re: Total of amount of tickets for agent and date

    Would maybe a index/match with a sum work?

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,528

    Re: Total of amount of tickets for agent and date

    In B20 of "Weekly"

    =SUM(INDEX('ART Yearly Numbers'!$C$16:$NC$100,MATCH('ART Weekly Numbers'!$A$18,'ART Yearly Numbers'!$A$16:$A$100,0),MATCH('ART Weekly Numbers'!B$19,'ART Yearly Numbers'!$C$15:$NC$15,0)):INDEX('ART Yearly Numbers'!$C$16:$NC$100,MATCH('ART Weekly Numbers'!$A$18,'ART Yearly Numbers'!$A$16:$A$100,0)+4,MATCH('ART Weekly Numbers'!B$19,'ART Yearly Numbers'!$C$15:$NC$15,0)))

    OR

    =SUM(OFFSET('ART Yearly Numbers'!$A$15,MATCH('ART Weekly Numbers'!$A$18,'ART Yearly Numbers'!$A$16:$A$100,0),MATCH('ART Weekly Numbers'!B$19,'ART Yearly Numbers'!$C$15:$NC$15,0)+1,5))

    OFFSET is volatile.

    Copy across

    in B21

    =INDEX('ART Yearly Numbers'!$A$1:$NC$99,MATCH($A$18,'ART Yearly Numbers'!$A$1:$A$99,0)+5,MATCH(B$19,'ART Yearly Numbers'!$A$4:$NC$4,0))

    Your layout makes it very difficult to reproduce these formulae simply by dragging across and/or down. Plus you use merged cells.

    Highlighted data are those that need adjusting for each person.



    in the previous file I sent I started a more "Excel" friendly form in "ART Weekly Numbers (2)"

  10. #10
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    214

    Re: Total of amount of tickets for agent and date

    Awesome - works like a charm - thank you very much!

+ 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. Replies: 2
    Last Post: 12-15-2017, 03:29 PM
  2. Replies: 1
    Last Post: 10-28-2015, 12:27 AM
  3. total amount for a date
    By hara_mo in forum Excel General
    Replies: 17
    Last Post: 08-17-2015, 06:30 AM
  4. Finding the total amount within a date range.
    By jcarey5225 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2015, 09:34 AM
  5. Need Help Calcuating of total number of tickets sold
    By Terybery in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-07-2013, 10:42 PM
  6. Cumulative total on months by Agent
    By jayjaysb in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-28-2011, 07:09 PM
  7. Calculate the total amount by date
    By 肥權 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2005, 12:45 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