I'm working with a formula that looks like this:
=TRIM(INDEX('#001'!$A$1:$S$10000,MATCH(LARGE(IF('#001'!$K$1:$K$10000<>"",IF('#001'!$B$1:$B$10000=" MENS ",IF(ISNUMBER('#001'!$L$1:$L$10000),'#001'!$L$1:$L$10000-ROW('#001'!$L$1:$L$10000)/10^5))),1),IF('#001'!$K$1:$K$10000<>"",IF('#001'!$B$1:$B$10000=" MENS ",IF(ISNUMBER('#001'!$L$1:$L$10000),'#001'!$L$1:$L$10000-ROW('#001'!$L$1:$L$10000)/10^5))),0),8))
The #001 in the formula refers to a store #. Currently I have 20 stores and have created 20 different sheets. Each sheet contains that stores data.
What I'd like to do is just have all the data on one sheet. I'm trying to figure out if there's a way to modify the formula to look in only a selected range of data. For example, a sheet contains data for 20 stores. At the start of each new store it displays a value of "Store #XXX" in a row located in column A. At the end of the data for each store it display a value of "Total for Store #XXX" in a row located in column A. The data goes from Column A to F and can span a couple hundred rows.
Is there a way to modify the formula at the top to have it only look at the data for store #001, #002, etc...
Thanks in advance for any help
Bookmarks