Question: lookup values based on multiple criteria, how?

kterkuile

New Member
Joined
Dec 10, 2009
Messages
34
I use Excel 2003. Now I have a data sheet in my workbook like this:
<TABLE style="WIDTH: 414pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=551 border=0 x:str><COLGROUP><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 32pt; mso-width-source: userset; mso-width-alt: 1572" width=43><COL style="WIDTH: 64pt; mso-width-source: userset; mso-width-alt: 3108" width=85><COL style="WIDTH: 82pt; mso-width-source: userset; mso-width-alt: 3986" width=109><COL style="WIDTH: 54pt; mso-width-source: userset; mso-width-alt: 2633" width=72><COL style="WIDTH: 14pt; mso-width-source: userset; mso-width-alt: 694" width=19><COL style="WIDTH: 22pt; mso-width-source: userset; mso-width-alt: 1060" width=29><COL style="WIDTH: 50pt; mso-width-source: userset; mso-width-alt: 2413" width=66><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt; mso-height-source: userset" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=43>A</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=85>B</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=109>C</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=72>D</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=19>E</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=29>F</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=66>G</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=64>H</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 13.5pt; BACKGROUND-COLOR: transparent" width=64 height=18 x:num>1</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">Label</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">Inbox</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">Processtep</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">StartStock</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">In</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">Out</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">EndStock</TD><TD class=xl28 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 1pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent">Date</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17 x:num>2</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=43>SNS</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=85>AFL Aflossen</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=109>AFL Controleren</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=72 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=19 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=29 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=66 x:num>0</TD><TD class=xl25 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right x:num="40255">18-3-2010</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17 x:num>3</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=43>SNS</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=85>AFL Aflossen</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=109>AFL Corrigeren</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=72 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=19 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=29 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=66 x:num>0</TD><TD class=xl25 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right x:num="40255">18-3-2010</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17 x:num>4</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=43>SNS</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=85>AFL Aflossen</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=109>AFL Eindcontr hp</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=72 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=19 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=29 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=66 x:num>0</TD><TD class=xl25 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right x:num="40255">18-3-2010</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17 x:num>5</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=43>SNS</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=85>AFL Aflossen</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=109>AFL Fiat verw hp</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=72 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=19 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=29 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=66 x:num>0</TD><TD class=xl25 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right x:num="40255">18-3-2010</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17 x:num>6</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=43>SNS</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=85>AFL Aflossen</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=109>AFL Fiat verw sp</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=72 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=19 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=29 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=66 x:num>0</TD><TD class=xl25 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right x:num="40255">18-3-2010</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17 x:num>7</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=43>SNS</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=85>AFL Aflossen</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=109>AFL Mut rend hp</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=72 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=19 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=29 x:num>0</TD><TD class=xl24 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right width=66 x:num>100</TD><TD class=xl25 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" align=right x:num="40255">18-3-2010</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl29 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: silver 0.5pt solid; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 13.5pt; BACKGROUND-COLOR: transparent" width=64 height=18 x:num>8</TD><TD class=xl26 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 32pt; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" width=43>SNS</TD><TD class=xl26 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 64pt; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" width=85>AFL Aflossen</TD><TD class=xl26 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 82pt; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" width=109>AFL Verw afl_I</TD><TD class=xl26 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 54pt; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" align=right width=72 x:num>0</TD><TD class=xl26 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 14pt; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" align=right width=19 x:num>0</TD><TD class=xl26 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 22pt; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" align=right width=29 x:num>0</TD><TD class=xl26 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 50pt; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" align=right width=66 x:num>0</TD><TD class=xl27 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: gray 1pt solid; BACKGROUND-COLOR: transparent" align=right x:num="40255">18-3-2010</TD></TR></TBODY></TABLE>

And i have one worksheet, a presentation sheet per week in the same workbook like this:

<TABLE style="WIDTH: 567pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=755 border=0 x:str><COLGROUP><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 122pt; mso-width-source: userset; mso-width-alt: 5924" width=162><COL style="WIDTH: 173pt; mso-width-source: userset; mso-width-alt: 8411" width=230><COL style="WIDTH: 80pt; mso-width-source: userset; mso-width-alt: 3913" width=107><COL style="WIDTH: 48pt" span=3 width=64><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=64 height=17></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 122pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=162>A</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 173pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=230>B</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 80pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=107>C</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=64>D</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=64>E</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=64>F</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>1</TD><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: black 0.5pt solid; BACKGROUND-COLOR: #ccffcc" rowSpan=3>DISBOX</TD><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent">maandag</TD><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent">dinsdag</TD><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent">woensdag</TD><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent">donderdag</TD><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent">vrijdag</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>2</TD><TD class=xl27 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #e0dfe3; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num="40252">15-mrt</TD><TD class=xl27 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #e0dfe3; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num="40253">16-mrt</TD><TD class=xl27 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #e0dfe3; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num="40254">17-mrt</TD><TD class=xl27 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #e0dfe3; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num="40255">18-mrt</TD><TD class=xl27 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #e0dfe3; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num="40256">19-mrt</TD></TR><TR style="HEIGHT: 25.5pt" height=34><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 25.5pt; BACKGROUND-COLOR: transparent" align=right height=34 x:num>3</TD><TD class=xl29 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; WIDTH: 173pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: #ffff99" width=230>Ver-
werkt
</TD><TD class=xl29 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; WIDTH: 80pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: #ffff99" width=107>Ver-
werkt
</TD><TD class=xl29 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: #ffff99" width=64>Ver-
werkt
</TD><TD class=xl29 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: #ffff99" width=64>Ver-
werkt
</TD><TD class=xl29 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: #ffff99" width=64>Ver-
werkt
</TD></TR><TR style="HEIGHT: 12.75pt; mso-height-source: userset" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>4</TD><TD class=xl32 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: gray 0.5pt solid; BORDER-LEFT: #e0dfe3; WIDTH: 122pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=162>AFL Mut rend hp</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>5</TD><TD class=xl30 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>6</TD><TD class=xl30 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>7</TD><TD class=xl30 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>8</TD><TD class=xl30 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>9</TD><TD class=xl30 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" align=right height=17 x:num>10</TD><TD class=xl30 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD><TD class=xl31 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" x:num>0</TD></TR></TBODY></TABLE>

