Sumif mutiple criteria

oli123

New Member
Joined
Nov 17, 2010
Messages
32
Hi There,

Im looking for some help with the SUMIF function. Im simply looking for a formula that would return a value based on two sets of criteria. Here's an example :

if cell B2 = Canada
AND cell C2 = >20
then i need for cell A2 to return the total sum that's in cell F2

or

if cell B2 = USA
AND cell C2 = >20
then i need for cell A2 to return the total sum that's in cell F3...

Any help would be greatly appreciated.

Thnx,
Oli
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi,

Maybe

=IF(AND(B2="Canada",C2>=20),F2,IF(AND(B2="USA",C2>=20),F3,""))

Question: what return do you want if neither condition 1 nor condition 2 are satisfied?

HTH

M.
 
Upvote 0
Hi,

Maybe

=IF(AND(B2="Canada",C2>=20),F2,IF(AND(B2="USA",C2>=20),F3,""))

Question: what return do you want if neither condition 1 nor condition 2 are satisfied?

HTH

M.

Thank you Marcelo for your help, this formula seems to be doing the trick! The return value should show $0.00 if condition 1 or 2 are not met.
 
Upvote 0
Thank you Marcelo for your help, this formula seems to be doing the trick! The return value should show $0.00 if condition 1 or 2 are not met.

You are welcome and tks for the feedback :)

M.
ps: if you want 0 in the cases conditions 1 and 2 are not met, change the "" at the right-end of the formula to 0
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,735
Members
452,939
Latest member
WCrawford

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