# Sum if

#### claire_pike

##### New Member
Hi,

I am trying to perform a SUMIF function and would like to add multiple criteria but having some trouble.

So what I want to do is

SUMIF(Master!E:E,A2,Master!N:N)

but need to add the criteria

VLOOKUP(A2,Master!E:H,4,FALSE)="Exchange RFS"

Any ideas?

Cheers,

Claire

### Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Untested, but something like this?

=SUMPRODUCT(--(Master!\$E\$1:\$E\$500=\$A\$2),--(Master!\$H\$1:\$H\$500="Exchange RFS"),(Master!\$N\$1:\$N\$500))

Something like this:
Code:
``=SUMPRODUCT((Master!E1:E1000=A2)*(Master!H1:H1000="Exchange RFS"),(Master!N1:N1000))``

Hi,

I am trying to perform a SUMIF function and would like to add multiple criteria but having some trouble.

So what I want to do is

SUMIF(Master!E:E,A2,Master!N:N)

but need to add the criteria

VLOOKUP(A2,Master!E:H,4,FALSE)="Exchange RFS"

Any ideas?

Cheers,

Claire

Are you wanting to replace A2 in the SumIf formula with the VLOOKUP formula that uses A2 as lookup value?

Replies
14
Views
539
Replies
18
Views
987
Replies
1
Views
555
Replies
1
Views
522
Replies
5
Views
1K

1,218,740
Messages
6,144,215
Members
450,531
Latest member
avril18

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