+ Reply to Thread
Results 1 to 8 of 8

SumProduct Help

  1. #1
    Registered User
    Join Date
    09-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    39

    SumProduct Help

    Hi,

    Please can you help me adapt my formula so that the second part of the sum product is looking for any occurrence of "Ticket" within a string from E2:E995. The reason being is that in the data, "Ticket" is suffixed with a number e.g. "Ticket1", "Ticket2" etc.

    =IF(ISBLANK(A2),"",IF(SUMPRODUCT((Details!$A$2:$A$995=Summary!A2)*(Details!$E$2:$E$995="Ticket"))>0,"Yes","No"))

    Thanks

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: SumProduct Help

    Try

    =IF(ISBLANK(A2),"",IF(SUMPRODUCT((Details!$A$2:$A$995=Summary!A2)*(ISNUMBER(MATCH("Ticket*",Details!$E$2:$E$9950,0))))>0,"Yes","No"))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: SumProduct Help

    Hi thanks for the response. Your suggestion doesn't seem to be identifying only cases with INC e.g. it is basically giving me a full count of where A2:A995=A* (the first part of the SUMPRODUCT).

    Thanks

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: SumProduct Help

    My apologies..try

    =IF(ISBLANK(A2),"",IF(SUMPRODUCT((details!$A$2:$A$995=Summary!A2)*(LEFT(details!$E$2:$E$995,6)="Ticket")),"Yes","No"))

  5. #5
    Registered User
    Join Date
    09-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: SumProduct Help

    Hi, Sorry, I still can't get it to work. I have attached an example with the formula (i have just left in the sumproduct part).

    Thanks for your help.
    Attached Files Attached Files

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: SumProduct Help

    Hi,

    This looks like it's related to the other post I helped you with, correct?

    http://www.excelforum.com/excel-form...umna-or-b.html

    What precisely are you trying to do here? Sum all the numerical values in column A which have a corresponding "Ticket..." entry in column E but which also fall under the relevant "Issue..." header? If so, a 'standard' SUMPRODUCT solution will not do.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  7. #7
    Registered User
    Join Date
    09-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: SumProduct Help

    Hi,

    Related in terms of the same project but different in terms of requirement.

    This is a straight forward SUMPRODUCT. The only difference to the standard is that I want to count where e.g. Sheet1!A1:A10=Sheet2!A1 and Sheet1!B1:B10="Ticket*" - as "Ticket" is a prefix to a number in a single string, I need to be able to identify "Ticket" by the first 6 characters in B1:B10.

    Thanks

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: SumProduct Help

    But that's what I mean about it being 'non-standard'.

    There are precisely zero rows in your current set-up for which there is an entry in column A containing "Issue" AND an entry in column E containing "Ticket*". That's why I asked if perhaps you weren't interested in the cells below each of those containing "Issue" in column A.

    Regards

+ 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: 1
    Last Post: 05-19-2012, 02:54 AM
  2. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  3. Replies: 6
    Last Post: 03-09-2011, 08:01 AM
  4. Subtract Sumproduct from a sumproduct
    By Prcntrygrl in forum Excel General
    Replies: 6
    Last Post: 01-17-2011, 02:34 PM
  5. Using a SumProduct Count to find a SumProduct Total?
    By XL021710 in forum Excel General
    Replies: 3
    Last Post: 02-18-2010, 08:31 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