Sumproduct - Why does one formula use CSE and another one does not

bearcub

Well-known Member
Joined
May 18, 2005
Messages
701
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
I'm trying to understand when CSE is and is not required for the Sumproduct function to return the correct result.

From what I understand in most cases Sumproduct does not require CSE for it to function properly. However, the one instance CSE is required for Sumproduct is when the"IF" function is nested within it and one of the IF arguments contains an array.

These are the two formulas that I just encountered which brought about my question:

={SUMPRODUCT(IF($B$2=1,TRUE,Table1[Country]=INDEX($E$1:$E$11,$B$2))*(Table1[Sales stage]="Won")*(Table1[Deal size]<250)*(Table1[Sales Channel]=E$88))}

SUMPRODUCT((Table1[Country]=A22)*(Table1[Sales stage]="Won")*(IF(A2=1,Table1[Deal size],1)))

Is my analysis correct:

The first formula has the Index function as one of its arguments and it is being used as an array. CSE is needed

In the 2nd formula, the If function doesn't contain an array just a range. CSE is not needed.


Thanks for your help in advance,

Michael
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,213,538
Messages
6,114,218
Members
448,554
Latest member
Gleisner2

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