How can I get a pivot table to calculate the average of the monthly totals and not the average of all the raw data.
Below is a pivot table of the data on the left. When the pivot table averages the months it calculates the average of every single record, 48.83. How can I get it to average the monthly totals:average(apr,may,Jun)= 179.05
<table width="710" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="mso-width-source:userset;mso-width-alt:2816;width:58pt" width="77"> <col style="mso-width-source:userset;mso-width-alt:2962;width:61pt" width="81"> <col style="mso-width-source:userset;mso-width-alt:3730;width:77pt" width="102"> <col style="mso-width-source:userset;mso-width-alt:2816; width:58pt" span="3" width="77"> <col style="mso-width-source:userset;mso-width-alt:3840;width:79pt" width="105"> <col style="mso-width-source:userset;mso-width-alt:4169;width:86pt" width="114"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:58pt" height="20" width="77">Date</td> <td style="width:61pt" width="81">cost</td> <td style="width:77pt;font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="102">Sum of cost</td> <td style="width:58pt;font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="77">Years</td> <td style="width:58pt;font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="77">Date</td> <td style="width:58pt;font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="77">
</td> <td style="width:79pt;font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="105">
</td> <td style="width:86pt" width="114">
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/1/2011</td> <td class="xl68">-75.00</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">2011</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#D8D8D8;mso-pattern:#D8D8D8 none">2011 Average</td> <td class="xl65">Monthly Average</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/11/2011</td> <td class="xl68">-58.88</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td class="xl65" style="font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">Apr</td> <td class="xl65" style="font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">May</td> <td class="xl65" style="font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">Jun</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; border:none;background:#D8D8D8;mso-pattern:#D8D8D8 none">
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/15/2011</td> <td class="xl68">-56.51</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; border-top:.5pt solid #95B3D7;border-right:none;border-bottom:none; border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">Total</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$240.39</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$178.04</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$118.71</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$48.83</td> <td class="xl67" align="right">-$179.05</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/27/2011</td> <td class="xl68">-50.00</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/13/2011</td> <td class="xl68">-48.89</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/13/2011</td> <td class="xl68">-43.45</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/13/2011</td> <td class="xl68">-43.12</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/23/2011</td> <td class="xl68">-42.58</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">6/10/2011</td> <td class="xl68">-39.95</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">6/10/2011</td> <td class="xl68">-39.95</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">6/17/2011</td> <td class="xl69">-38.81</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">avg</td> <td class="xl68">-48.83</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> </tbody></table>
Below is a pivot table of the data on the left. When the pivot table averages the months it calculates the average of every single record, 48.83. How can I get it to average the monthly totals:average(apr,may,Jun)= 179.05
<table width="710" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="mso-width-source:userset;mso-width-alt:2816;width:58pt" width="77"> <col style="mso-width-source:userset;mso-width-alt:2962;width:61pt" width="81"> <col style="mso-width-source:userset;mso-width-alt:3730;width:77pt" width="102"> <col style="mso-width-source:userset;mso-width-alt:2816; width:58pt" span="3" width="77"> <col style="mso-width-source:userset;mso-width-alt:3840;width:79pt" width="105"> <col style="mso-width-source:userset;mso-width-alt:4169;width:86pt" width="114"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:58pt" height="20" width="77">Date</td> <td style="width:61pt" width="81">cost</td> <td style="width:77pt;font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="102">Sum of cost</td> <td style="width:58pt;font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="77">Years</td> <td style="width:58pt;font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="77">Date</td> <td style="width:58pt;font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="77">
</td> <td style="width:79pt;font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;background:#DBE5F1;mso-pattern:#DBE5F1 none" width="105">
</td> <td style="width:86pt" width="114">
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/1/2011</td> <td class="xl68">-75.00</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">2011</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; background:#D8D8D8;mso-pattern:#D8D8D8 none">2011 Average</td> <td class="xl65">Monthly Average</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/11/2011</td> <td class="xl68">-58.88</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">
</td> <td class="xl65" style="font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">Apr</td> <td class="xl65" style="font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">May</td> <td class="xl65" style="font-size:11.0pt;color:black;font-weight:700; text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">Jun</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; border:none;background:#D8D8D8;mso-pattern:#D8D8D8 none">
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/15/2011</td> <td class="xl68">-56.51</td> <td style="font-size:11.0pt;color:black;font-weight:700;text-decoration:none; text-underline-style:none;text-line-through:none;font-family:Calibri; border-top:.5pt solid #95B3D7;border-right:none;border-bottom:none; border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none">Total</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$240.39</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$178.04</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$118.71</td> <td class="xl66" style="font-size:11.0pt;color:black;font-weight: 700;text-decoration:none;text-underline-style:none;text-line-through:none; font-family:Calibri;border-top:.5pt solid #95B3D7;border-right:none; border-bottom:none;border-left:none;background:#DBE5F1;mso-pattern:#DBE5F1 none" align="right">-$48.83</td> <td class="xl67" align="right">-$179.05</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">4/27/2011</td> <td class="xl68">-50.00</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/13/2011</td> <td class="xl68">-48.89</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/13/2011</td> <td class="xl68">-43.45</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/13/2011</td> <td class="xl68">-43.12</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">5/23/2011</td> <td class="xl68">-42.58</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">6/10/2011</td> <td class="xl68">-39.95</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">6/10/2011</td> <td class="xl68">-39.95</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt" height="20" align="right">6/17/2011</td> <td class="xl69">-38.81</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">avg</td> <td class="xl68">-48.83</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> </tbody></table>