+ Reply to Thread
Results 1 to 2 of 2

How can I convert this sumif statement into a Sumproduct?

  1. #1
    Registered User
    Join Date
    10-11-2010
    Location
    US
    MS-Off Ver
    NA
    Posts
    41

    Cool How can I convert this sumif statement into a Sumproduct?

    Here is the equation I am working with:

    =IF((A10=1),SUMIF('[2011 Consolidated Master Allocation.xls]PR Rates'!$K$5:$K$156,EE10,'[2011 Consolidated Master Allocation.xls]PR Rates'!$I$5:$I$156),(SUMIF('[2011 Consolidated Master Allocation.xls]PR Rates'!$A$5:$A$478,V9:V109,'[2011 Consolidated Master Allocation.xls]PR Rates'!$C$5:$C$478)))

    Thank you in advance.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: How can I convert this sumif statement into a Sumproduct?

    You wouldn't normally have a range like V9:V109 as the criteria in a SUMIF formula, is this a formula you copy down? If so the just use V9 and as you copy down that will change accordingly. Given that the SUMPRODUCT equivalent would be as follows:

    =IF(A10=1,SUMPRODUCT(('[2011 Consolidated Master Allocation.xls]PR Rates'!$K$5:$K$156=EE10),'[2011 Consolidated Master Allocation.xls]PR Rates'!$I$5:$I$156),SUMPRODUCT(('[2011 Consolidated Master Allocation.xls]PR Rates'!$A$5:$A$478=V9),'[2011 Consolidated Master Allocation.xls]PR Rates'!$C$5:$C$478))
    Audere est facere

+ 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