I have an excel pivot table with 400+ columns designating a "storage bin location"
There are 1200+ rows designating unique "Item #'s"
The pivot table values designate qty stored in each bin location
An item # may appear in multiple bin locations in the pivot table
I need a formula or method for returning the bin location for the 1st instance of a qty >0, then return the bin location of 2nd instance where qty>0, then 3rd...to n possible locations. Upper limit of n likely can be assumed less than 20 possible locations.
I was thinking adding 20 columns at the end of the pivot table and using a hlookup to find qty values >0 and return bin location on top row of pivot table. Problem is telling column 2 to return the bin location of the 2nd instance in the row, then column 3 to return 3rd instance, etc.
Any help greatly appreciated.