N
Newbie
Hi,
I have a table (download of data so have no control over structure) that
looks like this:
ProductName Comp1 Comp1Qty Comp2 Comp2Qty ..... Comp32
ABC XYZ 2 VWY 5
LMN 6
How can I change this so that I get table that looks like this
ProductName Component Qty Seq**
ABC XYZ 2 1
ABC VWY 5 2
ABC LMN 6 3
**NB Seq would be a sequential number starting at 1 for each ProductName
and incremented by 1 for each record of the same ProductName
Thanks
I have a table (download of data so have no control over structure) that
looks like this:
ProductName Comp1 Comp1Qty Comp2 Comp2Qty ..... Comp32
ABC XYZ 2 VWY 5
LMN 6
How can I change this so that I get table that looks like this
ProductName Component Qty Seq**
ABC XYZ 2 1
ABC VWY 5 2
ABC LMN 6 3
**NB Seq would be a sequential number starting at 1 for each ProductName
and incremented by 1 for each record of the same ProductName
Thanks