plague5050,
Attached is a modified version of your posted workbook.
In sheet 'Tracker' cell B5 and copied over and down to cell M7 is this formula:
=IF(OR($B$1="",$B$2=""),"",IFERROR(INDEX(INDIRECT("'"&$B$1&"'!D2:D200"),MATCH(1,INDEX((LEFT(INDIRECT("'"&$B$1&"'!A2:A200"),3)=B$4)*(INDIRECT("'"&$B$1&"'!B2:B200")=$B$2)*(INDIRECT("'"&$B$1&"'!C2:C200")=IF($A5=$A$5,"Curr Yr",IF($A5=$A$6,"Prev Yr","TY SC Avg"))),),0)),""))
Note that the Indirect function works because the Stores you can select are identical to the sheet names (you can select Store1 or Store2 and you have sheets with identical names 'Store1' and 'Store2').
Bookmarks