S
Scott
I have a table of parts and material parts. I have the table sorted by the
portent part then the mtlpart. I need to sequence them like the example
below. The order of the mtlparts is not important as long as all the parents
are together. Right now I am doing this in excel with the following IF
formula.
=IF(B5=B4,D4+10,10) Note: The first Colum starts with a 10
If there is only one P/N to MtlPart than the seq qould be 10. If there are
two LIKE P/N with different MtlParts then the first would be 10 and the
second would be 20.
There would never be two duplicates as I have a Primary key relationship on
the P/N & MtlPart.
ALso there could be up to 30 of the same P/N and different MtlParts. 10,20,
P/N Rev SEQ MtlPart
491H-1B Conv 10 CV4
491V-2 Conv 10 01BV
491V-2B Conv 10 CV404U
291H-1 Conv 10 100SJ34191225
291H-1 Conv 20 KEVLAR
291H-1 Conv 30 PROTEX
291H-1 Conv 40 100SJ
291H-1 Conv 50 01LB1
291H-1 Conv 60 200SJ3
291H-2 Conv 10 KEVLAR
291H-2 Conv 20 PROTEX
291H-2 Conv 30 400DE
291H-2 Conv 40 200J34
291H-2 Conv 50 10SJ41
291H-2 Conv 60 100J3419
portent part then the mtlpart. I need to sequence them like the example
below. The order of the mtlparts is not important as long as all the parents
are together. Right now I am doing this in excel with the following IF
formula.
=IF(B5=B4,D4+10,10) Note: The first Colum starts with a 10
If there is only one P/N to MtlPart than the seq qould be 10. If there are
two LIKE P/N with different MtlParts then the first would be 10 and the
second would be 20.
There would never be two duplicates as I have a Primary key relationship on
the P/N & MtlPart.
ALso there could be up to 30 of the same P/N and different MtlParts. 10,20,
300.
P/N Rev SEQ MtlPart
491H-1B Conv 10 CV4
491V-2 Conv 10 01BV
491V-2B Conv 10 CV404U
291H-1 Conv 10 100SJ34191225
291H-1 Conv 20 KEVLAR
291H-1 Conv 30 PROTEX
291H-1 Conv 40 100SJ
291H-1 Conv 50 01LB1
291H-1 Conv 60 200SJ3
291H-2 Conv 10 KEVLAR
291H-2 Conv 20 PROTEX
291H-2 Conv 30 400DE
291H-2 Conv 40 200J34
291H-2 Conv 50 10SJ41
291H-2 Conv 60 100J3419