Leeds Knight
New Member
- Joined
- Jun 17, 2010
- Messages
- 2
I have two named Tables detailing price proposals from mfrs on different dates
I want to merge these into a single table detailing the minimum cost and associated detail per Item
[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Item[/TD]
[TD="width: 64"]Mfr[/TD]
[TD="width: 64"]MPN[/TD]
[TD="width: 64"]Cost[/TD]
[/TR]
[TR]
[TD="align: right"]10001[/TD]
[TD]Acme[/TD]
[TD]ACME001[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10002[/TD]
[TD]Bob's[/TD]
[TD]BOB001[/TD]
[TD="align: right"]1.5[/TD]
[/TR]
[TR]
[TD="align: right"]10003[/TD]
[TD]Tom's[/TD]
[TD]TOM001[/TD]
[TD="align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Item[/TD]
[TD="width: 64"]Mfr[/TD]
[TD="width: 64"]MPN[/TD]
[TD="width: 64"]Cost[/TD]
[/TR]
[TR]
[TD="align: right"]10001[/TD]
[TD]Bob's[/TD]
[TD]BOB002[/TD]
[TD="align: right"]1.5[/TD]
[/TR]
[TR]
[TD="align: right"]10003[/TD]
[TD]Tom's[/TD]
[TD]TOM001[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD="align: right"]10004[/TD]
[TD]Bill's[/TD]
[TD]BILL001[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
Requirement - single table by Item number, telling me who has provided the lowest quote with which MPN value:
[TABLE="width: 269"]
<colgroup><col span="3"><col></colgroup><tbody>[TR]
[TD]Item[/TD]
[TD]Mfr[/TD]
[TD]MPN[/TD]
[TD]Min Cost[/TD]
[/TR]
[TR]
[TD="align: right"]10001[/TD]
[TD]Acme[/TD]
[TD]ACME001[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10002[/TD]
[TD]Bob's[/TD]
[TD]BOB001[/TD]
[TD="align: right"]1.5[/TD]
[/TR]
[TR]
[TD="align: right"]10003[/TD]
[TD]Tom's[/TD]
[TD]TOM001[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD="align: right"]10004[/TD]
[TD]Bill's[/TD]
[TD]BILL001[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
I want to merge these into a single table detailing the minimum cost and associated detail per Item
[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Item[/TD]
[TD="width: 64"]Mfr[/TD]
[TD="width: 64"]MPN[/TD]
[TD="width: 64"]Cost[/TD]
[/TR]
[TR]
[TD="align: right"]10001[/TD]
[TD]Acme[/TD]
[TD]ACME001[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10002[/TD]
[TD]Bob's[/TD]
[TD]BOB001[/TD]
[TD="align: right"]1.5[/TD]
[/TR]
[TR]
[TD="align: right"]10003[/TD]
[TD]Tom's[/TD]
[TD]TOM001[/TD]
[TD="align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Item[/TD]
[TD="width: 64"]Mfr[/TD]
[TD="width: 64"]MPN[/TD]
[TD="width: 64"]Cost[/TD]
[/TR]
[TR]
[TD="align: right"]10001[/TD]
[TD]Bob's[/TD]
[TD]BOB002[/TD]
[TD="align: right"]1.5[/TD]
[/TR]
[TR]
[TD="align: right"]10003[/TD]
[TD]Tom's[/TD]
[TD]TOM001[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD="align: right"]10004[/TD]
[TD]Bill's[/TD]
[TD]BILL001[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
Requirement - single table by Item number, telling me who has provided the lowest quote with which MPN value:
[TABLE="width: 269"]
<colgroup><col span="3"><col></colgroup><tbody>[TR]
[TD]Item[/TD]
[TD]Mfr[/TD]
[TD]MPN[/TD]
[TD]Min Cost[/TD]
[/TR]
[TR]
[TD="align: right"]10001[/TD]
[TD]Acme[/TD]
[TD]ACME001[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10002[/TD]
[TD]Bob's[/TD]
[TD]BOB001[/TD]
[TD="align: right"]1.5[/TD]
[/TR]
[TR]
[TD="align: right"]10003[/TD]
[TD]Tom's[/TD]
[TD]TOM001[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD="align: right"]10004[/TD]
[TD]Bill's[/TD]
[TD]BILL001[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]