youremyboyblue
New Member
- Joined
- Jun 30, 2010
- Messages
- 7
I am trying to get the average subsidy (column H) amount for children of a certain age (column e) if the license type in column p is either "Family Home" or "Family Group". I have about 200,000 rows of data. I need to get the average subsidy amount for children not yet 1, 1 year olds, 2 year olds, 3 year olds, etc. and separate out the average subsidy amount by age and by provider license type ("Family Group, Family Home, Licensed, etc). In the end I am trying to create a matrix with provider license type and ages of children.
Excel 2010<TABLE style="BORDER-BOTTOM: #bbb 1px solid; BORDER-LEFT: #bbb 1px solid; BACKGROUND-COLOR: #ffffff; BORDER-COLLAPSE: collapse; BORDER-TOP: #bbb 1px solid; BORDER-RIGHT: #bbb 1px solid" rules=all cellPadding=2><COLGROUP><COL style="BACKGROUND-COLOR: #dae7f5" width=25><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #dae7f5; COLOR: #161120"><TH></TH><TH>A</TH><TH>B</TH><TH>C</TH><TH>D</TH><TH>E</TH><TH>F</TH><TH>G</TH><TH>H</TH><TH>I</TH><TH>J</TH><TH>K</TH><TH>L</TH><TH>M</TH><TH>N</TH><TH>O</TH><TH>P</TH></TR></THEAD><TBODY><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">1</TD><TD>MONTH</TD><TD>CASE NUMBER</TD><TD>PID</TD><TD>CLIENT</TD><TD>AGE</TD><TD>SCHOOL</TD><TD>COUNTY</TD><TD>SUBSIDY</TD><TD>INC ADJ</TD><TD>MIN.</TD><TD>HOURLY RATE</TD><TD>MLMR</TD><TD>PROVIDER CHARGE</TD><TD>EXTRA PAYMENT</TD><TD>PROVIDER NAME</TD><TD>Provider Type</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">2</TD><TD style="TEXT-ALIGN: right">201009</TD><TD style="TEXT-ALIGN: right">123</TD><TD style="TEXT-ALIGN: right">536</TD><TD>Bob</TD><TD style="TEXT-ALIGN: right">1</TD><TD>N</TD><TD>Cache</TD><TD style="TEXT-ALIGN: right">500</TD><TD style="TEXT-ALIGN: right">19</TD><TD style="TEXT-ALIGN: right">396</TD><TD style="TEXT-ALIGN: right">412</TD><TD style="TEXT-ALIGN: right">396</TD><TD style="TEXT-ALIGN: right">500</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Kara</TD><TD>Family Home</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">3</TD><TD style="TEXT-ALIGN: right">201101</TD><TD style="TEXT-ALIGN: right">124</TD><TD style="TEXT-ALIGN: right">548</TD><TD>Joe</TD><TD style="TEXT-ALIGN: right">1</TD><TD>N</TD><TD>Washington</TD><TD style="TEXT-ALIGN: right">480</TD><TD style="TEXT-ALIGN: right">12</TD><TD style="TEXT-ALIGN: right">277</TD><TD style="TEXT-ALIGN: right">287</TD><TD style="TEXT-ALIGN: right">277</TD><TD style="TEXT-ALIGN: right">661</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Kimberly</TD><TD>Family Group</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">4</TD><TD style="TEXT-ALIGN: right">201009</TD><TD style="TEXT-ALIGN: right">125</TD><TD style="TEXT-ALIGN: right">785</TD><TD>Mike</TD><TD style="TEXT-ALIGN: right">4</TD><TD>N</TD><TD>Salt Lake</TD><TD style="TEXT-ALIGN: right">230</TD><TD style="TEXT-ALIGN: right">0</TD><TD style="TEXT-ALIGN: right">300</TD><TD style="TEXT-ALIGN: right">580</TD><TD style="TEXT-ALIGN: right">450</TD><TD style="TEXT-ALIGN: right">300</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Katrina</TD><TD>Licensed</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">5</TD><TD style="TEXT-ALIGN: right">201007</TD><TD style="TEXT-ALIGN: right">126</TD><TD style="TEXT-ALIGN: right">196</TD><TD>Shelly</TD><TD style="TEXT-ALIGN: right">2</TD><TD>N</TD><TD>Davis</TD><TD style="TEXT-ALIGN: right">180</TD><TD style="TEXT-ALIGN: right">37</TD><TD style="TEXT-ALIGN: right">100</TD><TD style="TEXT-ALIGN: right">750</TD><TD style="TEXT-ALIGN: right">430</TD><TD style="TEXT-ALIGN: right">100</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Vanessa</TD><TD>Residential Certificate</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">6</TD><TD style="TEXT-ALIGN: right">201008</TD><TD style="TEXT-ALIGN: right">127</TD><TD style="TEXT-ALIGN: right">482</TD><TD>Cindy</TD><TD style="TEXT-ALIGN: right">3</TD><TD>N</TD><TD>Salt Lake</TD><TD style="TEXT-ALIGN: right">650</TD><TD style="TEXT-ALIGN: right">24</TD><TD style="TEXT-ALIGN: right">364</TD><TD style="TEXT-ALIGN: right">364</TD><TD style="TEXT-ALIGN: right">396</TD><TD style="TEXT-ALIGN: right">456</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Adla</TD><TD>Unlicensed</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">7</TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM: black 2px solid; BORDER-LEFT: black 2px solid; PADDING-BOTTOM: 0.4em; BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 0.4em; PADDING-RIGHT: 0.4em; BORDER-COLLAPSE: collapse; BORDER-TOP: black 2px solid; BORDER-RIGHT: black 2px solid; PADDING-TOP: 0.4em" rules=all cellPadding=2 width="85%"><TBODY><TR><TD style="PADDING-BOTTOM: 6px; PADDING-LEFT: 6px; PADDING-RIGHT: 6px; PADDING-TOP: 6px">Worksheet Formulas<TABLE style="BORDER-BOTTOM: #bbb 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #bbb 1px solid; BACKGROUND-COLOR: #ffffff; BORDER-COLLAPSE: collapse; BORDER-TOP: #bbb 1px solid; BORDER-RIGHT: #bbb 1px solid" rules=all cellPadding=2 width="100%"><THEAD><TR style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120"><TH width=10>Cell</TH><TH style="TEXT-ALIGN: left; PADDING-LEFT: 5px">Formula</TH></TR></THEAD><TBODY><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J2</TH><TD style="TEXT-ALIGN: left">=MIN(K2:M2)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J3</TH><TD style="TEXT-ALIGN: left">=MIN(K3:M3)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J4</TH><TD style="TEXT-ALIGN: left">=MIN(K4:M4)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J5</TH><TD style="TEXT-ALIGN: left">=MIN(K5:M5)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J6</TH><TD style="TEXT-ALIGN: left">=MIN(K6:M6)</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
Excel 2010<TABLE style="BORDER-BOTTOM: #bbb 1px solid; BORDER-LEFT: #bbb 1px solid; BACKGROUND-COLOR: #ffffff; BORDER-COLLAPSE: collapse; BORDER-TOP: #bbb 1px solid; BORDER-RIGHT: #bbb 1px solid" rules=all cellPadding=2><COLGROUP><COL style="BACKGROUND-COLOR: #dae7f5" width=25><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #dae7f5; COLOR: #161120"><TH></TH><TH>A</TH><TH>B</TH><TH>C</TH><TH>D</TH><TH>E</TH><TH>F</TH><TH>G</TH><TH>H</TH><TH>I</TH><TH>J</TH><TH>K</TH><TH>L</TH><TH>M</TH><TH>N</TH><TH>O</TH><TH>P</TH></TR></THEAD><TBODY><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">1</TD><TD>MONTH</TD><TD>CASE NUMBER</TD><TD>PID</TD><TD>CLIENT</TD><TD>AGE</TD><TD>SCHOOL</TD><TD>COUNTY</TD><TD>SUBSIDY</TD><TD>INC ADJ</TD><TD>MIN.</TD><TD>HOURLY RATE</TD><TD>MLMR</TD><TD>PROVIDER CHARGE</TD><TD>EXTRA PAYMENT</TD><TD>PROVIDER NAME</TD><TD>Provider Type</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">2</TD><TD style="TEXT-ALIGN: right">201009</TD><TD style="TEXT-ALIGN: right">123</TD><TD style="TEXT-ALIGN: right">536</TD><TD>Bob</TD><TD style="TEXT-ALIGN: right">1</TD><TD>N</TD><TD>Cache</TD><TD style="TEXT-ALIGN: right">500</TD><TD style="TEXT-ALIGN: right">19</TD><TD style="TEXT-ALIGN: right">396</TD><TD style="TEXT-ALIGN: right">412</TD><TD style="TEXT-ALIGN: right">396</TD><TD style="TEXT-ALIGN: right">500</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Kara</TD><TD>Family Home</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">3</TD><TD style="TEXT-ALIGN: right">201101</TD><TD style="TEXT-ALIGN: right">124</TD><TD style="TEXT-ALIGN: right">548</TD><TD>Joe</TD><TD style="TEXT-ALIGN: right">1</TD><TD>N</TD><TD>Washington</TD><TD style="TEXT-ALIGN: right">480</TD><TD style="TEXT-ALIGN: right">12</TD><TD style="TEXT-ALIGN: right">277</TD><TD style="TEXT-ALIGN: right">287</TD><TD style="TEXT-ALIGN: right">277</TD><TD style="TEXT-ALIGN: right">661</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Kimberly</TD><TD>Family Group</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">4</TD><TD style="TEXT-ALIGN: right">201009</TD><TD style="TEXT-ALIGN: right">125</TD><TD style="TEXT-ALIGN: right">785</TD><TD>Mike</TD><TD style="TEXT-ALIGN: right">4</TD><TD>N</TD><TD>Salt Lake</TD><TD style="TEXT-ALIGN: right">230</TD><TD style="TEXT-ALIGN: right">0</TD><TD style="TEXT-ALIGN: right">300</TD><TD style="TEXT-ALIGN: right">580</TD><TD style="TEXT-ALIGN: right">450</TD><TD style="TEXT-ALIGN: right">300</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Katrina</TD><TD>Licensed</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">5</TD><TD style="TEXT-ALIGN: right">201007</TD><TD style="TEXT-ALIGN: right">126</TD><TD style="TEXT-ALIGN: right">196</TD><TD>Shelly</TD><TD style="TEXT-ALIGN: right">2</TD><TD>N</TD><TD>Davis</TD><TD style="TEXT-ALIGN: right">180</TD><TD style="TEXT-ALIGN: right">37</TD><TD style="TEXT-ALIGN: right">100</TD><TD style="TEXT-ALIGN: right">750</TD><TD style="TEXT-ALIGN: right">430</TD><TD style="TEXT-ALIGN: right">100</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Vanessa</TD><TD>Residential Certificate</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">6</TD><TD style="TEXT-ALIGN: right">201008</TD><TD style="TEXT-ALIGN: right">127</TD><TD style="TEXT-ALIGN: right">482</TD><TD>Cindy</TD><TD style="TEXT-ALIGN: right">3</TD><TD>N</TD><TD>Salt Lake</TD><TD style="TEXT-ALIGN: right">650</TD><TD style="TEXT-ALIGN: right">24</TD><TD style="TEXT-ALIGN: right">364</TD><TD style="TEXT-ALIGN: right">364</TD><TD style="TEXT-ALIGN: right">396</TD><TD style="TEXT-ALIGN: right">456</TD><TD style="TEXT-ALIGN: right">0</TD><TD>Adla</TD><TD>Unlicensed</TD></TR><TR><TD style="TEXT-ALIGN: center; COLOR: #161120">7</TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD><TD style="TEXT-ALIGN: right"></TD></TR></TBODY></TABLE>
Sheet6
<TABLE style="BORDER-BOTTOM: black 2px solid; BORDER-LEFT: black 2px solid; PADDING-BOTTOM: 0.4em; BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 0.4em; PADDING-RIGHT: 0.4em; BORDER-COLLAPSE: collapse; BORDER-TOP: black 2px solid; BORDER-RIGHT: black 2px solid; PADDING-TOP: 0.4em" rules=all cellPadding=2 width="85%"><TBODY><TR><TD style="PADDING-BOTTOM: 6px; PADDING-LEFT: 6px; PADDING-RIGHT: 6px; PADDING-TOP: 6px">Worksheet Formulas<TABLE style="BORDER-BOTTOM: #bbb 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #bbb 1px solid; BACKGROUND-COLOR: #ffffff; BORDER-COLLAPSE: collapse; BORDER-TOP: #bbb 1px solid; BORDER-RIGHT: #bbb 1px solid" rules=all cellPadding=2 width="100%"><THEAD><TR style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120"><TH width=10>Cell</TH><TH style="TEXT-ALIGN: left; PADDING-LEFT: 5px">Formula</TH></TR></THEAD><TBODY><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J2</TH><TD style="TEXT-ALIGN: left">=MIN(K2:M2)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J3</TH><TD style="TEXT-ALIGN: left">=MIN(K3:M3)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J4</TH><TD style="TEXT-ALIGN: left">=MIN(K4:M4)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J5</TH><TD style="TEXT-ALIGN: left">=MIN(K5:M5)</TD></TR><TR><TH style="BACKGROUND-COLOR: #dae7f5; COLOR: #161120" width=10>J6</TH><TD style="TEXT-ALIGN: left">=MIN(K6:M6)</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>