Hi,
I want to be able to count the views and clicks by the date and ID but I only want the lesser of the views. For example on 6/23, for ID 114, there are 2 ID2, 15 & 8, and for 15 there is 29011 views and for 8 there is 27743 views, but I want only to count the 27743 views for that ID. I need to do this for all the dates. Is there a way?
<b>Excel 2007</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Date</td><td style=";">ID</td><td style=";">ID2</td><td style=";">Views</td><td style=";">clicks</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">15</td><td style="text-align: right;;">29011</td><td style="text-align: right;;">21</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">8</td><td style="text-align: right;;">27743</td><td style="text-align: right;;">26</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">15</td><td style="text-align: right;;">2</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">10</td><td style="text-align: right;;">2</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">10</td><td style="text-align: right;;">7551</td><td style="text-align: right;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">15</td><td style="text-align: right;;">10924</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">370</td><td style="text-align: right;;">15</td><td style="text-align: right;;">54635</td><td style="text-align: right;;">12</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">370</td><td style="text-align: right;;">10</td><td style="text-align: right;;">35481</td><td style="text-align: right;;">11</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">370</td><td style="text-align: right;;">8</td><td style="text-align: right;;">18578</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">15</td><td style="text-align: right;;">49145</td><td style="text-align: right;;">28</td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">8</td><td style="text-align: right;;">45627</td><td style="text-align: right;;">29</td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">10</td><td style="text-align: right;;">43</td><td style="text-align: right;;">0</td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">15</td><td style="text-align: right;;">77437</td><td style="text-align: right;;">34</td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">10</td><td style="text-align: right;;">58022</td><td style="text-align: right;;">53</td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">10</td><td style="text-align: right;;">24070</td><td style="text-align: right;;">12</td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">15</td><td style="text-align: right;;">36010</td><td style="text-align: right;;">19</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet3</p><br /><br />
I want to be able to count the views and clicks by the date and ID but I only want the lesser of the views. For example on 6/23, for ID 114, there are 2 ID2, 15 & 8, and for 15 there is 29011 views and for 8 there is 27743 views, but I want only to count the 27743 views for that ID. I need to do this for all the dates. Is there a way?
<b>Excel 2007</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Date</td><td style=";">ID</td><td style=";">ID2</td><td style=";">Views</td><td style=";">clicks</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">15</td><td style="text-align: right;;">29011</td><td style="text-align: right;;">21</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">8</td><td style="text-align: right;;">27743</td><td style="text-align: right;;">26</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">15</td><td style="text-align: right;;">2</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">10</td><td style="text-align: right;;">2</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">10</td><td style="text-align: right;;">7551</td><td style="text-align: right;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">15</td><td style="text-align: right;;">10924</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">370</td><td style="text-align: right;;">15</td><td style="text-align: right;;">54635</td><td style="text-align: right;;">12</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">370</td><td style="text-align: right;;">10</td><td style="text-align: right;;">35481</td><td style="text-align: right;;">11</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="text-align: right;;">6/23/2011 0:00</td><td style="text-align: right;;">370</td><td style="text-align: right;;">8</td><td style="text-align: right;;">18578</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">15</td><td style="text-align: right;;">49145</td><td style="text-align: right;;">28</td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">8</td><td style="text-align: right;;">45627</td><td style="text-align: right;;">29</td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">114</td><td style="text-align: right;;">10</td><td style="text-align: right;;">43</td><td style="text-align: right;;">0</td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">15</td><td style="text-align: right;;">77437</td><td style="text-align: right;;">34</td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">140</td><td style="text-align: right;;">10</td><td style="text-align: right;;">58022</td><td style="text-align: right;;">53</td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">10</td><td style="text-align: right;;">24070</td><td style="text-align: right;;">12</td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style="text-align: right;;">6/24/2011 0:00</td><td style="text-align: right;;">191</td><td style="text-align: right;;">15</td><td style="text-align: right;;">36010</td><td style="text-align: right;;">19</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet3</p><br /><br />