Hi All,
I've attached a file with 2 tabs.
First tab "PO_Summary" has a PO number, Qty and a Part in column A, B and C. A part can occur multiple times with different PO numbers.
Second tab "PO_Detail" has a PO number and a Part in column A and B.
What I would like to have automated, is the filling of the PO numbers in the "PO_Detail" tab with the corresponding PO numbers from the first tab "PO_Summary".
The parts in the 2nd tab (column B) are copied / paste from an original file, also with the correct amount of lines.
So in the attached file, you see part ABC occur 5x with PO 123, part DEF occur 10x with PO 456 and part ABC again for 15x with PO 789. In the second tab, column B is then already filled with 5x ABC, 10x DEF and 15x ABC.
The macro will now need to fill the first column A of the second tab with 5x 123, 10x 456 and 15x 789.
Is there any quick and easy way to program this?
Many thanks in advance for your time and assistance, if the above is not clear, please let me know!
Kind regards,
Peter
Bookmarks