+ Reply to Thread
Results 1 to 5 of 5

SUMPRODUCT formula not returning correct results

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    Philadelphia, Pa
    MS-Off Ver
    Excel 2007
    Posts
    72

    SUMPRODUCT formula not returning correct results

    Here is my formula:

    =SUMPRODUCT((Testing!$C$2:$C$1000="*OFM*")*(Testing!$E$2:$E$1000="*Issue*"))

    I returns a result of zero. I have uploaded a sample workbook below.
    The formula in question is on sheet2 cell A1
    Attached Files Attached Files
    Last edited by CityInspector; 11-06-2012 at 09:35 AM.

  2. #2
    Forum Contributor
    Join Date
    07-05-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2016
    Posts
    165

    Re: SUMPRODUCT formula not returning correct results

    Could you post an example of the result you are wanting?
    Click on the * icon if this post has been helpful.

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

    Re: SUMPRODUCT formula not returning correct results

    With the sample set provided, I am not sure you need to use wildcards....


    =SUMPRODUCT((Testing!$C$2:$C$1000="OFM")*(Testing!$E$2:$E$1000="Issue"))

    btw, wildcards don't work with Sumproduct.

    you could use COUNTIFS too.

    =COUNTIFS(Testing!$C$2:$C$1000,"OFM",Testing!$E$2:$E$1000,"Issue")

    and with this function you can use wildcards...
    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.

  4. #4
    Registered User
    Join Date
    10-12-2012
    Location
    Philadelphia, Pa
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: SUMPRODUCT formula not returning correct results

    NBVC- i didnt realize that about sumproduct. thanks for the info. I tried your countif formula and it worked perfectly, giving me the result of 2. Thanks for the help.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: SUMPRODUCT formula not returning correct results

    maybe with an pivot table.

    see the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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