Here's 1 way (D1): needs xl2007+
<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: 64px"><COL style="WIDTH: 68px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD style="BORDER-BOTTOM: #f0f0f0 3px double; BORDER-LEFT: #f0f0f0 3px double; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">A</TD><TD style="BORDER-BOTTOM: #f0f0f0 3px double; BORDER-LEFT: #f0f0f0 3px double; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">B</TD><TD style="BORDER-BOTTOM: #f0f0f0 3px double; BORDER-LEFT: #f0f0f0 3px double; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">C</TD><TD style="BORDER-BOTTOM: #f0f0f0 3px double; BORDER-LEFT: #f0f0f0 3px double; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">D</TD></TR><TR style="HEIGHT: 18px"><TD style="BORDER-BOTTOM: #f0f0f0 3px double; TEXT-ALIGN: center; BORDER-LEFT: #f0f0f0 3px double; BACKGROUND-COLOR: #cacaca; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">1</TD><TD style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid">Part 3</TD><TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid">9/29/2009</TD><TD style="BORDER-RIGHT: #000000 1px solid"> </TD><TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid">6.02</TD></TR><TR style="HEIGHT: 18px"><TD style="BORDER-BOTTOM: #f0f0f0 3px double; TEXT-ALIGN: center; BORDER-LEFT: #f0f0f0 3px double; BACKGROUND-COLOR: #cacaca; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">2</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="BORDER-BOTTOM: #f0f0f0 3px double; TEXT-ALIGN: center; BORDER-LEFT: #f0f0f0 3px double; BACKGROUND-COLOR: #cacaca; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">3</TD><TD style="BORDER-BOTTOM: #000000 1px solid"> </TD><TD style="BORDER-BOTTOM: #000000 1px solid"> </TD><TD style="BORDER-BOTTOM: #000000 1px solid"> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="BORDER-BOTTOM: #f0f0f0 3px double; TEXT-ALIGN: center; BORDER-LEFT: #f0f0f0 3px double; BACKGROUND-COLOR: #cacaca; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">4</TD><TD style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid">Part 2</TD><TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-RIGHT: #000000 1px solid">8/1/2009</TD><TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-RIGHT: #000000 1px solid">5.00</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="BORDER-BOTTOM: #f0f0f0 3px double; TEXT-ALIGN: center; BORDER-LEFT: #f0f0f0 3px double; BACKGROUND-COLOR: #cacaca; BORDER-TOP: #f0f0f0 3px double; BORDER-RIGHT: #f0f0f0 3px double">5</TD><TD style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid">Part 3</TD><TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-RIGHT: #000000 1px solid">9/29/2009</TD><TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-RIGHT: #000000 1px solid">6.02</TD><TD> </TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; FONT-SIZE: 10pt; BORDER-LEFT-STYLE: groove; BORDER-LEFT-COLOR: #00ff00"><TBODY><TR><TD>Spreadsheet Formulas</TD></TR><TR><TD><TABLE style="FONT-FAMILY: Arial; FONT-SIZE: 9pt" border=1 cellSpacing=0 cellPadding=2><TBODY><TR style="BACKGROUND-COLOR: #cacaca; FONT-SIZE: 10pt"><TD>Cell</TD><TD>Formula</TD></TR><TR><TD>D1</TD><TD>=SUMIFS(C4:C5,A4:A5,"="&A1,B4:B5,"="&B1)</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
There's probably a sumproduct version as well.