+ Reply to Thread
Results 1 to 8 of 8

issue with sumproduct - with criteria

  1. #1
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    issue with sumproduct - with criteria

    Hello

    I'm trying to get the result of multiplying numbers from column B by numbers in column E with criteria from column F where criteria is "competitive"
    I used sumproduct formula as below however in return I get value error - in cell H1

    can you please advise where is the problem or what other formula I might use?

    Capture.PNG

    attached also file

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: issue with sumproduct - with criteria

    Please try with Ctrl+Shitf+Enter
    =SUM((F3:F577="competitive")*IFERROR(B3:B577*E3:E577,0))

  3. #3
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: issue with sumproduct - with criteria

    Hi Bo_Ry

    it worked
    thanks

    However I'm wondering if there is any solution with sumproduct to use later other criteria?

    thanks

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: issue with sumproduct - with criteria

    You can use sumproduct but still need CSE becase of iferror, then better use just Sum

    =sumproduct((F3:F577="competitive")*IFERROR(B3:B577*E3:E577,0))

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,137

    Re: issue with sumproduct - with criteria

    I think this is a FIRST for me.... I might be about to improve on one of Bo_Ry's replies.... Sound of trumpets playing in the sky...

    You can use SUMPRODUCT, in a non-array formula, like this:

    =SUMPRODUCT(--(F3:F577="competitive"),B3:B577,E3:E577)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: issue with sumproduct - with criteria

    Glenn, I did B5*E5 and got #VALUE! So I though we need iferror, but I was wrong.

    Len(E5) = 0 if I hit Enter at E5, #VALUE! is gone and B5*E5 = 0

    Do you know what's in E5?
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,137

    Re: issue with sumproduct - with criteria

    I dimly remember seeing something like this before.... but I can't remember what caused it... A HEX character???

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: issue with sumproduct - with criteria

    Thanks, Glenn

+ 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. Combine sumif/sumproduct or sumproduct with multiple criteria
    By sab128 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2018, 08:25 AM
  2. Issue with SUMPRODUCT on Multiple Criteria
    By mrichardson.music in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-11-2018, 09:04 AM
  3. Replies: 3
    Last Post: 04-21-2015, 07:45 AM
  4. sumproduct with multiple criteria issue
    By jw01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-19-2013, 12:55 AM
  5. Replies: 6
    Last Post: 08-04-2013, 11:53 AM
  6. sumproduct issue with multiple criteria
    By jw01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 04:25 PM
  7. Replies: 5
    Last Post: 04-20-2012, 08:54 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