I am trying to sum a column using multiple variables in named ranges. So far i have only been able to get the formula to work using one or a few of the criteria. I started with this but it's not working. "=SUM(SUMIFS(Amount,Dept,{"Boston","Atlanta"},PartNo,{"PYFO","PYRH"}))". Below is a portion of the spreadsheet. I would like to add more criteria such as a date range but everything i have tried has failed. Any help would be greatly appreciated.
[TABLE="width: 175"]
<colgroup><col style="width: 44pt; mso-width-source: userset; mso-width-alt: 2517;" width="59"> <col style="width: 44pt; mso-width-source: userset; mso-width-alt: 2474;" width="58"> <col style="width: 36pt; mso-width-source: userset; mso-width-alt: 2048;" width="48"> <col style="width: 51pt; mso-width-source: userset; mso-width-alt: 2901;" width="68"> <tbody>[TR]
[TD="class: xl69, width: 59, bgcolor: transparent"]A[/TD]
[TD="class: xl70, width: 58, bgcolor: transparent"] B [/TD]
[TD="class: xl68, width: 48, bgcolor: transparent"]C[/TD]
[TD="class: xl68, width: 68, bgcolor: transparent"]D[/TD]
[/TR]
[TR]
[TD="class: xl76, bgcolor: transparent"]Date[/TD]
[TD="class: xl77, bgcolor: transparent"] Amount [/TD]
[TD="class: xl75, bgcolor: transparent"]Part #[/TD]
[TD="class: xl75, bgcolor: transparent"]Department[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]05/10/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 5.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYFO[/TD]
[TD="class: xl83, bgcolor: #92D050"]Atlanta[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]06/01/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 200.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYRH[/TD]
[TD="class: xl83, bgcolor: #92D050"]Atlanta[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]05/12/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 345.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYFO[/TD]
[TD="class: xl83, bgcolor: #92D050"]Boston[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]04/03/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 25.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYRH[/TD]
[TD="class: xl83, bgcolor: #92D050"]Boston[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/22/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 100.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYCN[/TD]
[TD="class: xl74, bgcolor: transparent"]Chicago[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]04/05/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 215.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYFO[/TD]
[TD="class: xl82, bgcolor: white"]Chicago[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]06/17/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 20.49 [/TD]
[TD="class: xl82, bgcolor: white"]FORV[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/01/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 75.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYCN[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]04/01/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 10.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYFO[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/20/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 5.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYRH[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl78, bgcolor: transparent"]06/10/14[/TD]
[TD="class: xl79, bgcolor: transparent"] $ 10.00 [/TD]
[TD="class: xl74, bgcolor: transparent"]PYSB[/TD]
[TD="class: xl74, bgcolor: transparent"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]04/22/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 290.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYFO[/TD]
[TD="class: xl82, bgcolor: white"]Phoenix[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/05/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 55.82 [/TD]
[TD="class: xl82, bgcolor: white"]PYRH[/TD]
[TD="class: xl82, bgcolor: white"]Phoenix[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 175"]
<colgroup><col style="width: 44pt; mso-width-source: userset; mso-width-alt: 2517;" width="59"> <col style="width: 44pt; mso-width-source: userset; mso-width-alt: 2474;" width="58"> <col style="width: 36pt; mso-width-source: userset; mso-width-alt: 2048;" width="48"> <col style="width: 51pt; mso-width-source: userset; mso-width-alt: 2901;" width="68"> <tbody>[TR]
[TD="class: xl69, width: 59, bgcolor: transparent"]A[/TD]
[TD="class: xl70, width: 58, bgcolor: transparent"] B [/TD]
[TD="class: xl68, width: 48, bgcolor: transparent"]C[/TD]
[TD="class: xl68, width: 68, bgcolor: transparent"]D[/TD]
[/TR]
[TR]
[TD="class: xl76, bgcolor: transparent"]Date[/TD]
[TD="class: xl77, bgcolor: transparent"] Amount [/TD]
[TD="class: xl75, bgcolor: transparent"]Part #[/TD]
[TD="class: xl75, bgcolor: transparent"]Department[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]05/10/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 5.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYFO[/TD]
[TD="class: xl83, bgcolor: #92D050"]Atlanta[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]06/01/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 200.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYRH[/TD]
[TD="class: xl83, bgcolor: #92D050"]Atlanta[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]05/12/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 345.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYFO[/TD]
[TD="class: xl83, bgcolor: #92D050"]Boston[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: #92D050"]04/03/14[/TD]
[TD="class: xl85, bgcolor: #92D050"] $ 25.00 [/TD]
[TD="class: xl83, bgcolor: #92D050"]PYRH[/TD]
[TD="class: xl83, bgcolor: #92D050"]Boston[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/22/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 100.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYCN[/TD]
[TD="class: xl74, bgcolor: transparent"]Chicago[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]04/05/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 215.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYFO[/TD]
[TD="class: xl82, bgcolor: white"]Chicago[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]06/17/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 20.49 [/TD]
[TD="class: xl82, bgcolor: white"]FORV[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/01/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 75.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYCN[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]04/01/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 10.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYFO[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/20/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 5.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYRH[/TD]
[TD="class: xl82, bgcolor: white"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl78, bgcolor: transparent"]06/10/14[/TD]
[TD="class: xl79, bgcolor: transparent"] $ 10.00 [/TD]
[TD="class: xl74, bgcolor: transparent"]PYSB[/TD]
[TD="class: xl74, bgcolor: transparent"]Denver[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]04/22/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 290.00 [/TD]
[TD="class: xl82, bgcolor: white"]PYFO[/TD]
[TD="class: xl82, bgcolor: white"]Phoenix[/TD]
[/TR]
[TR]
[TD="class: xl80, bgcolor: white"]05/05/14[/TD]
[TD="class: xl81, bgcolor: white"] $ 55.82 [/TD]
[TD="class: xl82, bgcolor: white"]PYRH[/TD]
[TD="class: xl82, bgcolor: white"]Phoenix[/TD]
[/TR]
</tbody>[/TABLE]