The SUMIF() formula just takes the sum total, it will not copy the each indivual row value. If you are looking to copy the entire row with details to each summary sheet and not the the sum totals, then the above formuals will not work for your needs. For example, If Sheet1 shows something like this:
[TABLE="width: 288"]
<COLGROUP><COL style="WIDTH: 48pt" span=6 width=64><TBODY>[TR]
[TD="width: 64, bgcolor: transparent"]Class[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]A[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]B[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]C[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]D[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]SUM[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]RP[/TD]
[TD="class: xl65, bgcolor: transparent"]50[/TD]
[TD="class: xl65, bgcolor: transparent"]60[/TD]
[TD="class: xl65, bgcolor: transparent"]780[/TD]
[TD="class: xl65, bgcolor: transparent"]50[/TD]
[TD="class: xl65, bgcolor: transparent"]940[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]PP[/TD]
[TD="class: xl65, bgcolor: transparent"]30[/TD]
[TD="class: xl65, bgcolor: transparent"]20[/TD]
[TD="class: xl65, bgcolor: transparent"]5[/TD]
[TD="class: xl65, bgcolor: transparent"]100[/TD]
[TD="class: xl65, bgcolor: transparent"]155[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]AP[/TD]
[TD="class: xl65, bgcolor: transparent"]100[/TD]
[TD="class: xl65, bgcolor: transparent"]75[/TD]
[TD="class: xl65, bgcolor: transparent"]50[/TD]
[TD="class: xl65, bgcolor: transparent"]60[/TD]
[TD="class: xl65, bgcolor: transparent"]285[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]RP[/TD]
[TD="class: xl65, bgcolor: transparent"]80[/TD]
[TD="class: xl65, bgcolor: transparent"]90[/TD]
[TD="class: xl65, bgcolor: transparent"]80[/TD]
[TD="class: xl65, bgcolor: transparent"]100[/TD]
[TD="class: xl65, bgcolor: transparent"]350[/TD]
[/TR]
</TBODY>[/TABLE]
The SUMIF() function would just take the sum total of 940 + 350 = 1,290 and report the 1,290 value only. If you want the row detail to show up like this on the Summary Page:
[TABLE="width: 240"]
<COLGROUP><COL style="WIDTH: 48pt" span=5 width=64><TBODY>[TR]
[TD="width: 64, bgcolor: transparent"]Class[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]A[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]B[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]C[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]D[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]RP[/TD]
[TD="class: xl65, bgcolor: transparent"]50[/TD]
[TD="class: xl65, bgcolor: transparent"]60[/TD]
[TD="class: xl65, bgcolor: transparent"]780[/TD]
[TD="class: xl65, bgcolor: transparent"]50[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]RP[/TD]
[TD="class: xl65, bgcolor: transparent"]80[/TD]
[TD="class: xl65, bgcolor: transparent"]90[/TD]
[TD="class: xl65, bgcolor: transparent"]80[/TD]
[TD="class: xl65, bgcolor: transparent"]100[/TD]
[/TR]
</TBODY>[/TABLE]
Then you would need to write a macro that would only copy rows with the RP class and transfer them to the correct summary sheets.