Sum If with 2 checks

Carly

Active Member
Joined
Aug 21, 2002
Messages
370
I have a column which contains either "Stocked", "NonStocked" or "Sourced", another column containing either "Manual Review", "Repatriate" or "Clearance" and another column containing a sales value.

What I would like to so is SUM the sales value field when the 1st column contains "Stocked" & the 2nd column contains "Manaul Review"...Is there any way I can do this without creating a new field with a concatenated value.

Any help would be greatly received.

Regards

Carly
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

NBVC

Well-known Member
Joined
Aug 31, 2005
Messages
5,828
Try something like:

=SUMPRODUCT(--(A1:A5="stocked"),--(B1:B5="manual review"),--(C1:C5))
 

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459
A slight edit on NBVC's,

=SUMPRODUCT(--($A$1:$A$5="stocked"),--($B$1:$B$5="manual review"),$C$1:$C$5)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,543
Messages
5,832,356
Members
430,128
Latest member
ojl987

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