+ Reply to Thread
Results 1 to 5 of 5

Q: Enter ID Value and Return the SUM of all ID sales (multiple sales entries)?

  1. #1
    Registered User
    Join Date
    10-17-2016
    Location
    Cumming, GA
    MS-Off Ver
    XL10
    Posts
    8

    Q: Enter ID Value and Return the SUM of all ID sales (multiple sales entries)?

    I'm stumped.

    I have salespersons who have multiple sales per day/month. Sure, I could do some filter sorting and subtotalling to determine each's total sales for the period, but... I have 35,000 sales people who may have as many as 100 transactions each per day. It's just not feasible (I think not feasible) to do filtering and subtotal

    But my brain says, "Dang. I bet there's a way to do some kind of SUPER VLookup where I could just enter their ID and functions would find all their sales data AND sum it for the period in question."

    Attached is a micro sample using three salespeople with just a few a sales each. PS I've attached an excel file example. Here you go

    Raw data example
    Day Emp Ident Sales
    1 Sam 1111 143
    1 Dave 2222 165
    1 Sam 1111 137
    1 Alice 3333 201
    1 Dave 2222 106


    Report out Format
    Sales ID ####
    Total Sales

    For example if I entered 1111 it would return 280 (143+137). If I entered 222 it would return 271 (165+106)

    Thanks you all
    Attached Files Attached Files
    Last edited by AliGW; 10-07-2019 at 01:00 AM. Reason: Solved tag added - no need to edit thread title or add solved to post. Thanks.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,618

    Re: Q: Enter ID Value and Return the SUM of all ID sales (multiple sales entries)?

    =sumif($c$9:$c$18,$b$22,$d$9:$d$18)
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    10-17-2016
    Location
    Cumming, GA
    MS-Off Ver
    XL10
    Posts
    8

    Re: Q: Enter ID Value and Return the SUM of all ID sales (multiple sales entries)?

    Ben, thank you for your prompt reply. I just figured out the SUMIF function as you were replying.

    Now, I'm trying to build it across tabs. i.e. my report is on tab 1, and it has trailing tabs of Jan, Feb, Mar, April, etc. etc. Just to make sure it works.

    Let me do some testing to validate and I'll either modify my original note to be more clear OR I'll come back and indicate it's solved. Thanks.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,223

    Re: Q: Enter ID Value and Return the SUM of all ID sales (multiple sales entries)?

    Please do NOT modify the opening post - please add extra detail in a new post to the thread. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    10-17-2016
    Location
    Cumming, GA
    MS-Off Ver
    XL10
    Posts
    8

    Re: Q: Enter ID Value and Return the SUM of all ID sales (multiple sales entries)?

    SOLVED
    Used SumIF on array

    Quote Originally Posted by svance View Post
    I'm stumped.

    I have salespersons who have multiple sales per day/month. Sure, I could do some filter sorting and subtotalling to determine each's total sales for the period, but... I have 35,000 sales people who may have as many as 100 transactions each per day. It's just not feasible (I think not feasible) to do filtering and subtotal

    But my brain says, "Dang. I bet there's a way to do some kind of SUPER VLookup where I could just enter their ID and functions would find all their sales data AND sum it for the period in question."

    Attached is a micro sample using three salespeople with just a few a sales each. PS I've attached an excel file example. Here you go

    Raw data example
    Day Emp Ident Sales
    1 Sam 1111 143
    1 Dave 2222 165
    1 Sam 1111 137
    1 Alice 3333 201
    1 Dave 2222 106


    Report out Format
    Sales ID ####
    Total Sales

    For example if I entered 1111 it would return 280 (143+137). If I entered 222 it would return 271 (165+106)

    Thanks you all

+ 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] How to identify whether a Sales is Cash Sales or Credit Sales
    By purav82 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-28-2018, 10:11 AM
  2. Replies: 2
    Last Post: 03-27-2017, 05:35 PM
  3. Replies: 1
    Last Post: 06-09-2015, 09:30 AM
  4. Replies: 6
    Last Post: 10-19-2013, 04:53 PM
  5. Useform which search the data of Primary sales and i can enter secondary sales data.
    By bipin_04 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-31-2013, 11:29 AM
  6. Replies: 1
    Last Post: 09-20-2012, 06:05 PM
  7. Replies: 2
    Last Post: 06-19-2012, 10:19 AM

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