SumIF for multiple IF's with multiple IF's

biglb79

Active Member
Joined
Oct 17, 2007
Messages
304
Office Version
  1. 2019
Platform
  1. Windows
can someone please help me out with a formula here? I want to sum census days from a pivot table. in column A there are three different regions (Akron, Columbus and Cleveland). in column B I have four different programs (IOP, Outpatient, PHP and Assessment) and in column C I have different financial codes (COMM, MGD MCAID and MCAID)

The days are counted in column AF, so I would like it to SumIF it's Akron, IOP and MCAID. Akron, IOP MGD MCAID, Akron IOP COMM, etc.....

Hopefully I described what I'm looking for. if not I can attach some dummy sheet (after removing sensitive data)
 
Sumproduct is your friend for old excel.

MrExcelPlayground24.xlsx
ABCDEFGHI
1RegionProgramCodesdays
2AkronIOPMCAID6RegionAkron
3ColumbusOutMCAID4ProgramIOP6
4ClevelandPHPCOMM3CodeMCAID
5Columbus***MGD6
6Akron***COMM4
7ColumbusOutMGD1
8ColumbusIOPMGD2
9AkronPHPMCAID7
10AkronPHPMGD1
11Cleveland***COMM2
12ClevelandOutMGD3
13ColumbusPHPMCAID4
14Akron***COMM5
15ClevelandOutMCAID6
16AkronPHPMGD7
Sheet7
Cell Formulas
RangeFormula
I3I3=SUMPRODUCT(D2:D16,--(A2:A16=H2),--(B2:B16=H3),--(C2:C16=H4))
 
Upvote 0

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