You can use Advanced Filter, but before you do that, make A1 on both sheets identical.
Click anywhere in doc A.
On the Data tab of the ribbon, in the Sort & filter group, click Advanced.
Excel should select the entire range and show its address in the 'List range' box.
Click in the 'Criteria range' box.
Switch to the other tab and select the range of store numbers (including the header in A1).
Click OK.