A
André
Hi,
I'm close to finally being able to automate a huge and boring job, but I
have a problem which hopefully some of you experts can help me solve.
I have a large excel-sheet with two columns, ItemNo and number (number of
items).
ItemNo. Number
10000 1
10001 2
10002 1
10007 9
etc.
I need a macro that transaltes the above columns to a new sheet within the
same excel-file. The new sheet need to have only one column, which consists
of the two columns joined together. That's easy, but my challange is to give
me 9 lines if the number is 9, AND with the same itemno, but with ascending
numbers from 1 to x. The new file should look like this:
New number
10000-1
10001-1 (number = 2)
10001-2 "
10002-1
10007-1 (number = 9)
10007-2 "
10007-3 "
10007-4 "
10007-5 "
10007-6 "
10007-7 "
10007-8 "
10007-9 "
etc.
Probably an easy task for a programmer, but not for me:-(
Do you have any suggestion on how to solve this?
Best regards,
André
I'm close to finally being able to automate a huge and boring job, but I
have a problem which hopefully some of you experts can help me solve.
I have a large excel-sheet with two columns, ItemNo and number (number of
items).
ItemNo. Number
10000 1
10001 2
10002 1
10007 9
etc.
I need a macro that transaltes the above columns to a new sheet within the
same excel-file. The new sheet need to have only one column, which consists
of the two columns joined together. That's easy, but my challange is to give
me 9 lines if the number is 9, AND with the same itemno, but with ascending
numbers from 1 to x. The new file should look like this:
New number
10000-1
10001-1 (number = 2)
10001-2 "
10002-1
10007-1 (number = 9)
10007-2 "
10007-3 "
10007-4 "
10007-5 "
10007-6 "
10007-7 "
10007-8 "
10007-9 "
etc.
Probably an easy task for a programmer, but not for me:-(
Do you have any suggestion on how to solve this?
Best regards,
André