Summing columns based on meeting multiple criteria

Muckles93

New Member
Joined
May 24, 2017
Messages
2
So I want find the total amount of refrigerant, by type and month. I'm attempting to display the amount of refrigerant by type (ex: 15 pounds of R-22, 25 pounds of R-23, etc.) on a per month basis. Link to a picture of the Excel file I'm attempting to set up: Imgur: The most awesome images on the Internet. I quickly compressed it into this so ignore the poor formatting of the last column (it's meant to be a total for the entire month, not each day). I tried putting this formula in the cell that is highlighted: =SUM(IF(AND(MONTH('Midsize Appliance Disposal'!$B$10:$B$1000)=6,'Midsize Appliance Disposal'!$D$10:$D$1000="R-22"),'Midsize Appliance Disposal'!$D$10:$D$1000,0),0). But all it gave me was "0", instead of "15". Any help would be appreciated, thanks.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Have a look at SUMIFS function.
 
Upvote 0

Forum statistics

Threads
1,216,129
Messages
6,129,046
Members
449,482
Latest member
al mugheen

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