question??? offset maxif

DonnchadhSokol

New Member
Joined
Jun 9, 2011
Messages
4
howdy,


i have a table containing three columns:
A: work order
B: part number
C: delivery date

in column D: i'd like to return the part number corresponding to the row with the max date for that work order.

<TABLE style="WIDTH: 336pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=448><COLGROUP><COL style="WIDTH: 60pt; mso-width-source: userset; mso-width-alt: 2925" width=80><COL style="WIDTH: 65pt; mso-width-source: userset; mso-width-alt: 3181" width=87><COL style="WIDTH: 70pt; mso-width-source: userset; mso-width-alt: 3401" width=93><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 93pt; mso-width-source: userset; mso-width-alt: 4534" width=124><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 60pt; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 height=17 width=80>
A
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; WIDTH: 65pt; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 width=87>
B
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; WIDTH: 70pt; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 width=93>
C
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; WIDTH: 48pt; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 width=64>
D
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; WIDTH: 93pt; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 width=124>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl66 height=17>
Work Order
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl66>
Part Number
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl67>
Delivery Date
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl66>
Max Part
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl68>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 height=17>
wo_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl70 align=right>
1/1/2012
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl68>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71 height=17>
wo_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71>
part_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl72 align=right>
2/5/2012
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71>
part_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl73>
<< max date for wo
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 height=17>
wo_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl70 align=right>
7/1/2011
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl68>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71 height=17>
wo_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71>
part_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl72 align=right>
2/10/2012
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71>
part_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl73>
<< max date for wo
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 height=17>
wo_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl70 align=right>
1/6/2012
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl68>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 height=17>
wo_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_1
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl70 align=right>
7/6/2011
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl68>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69 height=17>
wo_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_2
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl70 align=right>
1/11/2012
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl69>
part_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: transparent; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl68>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow; HEIGHT: 12.75pt; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71 height=17>
wo_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71>
part_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl72 align=right>
2/15/2012
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl71>
part_3
</TD><TD style="BORDER-BOTTOM: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; BACKGROUND-COLOR: yellow; BORDER-TOP: #bfbfbf; BORDER-RIGHT: #bfbfbf 0.5pt solid" class=xl73>
<< max date for wo
</TD></TR></TBODY></TABLE>

heylp...

Thanks,
Nuk
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
howdy,


i have a table containing three columns:
A: work order
B: part number
C: delivery date

in column D: i'd like to return the part number corresponding to the row with the max date for that work order.

<TABLE style="WIDTH: 336pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=448 border=0><COLGROUP><COL style="WIDTH: 60pt; mso-width-source: userset; mso-width-alt: 2925" width=80><COL style="WIDTH: 65pt; mso-width-source: userset; mso-width-alt: 3181" width=87><COL style="WIDTH: 70pt; mso-width-source: userset; mso-width-alt: 3401" width=93><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 93pt; mso-width-source: userset; mso-width-alt: 4534" width=124><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf 0.5pt solid; WIDTH: 60pt; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=80 height=17>A
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; WIDTH: 65pt; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" width=87>B
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; WIDTH: 70pt; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" width=93>C
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; WIDTH: 48pt; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" width=64>D

</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf 0.5pt solid; BORDER-LEFT: #bfbfbf; WIDTH: 93pt; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" width=124>
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl66 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17>Work Order
</TD><TD class=xl66 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">Part Number
</TD><TD class=xl67 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">Delivery Date
</TD><TD class=xl66 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">Max Part

</TD><TD class=xl68 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17>wo_1
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_1
</TD><TD class=xl70 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" align=right>1/1/2012
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_2

</TD><TD class=xl68 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: yellow" height=17>wo_1
</TD><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow">part_2
</TD><TD class=xl72 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow" align=right>2/5/2012
</TD><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow">part_2
</TD><TD class=xl73 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow"><< max date for wo
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17>wo_1
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_3
</TD><TD class=xl70 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" align=right>7/1/2011
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_2

</TD><TD class=xl68 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: yellow" height=17>wo_2
</TD><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow">part_1
</TD><TD class=xl72 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow" align=right>2/10/2012
</TD><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow">part_1
</TD><TD class=xl73 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow"><< max date for wo
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17>wo_2
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_2
</TD><TD class=xl70 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" align=right>1/6/2012
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_1

</TD><TD class=xl68 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17>wo_3
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_1
</TD><TD class=xl70 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" align=right>7/6/2011
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_3

</TD><TD class=xl68 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17>wo_3
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_2
</TD><TD class=xl70 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent" align=right>1/11/2012
</TD><TD class=xl69 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">part_3

</TD><TD class=xl68 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: transparent">
</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf 0.5pt solid; BORDER-BOTTOM: #bfbfbf 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: yellow" height=17>wo_3
</TD><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow">part_3
</TD><TD class=xl72 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow" align=right>2/15/2012
</TD><TD class=xl71 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow">part_3
</TD><TD class=xl73 style="BORDER-RIGHT: #bfbfbf 0.5pt solid; BORDER-TOP: #bfbfbf; BORDER-LEFT: #bfbfbf; BORDER-BOTTOM: #bfbfbf 0.5pt solid; BACKGROUND-COLOR: yellow"><< max date for wo

</TD></TR></TBODY></TABLE>​

heylp...

Thanks,
Nuk
Try this array formula** entered in D2:

=INDEX(B$2:B$9,MATCH(MAX(IF(A$2:A$9=A2,C$2:C$9)),IF(A$2:A$9=A2,C$2:C$9),0))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.

Copy down as needed.
 
Upvote 0
Try this array formula** entered in D2:

=INDEX(B$2:B$9,MATCH(MAX(IF(A$2:A$9=A2,C$2:C$9)),IF(A$2:A$9=A2,C$2:C$9),0))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.

Copy down as needed.
worked like a charm.

thanks biff!

-nuk-
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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