Using a macro I have imported data into a blank worksheet from cell A8. Basically column A contains a part No and column E it's quantity amount.
something like:
12345 57
31
12346 190
12347 12
The aprt No only appaers when it changes. Because the 2nd row above is blank I know that the part no is the same as the one above.
What I now need to do is insert a blank row to seperate each part no (this I have already done, and now sum the quantities relavent to that part no. With reference to row 1 above that would be: 57 + 31 = 88. I need to repeat this until I reach the last row of my sheet. Oh!, I have marded thsi with "END" which I am testing for in my loop. Can anyone point me in the right direction as to how this can be done.
Thanks in advance.
Ned.
something like:
12345 57
31
12346 190
12347 12
The aprt No only appaers when it changes. Because the 2nd row above is blank I know that the part no is the same as the one above.
What I now need to do is insert a blank row to seperate each part no (this I have already done, and now sum the quantities relavent to that part no. With reference to row 1 above that would be: 57 + 31 = 88. I need to repeat this until I reach the last row of my sheet. Oh!, I have marded thsi with "END" which I am testing for in my loop. Can anyone point me in the right direction as to how this can be done.
Thanks in advance.
Ned.