Calculated field in pivot table

kcompton

Board Regular
Joined
Mar 16, 2009
Messages
209
Hello-
I have a pivot table with columns where all cells with a value >= to 60% are colored green via conditional formatting.
I need to insert a calculated field at the bottom of each column with green cells that counts the number of green cells or cells with values >= 60% and returns the % of the cells with values >= 60% of all cells in the column.

Thank you for any help.



<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 28px"><COL style="WIDTH: 62px"><COL style="WIDTH: 28px"><COL style="WIDTH: 62px"><COL style="WIDTH: 33px"><COL style="WIDTH: 62px"><COL style="WIDTH: 33px"><COL style="WIDTH: 62px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>G</TD><TD>H</TD><TD>I</TD><TD>J</TD><TD>K</TD><TD>L</TD><TD>M</TD><TD>N</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-31</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-27.12%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">32</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">56.85%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">71</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">66.51%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-8</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-8.04%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">93</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">81.15%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-10</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-10.25%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">72</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">79.72%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-28</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-46.75%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">220</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">162.95%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-64</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-157.99%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-8</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-7.51%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">11</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">44.43%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">167</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">145.72%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">127</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">130.16%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">142</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">157.22%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">100</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">166.97%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">67</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">159.26%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-1</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-1.02%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">411</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">455.05%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">153</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">255.47%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">232</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">73.36%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">19</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">7.09%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">142</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">58.60%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">222</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">64.47%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">171</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">54.07%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">80</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">29.87%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">33</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">13.62%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-20</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-5.81%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">509</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">299.85%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">7</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">7.06%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-48</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-38.74%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">111</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">146.73%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">92</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">60.13%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">157</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">122.41%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">162</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">133.78%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">62</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #d8e4bc; FONT-SIZE: 10pt">68.60%</TD></TR><TR style="HEIGHT: 15px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-23</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-20.12%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-54</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-52.70%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">48</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">40.34%</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-128</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 10pt">-128.57%</TD></TR></TBODY></TABLE>

Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,224,586
Messages
6,179,716
Members
452,939
Latest member
WCrawford

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