+ Reply to Thread
Results 1 to 8 of 8

Sumproduct-report

  1. #1
    Registered User
    Join Date
    11-23-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Unhappy Sumproduct-report

    Hey people,

    Looking forward to being part of this forum.

    I have a question related to the SUMPRODUCT formulas I am using.

    I have a workbook with 8 seperate sheets. The first sheet is a data import from Sage ACT! with First Name, Surename, Industry, Job Title, County, Phone, Email, Opportunity Status, etc.

    Something is going wrong with the calculation on my report sheets that I canīt figure out.

    These "report" sheets look like this:

    X - Interested XK - KAM Call

    Aberdeenshire 49 2
    Angus 21 0
    Argyll 5 0

    I have

    Here is the formula I am using in the B3 (Aberdeenshire) X-Interested cell:

    =SUMPRODUCT(--('RAW contact List'!L2:L9999="X - Phase Two Re-activation"),--('RAW contact List'!Y2:Y9999=Geographic!A3))

    RAW contact List is the main sheet all the other sheets take data from. When I do a filter on the Opportunity Status on this sheet (for X - Phase Two Re-activation) , i have a total of 423 records.

    However my report sheet reports 409 for the total of all the countys which is wrong.

    The total should be a breakdown of the 423 records from the main sheet.

    To create the seperate report sheet (countys), I did an advanced filter and made a new list with only unique values. This gave me my geographic names and other sheets for Industry, Job Title, etc.

    Hopefully someone can point me in the right direction!

    David

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: SUMPRODUCT Issue

    Make sure that none of the entries in columns L or Y are mispelled or have extra spaces before or after...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    11-23-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: SUMPRODUCT Issue

    Thanks for the reply NBVC!

    Is there a quick way of checking the columns for extra spaces and verifying "proper case"?

    The strange thing is when I use the same formula on the "Industry" sheet it reports 445 records (when again, it should be 423 but broken down into Industry).

    =SUMPRODUCT(--('RAW contact List'!L2:L983="X - Phase Two Re-activation"),--('RAW contact List'!J2:J983=Industry!A3))

    I need the formula to basically filter the Opportunity Status (L), then filter again on another field for "Industry", "Geographic", etc). Then count the total number of rows for each. Which shouldnīt be no more than 423, since there are only 423 records with Opportunity Status of "X - Phase Two Re-activation".

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: SUMPRODUCT Issue

    Possible to see the sheet?

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: SUMPRODUCT Issue

    Also bear in mind if using XL2007 you may find you can utilise the new COUNTIFS function which is significantly more efficient than SUMPRODUCT (you may need to utilise wildcards - unclear)

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: SUMPRODUCT Issue

    Quote Originally Posted by DonkeyOte View Post
    Also bear in mind if using XL2007 you may find you can utilise the new COUNTIFS function which is significantly more efficient than SUMPRODUCT (you may need to utilise wildcards - unclear)
    Unless you intend for others using 2003 to work with your workbook...

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: SUMPRODUCT Issue

    hence the word "may"...

  8. #8
    Registered User
    Join Date
    11-23-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: SUMPRODUCT Issue

    Thanks for all the help!

    I think i fixed the issue in the Industry sheet, because I now correctly get 423 as the total.

    I canīt seem to pin point the issue in the other sheet though?

    Is my formula correct for what i want to get?

+ 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