I am trying to consolidate information in a database that is not very user friendly.
Column A contains a list of products. Columns B1:Q1 contains a list of invoice numbers.
For each product, I want to show/list all the invoices that contain the product in question. For example, apples were sold on invoices 33333, 77777, and 4. I want to list on another sheet:
Cell A1 = Apples
Cell B1 = 33333
Cell C1 = 77777
Cell D1 = 4
For oranges it would be
Cell A2 = Oranges
Cell B2 = 11111
Cell C2 = 55555
Cell D2 = 7
I have attached a small sample of raw data file and desired output. Thanks in advance for any comments.
Bookmarks