=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!C2:C18"),C2,INDIRECT("'"&SheetList&"'!E2:E18")))
If you don't know how to name a range, invoke:
=SUMPRODUCT(SUMIF(INDIRECT("'"&$A$2:$A$13&"'!C2:C18"),C2,INDIRECT("'"&$A$2:$A$13&"'!E2:E18")))
Hello,
I am trying to perform a similar function where I want to sum across all sheets for a part # (different # in each cell), where the totals are
not in the same column on each sheet. There are 30 total sheets I want to sum, with a table in each totaling the number of parts per sheet.
I've tried the SheetList method and that hasn't worked for me yet, and the problem is compounded by my "TOTAL" column not being in the same place on each sheet. Any help on the matter would be greatly appreciated!!
Sample of components list for one part #:
[TABLE="width: 479"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]2CSH34029-6001[/TD]
[TD]Column1[/TD]
[TD]JOB #[/TD]
[TD]JOB #2056
[/TD]
[TD]TOTAL[/TD]
[/TR]
[TR]
[TD]PART #[/TD]
[TD]DESCRIPTION[/TD]
[TD]QTY[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2CSH34029-0013[/TD]
[TD]FRAME - FS 402, UPPER RHS[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]LMT02932[/TD]
[TD]AL PLATE[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]EN1182ND6[/TD]
[TD]NUT[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]JSFF17D24[/TD]
[TD]COUPLING[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]JSFM20-60[/TD]
[TD]STANDOFF[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]LMT00064[/TD]
[TD]FUEL TANK SEALANT[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]MS20470AD5-6[/TD]
[TD]RIVET[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]VS8008NN6-2-11[/TD]
[TD]PIN[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Sample of main tab: (column 1 is where I want the totals from all sheets to generate)
[TABLE="width: 505"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]PART #[/TD]
[TD]DESCRIPTION[/TD]
[TD]Column1
[/TD]
[/TR]
[TR]
[TD]2CBH31621-0001[/TD]
[TD]CLIP ASSY, COAX[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]2CBH31622-0001[/TD]
[TD]CLIP ASSY, COAX, FUEL FLOOR, FWD[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]2CBH31622-2001[/TD]
[TD]CLIP, COAX, FUEL FLOOR, FWD[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]2CBH31623-0001[/TD]
[TD]CLIP ASSY, COAX, FUEL FLOOR, AFT[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]2CBH31623-2001[/TD]
[TD]CLIP, COAX, FUEL FLOOR, AFT[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]2CBH32008-0005
[/TD]
[TD]CLIP ASSY[/TD]
[TD="align: right"]0
[/TD]
[/TR]
</tbody>[/TABLE]