Now, i would like to copy the value in G7 (100) from my data sheet, to my presentation sheet to E4. This should be based on two criteria in my presentation sheet: the date in row 1 and the 'DISBOX'-value in column A. The criteria from A4 and E1 should return 100, the value that has both criteria in the row on my data sheet and return it to E4, the cell where both my criteria cross.

I've seen the discussions on INDEX and MATCH functions, but they all retrieve data from a matrix and my data isn't organised in that way. I stumbled across this user defined function, but can't figure out how to go about it: http://www.mrexcel.com/forum/showthread.php?p=2318361#post2318361[URL="http://www.mrexcel.com/forum/showthread.php?p=2318361#post2318361"]p=2318361#post2318361[/URL].

Does anyone have a hunch or better (as i've seen many times from you Excel giants)?

Take care,

Karel
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try this formula in E4:

=SUMPRODUCT(--(Sheet1!$C$2:$C$8=$A4),--(Sheet1!$H$2:$H$8=E$1),Sheet1!$G$2:$G$8)

Change the sheet reference if necessary. You can expand the ranges (rows 2:8), but make sure that they are all the same size and avoid using entire columns. The formula assumes that there is only one instance of the combination of A4 and E1 in your table.
 
Upvote 0
Hi Andrew,

Sorry for not getting back earlier -- been sick & at home. However, what a brilliant solution to come back to. I've just made the ranges dynamic, since every day there will be new data, using named ranges and it works a treat. This is one of the tricks i will never forget. I am uttely amazed at the simplicity of it and the cunning use of 'alphanumeric' ranges. I was wrestling with ROW formulas and trying to solve it like that (even dreaded to have to write a function myself). You made my day Andrew and probabaly some days after this one!

Thanks so much for you help,

Karel
 
Upvote 0
Hi Andrew,

Just wanted to let you know: I was working on the workbook i used the function in and it works so incredibley well. It's a true gem. Thanks once again.

Take care,

Karel
 
Upvote 0
Try this formula in E4:

=SUMPRODUCT(--(Sheet1!$C$2:$C$8=$A4),--(Sheet1!$H$2:$H$8=E$1),Sheet1!$G$2:$G$8)

Change the sheet reference if necessary. You can expand the ranges (rows 2:8), but make sure that they are all the same size and avoid using entire columns. The formula assumes that there is only one instance of the combination of A4 and E1 in your table.

This formula is wonderful for multiple look-up criteria. Thanks. Do you have a similar formula that will return a text field rather than a number field? Thanks for your help!
Deborah
 
Upvote 0
Like this?

=INDEX(Sheet1!$G$2:$G$8,SUMPRODUCT(--(Sheet1!$C$2:$C$8=$A4),--(Sheet1!$H$2:$H$8=E$1),ROW(Sheet1!$G$2:$G$8)-1))
 
Upvote 0
Worked perfectly! I even added a third variable and it returns exactly what I want! thanks so much for the speedy reply. Deb
<TABLE style="WIDTH: 66pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=88 border=0 x:str><COLGROUP><COL style="WIDTH: 66pt; mso-width-source: userset; mso-width-alt: 3218" width=88><TBODY><TR style="HEIGHT: 13.5pt" height=18><TD class=xl39 id=td_post_2318405 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 66pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 13.5pt; BACKGROUND-COLOR: #d3ffff" width=88 height=18 x:str="'=INDEX(Sheet1!$D$2:$D$2931,SUMPRODUCT(--(Sheet1!$E$2:$E$2931=$AS$7),--(Sheet1!$D$2:$D$2931=$AR8),--(Sheet1!$C$2:$C$2931=$AS$5),ROW(Sheet1!$D$2:$D$2931)-1))">=INDEX(Sheet1!$D$2:$D$2931,SUMPRODUCT(--(Sheet1!$E$2:$E$2931=$AS$7),--(Sheet1!$D$2:$D$2931=$AR8),--(Sheet1!$C$2:$C$2931=$AS$5),ROW(Sheet1!$D$2:$D$2931)-1))</TD></TR></TBODY></TABLE>
 
Upvote 0
HI

I came across this in my search and I'm hoping someone can help because I think my situation is the same. I am using Excel 2003.

I have a "raw data" sheet that has data in columns A2 to AD100. The data shows department, month_ending, Sick Time, Total Hours Worked.

On the graph sheet I have to pull down data elements for Departtment and Month Ending.

On another worksheet I am trying to compile the data to graph based on the user selection but even though the raw data filters based on the user selection, the filter doesn't appear to help with selection of data.

Anyway, the named range for department selected is deptSelect and month_ending is monthSelect. The months from the raw data sheet are a named range of "MyMonths" and all departments are in a named range of "MyDept".

So if I want to show Sick Time value for the specific department and month, how do I do this using your approach? Thanks so very much for any assistance.

Edit Note****: month_ending is in date format and department is text.
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,085
Members
452,378
Latest member
Hoodzy01

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