Nesting Sumproduct and Sumifs not working

Siyanna

Well-known Member
Joined
Nov 7, 2011
Messages
1,146
Hi

I am trying to change this formula to use Sumifs to make it faster (trying to use better formulas to speed up my spreadsheet) but i cant seem to get it to work

I am trying to do a multiple or with sumproduct

my current formula

=SUMPRODUCT(--(A2:A7=F7),--ISNUMBER(MATCH(B2:B7,Condition_List,0))),(D2:D7))

trying to change to

=SUMPRODUCT(--(A2:A7=F7),Sumifs(B2:B7,Condition_List),(D2:D7))

what am i doing wrong
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
SUMIFS() is returning a single value.

--ISNUMBER() is returning an array of 6 values.....

The two formulas are doing completely different things. SUMIFS() is already adding up the cells, before applying the second criteria. A = F criteria
 
Upvote 0
You can do that with a sumproduct sumifs:

=SUMPRODUCT(SUMIFS(D2:D7,A2:A7,F7,B2:B7,Condition_List))
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top