Hi,
I have a list of store numbers in column B and in columns D to H I have a quantities - the headers of these columns are 4, 3, 2, 1.
I then have another list of locations against which is a number - 1, 2, 3, 4. (header of the column is Size)
I am trying to go down the store list by store, look across to the locations, and if the location is a (size) 3, go back to the store list and read across to the quantity in the column headed 3. If that quantity is 5, put the store number in column A in the location and subsequent 4 locations.
Example below.
I have a list of store numbers in column B and in columns D to H I have a quantities - the headers of these columns are 4, 3, 2, 1.
I then have another list of locations against which is a number - 1, 2, 3, 4. (header of the column is Size)
I am trying to go down the store list by store, look across to the locations, and if the location is a (size) 3, go back to the store list and read across to the quantity in the column headed 3. If that quantity is 5, put the store number in column A in the location and subsequent 4 locations.
Example below.