I'm wondering if there's a similar way I can take a thorn out of my side that's been bothering me for years.
I would like to find a way to go through a sheet and create a list of values based on values in that column. Column A has part numbers, Column E1, F1, G1, H1... are order numbers. Below the project numbers (starting from Row 5) are the quantities of parts used for that order.
I hate using the word, but a dynamic way where it's instantly updated would be ideal (i.e., no vba, no button to push).
I'm not really sure how to set this up in a formulaic fashion, but I've been thinking about how it would work. Here's what I've got so far:
The sheet "upload" would be where the list is created, always referencing the data on sheet "BOM".
Search Col A for "END". Mark it's row. This designates the end of the bill of materials (BOM) list.
E1 will always be the first order. Search F1 to O1 for the first blank cell. The cell immediately before this will be the last order entered in the bill.
Starting with E1, search down the column from E6 to the row where "END" was found.
For each value that is >0:
a. Copy the order number (E1) to sheet "upload", Col A
b. Copy the contents of the cell in Col A of the same row to sheet "upload", Col B
c. Copy the contents of the cell in Col E of that row (the >0 value) to sheet "upload", Col C
d. Copy the contents of the cell in Col D of that row to sheet "upload", Col D
When it has finished searching through Col E (from Step 2), repeat for the additional columns calculated in Step 3, substituting Col "E" in step 6a and 8c.
Easy-peesy, huh? Lol, I can see what I need to do, but how to do it is something else.
If it's helpful, I've uploaded a previous example to dropbox that may be helpful in seeing what I have to do: http://dl.dropbox.com/u/24293397/212185-BOM.xlsm
Thanks for any help all![]()
Bookmarks