Sum if

claire_pike

New Member
Joined
Aug 10, 2006
Messages
40
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 :LOL:
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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))
 
Upvote 0
Use SUMPRODUCT instead of SUMIF.

Something like this:
Code:
=SUMPRODUCT((Master!E1:E1000=A2)*(Master!H1:H1000="Exchange RFS"),(Master!N1:N1000))
 
Upvote 0
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 :LOL:

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

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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