+ Reply to Thread
Results 1 to 7 of 7

Sum salespeople by day in a full range

  1. #1
    Registered User
    Join Date
    04-05-2011
    Location
    Boston, Ma
    MS-Off Ver
    Excel 2003
    Posts
    3

    Sum salespeople by day in a full range

    HI,
    I am trying to create a sum based on how many customers a salesperson saw for a day.
    I am working with a years worth of data, for each day I have salespeople visiting customers and
    need to get a sum by day by salesperson.

    I am usually able to create formulas basing my counts by concatenating the date/salesperson and and using the change in date/salesperson.

    Since this is a years worth of data I dont want to create short ranges, is there a way to do this on a full set of data (1600 rows). Again, looking for sum by date for each salesperson when there are multiple salespeople in a day. In my attachment the column 'COUNT concat' is the result I would like to produce in some fashion.

    Id even be happy trying to back out into it, creating a 'countif' statement
    =IF(COUNTIF($V$2:V2,V2)=1,1,0)
    where it recognizes the change '1' and can sum the range to the previous '1' count.

    Thanks,
    Frenchii

    Attached Files Attached Files
    Last edited by Frenchii; 04-05-2011 at 01:06 PM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Sum salespeople by day in a full range

    Hi and welcome to the board

    Have you tried using a Pivot Table ?

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum salespeople by day in a full range

    Maybe on these lines
    Please Login or Register  to view this content.
    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    04-05-2011
    Location
    Boston, Ma
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Sum salespeople by day in a full range

    HI,
    the count doesnt seem to sum correctly in the attachment and I am trying to avoid inputting a range, I would like the range to be my worksheet (C2:C1600), and do not want to put the condition for a salesperson, as that is too much work for 1600 rows of data.

    I am trying to get the sum so I can pull it in a pivot table along with some shift information.

    Thanks!

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum salespeople by day in a full range

    My mistake with the formula, forgot to change the last parameter to match the data table

    Sort the original Data on Date then by Sales
    Then
    Please Login or Register  to view this content.
    1600 rows is not excessive for sumproduct, I accept it is calculating every cell x1600 each time there is a recalculation, but that is not too bad. (Others might disagree.)
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-05-2011
    Location
    Boston, Ma
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Sum salespeople by day in a full range

    I was able to get it by doing a lookup on the concatenated field.
    =SUMIF(W:W,AB2,V:V)

    See the attached, not sure why I couldnt get this to work earlier.

    Thanks I'm smarter than I thought !!

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum salespeople by day in a full range

    Okay, I usually use helper columns myself, others seem to want to do without them.

    There are pros and cons to both methods, none of which are really noticable until the sheet gets really big.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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