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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Von Pookie

MrExcel MVP
Joined
Feb 17, 2002
Messages
13,686
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))
 

mtb'r

New Member
Joined
Sep 8, 2006
Messages
42
Use SUMPRODUCT instead of SUMIF.

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

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
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?
 

Forum statistics

Threads
1,136,926
Messages
5,678,605
Members
419,775
Latest member
joh93

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
Top