I'm working on a sheet that pulls just the Inventory items which are in stock and trying to keep my code as simple a possible.
I have several categories with in each sheet of the Inventory (INV) listed descending order. 2X, XL, LG, MD, SM, TM
I want to pull a row reference from a column but anyone who uses the INV can add rows for new INV item, so I can not define a specific start and stop position in the column.
This method may be futile but I have started tinkering with:
To determine if an INV cell has a value, In $AR each category header starts with 0 and every descending cell is populated with =IF(A2>0,AR2+1,AR2)
This allows me to search a column for each item with a positive quantity in the INV. =MATCH(1,Tabulator!AR:AR,0)
The problem I am having is that, although designating each category header with 0 does reset the list value and allows it to start over regardless of how many rows are added. I do not know how to tell the formula how to read a variable array range.
I need a formula that results in =MATCH(1,Tabulator!AR:AR,0)
When = a specified Cell Value like A1 & A2 which determines the start and finish of each size category.
or a formula that allows me to search for the second/third occurrence of 1 in AR
I tried concatenate, and I have read many threads on Dynamic Vlookup but they are not helping. I have 31 sheets of ever changing INV each month. I can reference the data, I just need to pull the correct row value within each category to form a simplified list of what is on hand.
Any help would be appreciated.
Bookmarks