Hi,
I need to find how many PIDs and units I have processed during the day. Not sure how complicated it is. I have 2 tables:
<TABLE style="WIDTH: 160pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=214 border=0><COLGROUP><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2742" span=2 width=75><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 30.75pt" height=41><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 30.75pt; BACKGROUND-COLOR: black" width=75 height=41>Delivery Date</TD><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=75>PID</TD><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=64>Count</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl64 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>234400</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=64>17</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>233977</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=64>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl64 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>233978</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=64>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>231592</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=64>26</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl64 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>231595</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=64>26</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>231600</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=64>20</TD></TR></TBODY></TABLE>
and
<TABLE style="WIDTH: 145pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=194 border=0><COLGROUP><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2742" span=2 width=75><COL style="WIDTH: 33pt; mso-width-source: userset; mso-width-alt: 1609" width=44><TBODY><TR style="HEIGHT: 30.75pt" height=41><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 30.75pt; BACKGROUND-COLOR: black" width=75 height=41>Delivery Date</TD><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=75>PID</TD><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=44>Count</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>20/05/2011</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>209015</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=44>2</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>20/05/2011</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>231399</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=44>5</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>234400</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=44>17</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>233977</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=44>1</TD></TR></TBODY></TABLE>
First one - data from 08:00, second - from 20:00. So in 12 hours PIDs 233978, 231592, 231595 and 231600 were processed and 209015, 231399 added. I want to extract data from these 2 tables - count 4 pids and total quantity(1+26+26+20). Hope it makes sence. Thank you for your help in advance.
I need to find how many PIDs and units I have processed during the day. Not sure how complicated it is. I have 2 tables:
<TABLE style="WIDTH: 160pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=214 border=0><COLGROUP><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2742" span=2 width=75><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 30.75pt" height=41><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 30.75pt; BACKGROUND-COLOR: black" width=75 height=41>Delivery Date</TD><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=75>PID</TD><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=64>Count</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl64 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>234400</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=64>17</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>233977</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=64>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl64 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>233978</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=64>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>231592</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=64>26</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl64 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>231595</TD><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=64>26</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>231600</TD><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 48pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=64>20</TD></TR></TBODY></TABLE>
and
<TABLE style="WIDTH: 145pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=194 border=0><COLGROUP><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2742" span=2 width=75><COL style="WIDTH: 33pt; mso-width-source: userset; mso-width-alt: 1609" width=44><TBODY><TR style="HEIGHT: 30.75pt" height=41><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 30.75pt; BACKGROUND-COLOR: black" width=75 height=41>Delivery Date</TD><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=75>PID</TD><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: black" width=44>Count</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>20/05/2011</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>209015</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=44>2</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>20/05/2011</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>231399</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=44>5</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl66 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: #d8d8d8" align=right width=75 height=20>19/05/2011</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=75>234400</TD><TD class=xl68 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #d8d8d8" align=right width=44>17</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl67 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black 0.5pt solid; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" align=right width=75 height=20>19/05/2011</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 56pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=75>233977</TD><TD class=xl69 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #d4d0c8; BORDER-LEFT: black; WIDTH: 33pt; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=44>1</TD></TR></TBODY></TABLE>
First one - data from 08:00, second - from 20:00. So in 12 hours PIDs 233978, 231592, 231595 and 231600 were processed and 209015, 231399 added. I want to extract data from these 2 tables - count 4 pids and total quantity(1+26+26+20). Hope it makes sence. Thank you for your help in advance.