Tosborn
New Member
- Joined
- May 24, 2016
- Messages
- 44
The messy data looks like the list in columns A & B (see image), the finished list needs to be like columns D&E. I'm cleaning up some very messy data with formulas on the spreadsheet up to this point but the solution could be with VBA also, I'm open to either.
So basically the purchase order number relates to the supplier below and the reverse is true also, the supplier name relates to the purchase order above.
The kicker is the supplier names repeated multiple times along the spreadsheet all the way down but always relate to the purchase order immediately in a non blank row above. That is, a supplier relates to multiple purchase orders but each purchase order only relates to one supplier.
Purchase order numbers are not repeated.
There is no mathematical consistency to the blank rows between PO & supplier.
So basically the purchase order number relates to the supplier below and the reverse is true also, the supplier name relates to the purchase order above.
The kicker is the supplier names repeated multiple times along the spreadsheet all the way down but always relate to the purchase order immediately in a non blank row above. That is, a supplier relates to multiple purchase orders but each purchase order only relates to one supplier.
Purchase order numbers are not repeated.
There is no mathematical consistency to the blank rows between PO & supplier.