# Question about * in array formula

#### CasperA

##### Board Regular
Can anyone explain why there is an asterisk (multiplication) in the following array formula that sums all the values in Column A when the value on the same row in Column B is 150 and the value in Column C is the letter U. What is being multiplied and why?

CA

=SUM((A1:A5)*(B1:B5=150)*(C1:C5="U"))

### Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Where it finds a match it is multiplying by 1, so

A2*1*1=A2
A3*0*1=0
etc

Thanks! So I understand that here it would be:

A1*1*1=A1=8
A2*0*0=0
A3*0*0=0
A4*1*1=A4=7
A5*0*0=0

Sum = 15

Correct, effectively True=1, False=0

Depending on your version of Excel, sumifs can do the same but is none array.

=SUMIFS(A1:A5,B1:B5,150,C1:C5,"U")

Last edited:

Replies
5
Views
82
Replies
5
Views
374
Replies
1
Views
122
Replies
7
Views
331
Replies
5
Views
121

1,203,044
Messages
6,053,186
Members
444,643
Latest member
Shipwreck818

### 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.

### Which adblocker are you using?

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

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