Alright, see if this helps get us on the way....
First go to the Stores Sheet and change the formula in B3 to =MID(A3,5,3)+0 and copy it down all the way.
This converts the store number to an actual number to match the store number format in column B of Data sheet.
The try this formula in G2 of Data Sheet:
copied down.
You will see some values...confirm they are right. The #N/A's mean no matches found...probably because you slimmed down the sheet.
You may have to adjust the bottoms of the ranges in the formula to ensure you get all your original data....
What I did to match the right column is to look for the word that is in column D of Data sheet (i.e. the brand) in row 1 of Stores sheet.... then if the word "Soap" appears in column C of Data sheet, then use only the range of columns in Stores Sheet that have contain the same word (ie. columns E:Y in this sample), otherwise look in the remaining columns (ie. columns Z:AK). The +1 is to offset by 1 column since the % Demand is the middle column of each brand.
Hope this helps you.
Bookmarks