# Sum Product with multiple criteria

#### =HPSF=RMP

##### Board Regular
I've search far and wide and I cant seem to find the answer. Hope someone can help.

The cell i'm wanting the formula to go in is G2. I want to match the name in A2 with cell B2 on sheet 2.
I then want to return the sum of every cell in cells O:O(sheet2) that match the above criteria as well as the number "2" in cells J:J on sheet 2.

### Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
=Sumproduct((Sheet2!B2:B100=A2)*(Sheet2!J2:J100=2)*(Sheet2!O2:O100))

awesome!
thanks

Replies
0
Views
218
Replies
3
Views
385
Replies
16
Views
745
Replies
3
Views
245
Replies
14
Views
513

1,196,047
Messages
6,013,078
Members
441,747
Latest member
darkman77

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