Sumif with 2 sets of criteria

JRCBoston

Board Regular
Joined
Sep 19, 2003
Messages
129
Hi-

The sumif function only sums using one set of criteria, and I want to use more than one set of criteria. Does anyone have any suggestions? For instance, I want to be able to sum column D, if column A is equal to Yes and column b is equal to Monday. Or something like that.

Thanks.

Jon
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
If you haven't already done so... you ought to add-in and use the Conditional Sum Wizard. It provides a step-by-step guide for the construction of conditional array formulas such as...

{=SUM(IF(range1="Yes",IF(range2="Monday",range3)))}

Why write the formula when Excel will do it for you?

Note: Array formulas must be entered using the Control+Shift+Enter key combination. The outermost braces, { }, are not entered by you -- they're supplied by Excel in recognition of a properly entered array formula. For
 
Upvote 0
I am trying to use the Conditional Sum wizard but am experiencing problems. I have a named array which has all the days of the month across the top, names of all staff down the first column, which department they work in in the second column and their shift start time is entered into the body of the table.

I have been able to use the Conditional sum wizard to display how many staff we have in each department for each day for each different start time for the dates between 10/11 and 30/11 but when I follow the exact same procedure for anything out with these dates the error message reads that I have a randionized value which will have to be removed.

I can not find these figures based on randonized values. I have deleted all the data except the date at the top of the column and I still cant get it to work!!

Any tips?
 
Upvote 0
It must have had something to do with the way the dates were formatted. I have now fixed the problem by removing the dates, using the wizard and then hard typing the dates back in.
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

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