dakota727
Board Regular
- Joined
- Dec 3, 2006
- Messages
- 164
- Office Version
- 365
I am using the following array function to look up data matching several criteria:
{=INDEX('Inst Data'!$A$1:$H$1500,MATCH(1,('Inst Data'!$A$1:$A$1500=$B7)*('Inst Data'!$D$1:$D$1500=AA$1)*('Inst Data'!$F$1:$F$1500=""),0),8)}
In order to minimize the number of calculations the spreadsheet has to chug through I wanted to determine the number of rows on the Inst Data tab. For now I have it listed as 1500 but what I am trying to do is replace the 1500 with the reference to the value in cell Z1. In Z1 I was using a CountA() function to determine the number of rows of data once the data file is imported into my spreadsheet on the tab 'Inst Data'.
I have tried a couple of things (concatenating the whole reference to the range including the sheet name, etc.) but so far no luck.
I have about 900 of these look up arrays so I was trying to make the range as small as possible and not have to over estimate the number of rows in my data since it will change with every instrument run.
Any ideas would be appreciated,
Thanks
{=INDEX('Inst Data'!$A$1:$H$1500,MATCH(1,('Inst Data'!$A$1:$A$1500=$B7)*('Inst Data'!$D$1:$D$1500=AA$1)*('Inst Data'!$F$1:$F$1500=""),0),8)}
In order to minimize the number of calculations the spreadsheet has to chug through I wanted to determine the number of rows on the Inst Data tab. For now I have it listed as 1500 but what I am trying to do is replace the 1500 with the reference to the value in cell Z1. In Z1 I was using a CountA() function to determine the number of rows of data once the data file is imported into my spreadsheet on the tab 'Inst Data'.
I have tried a couple of things (concatenating the whole reference to the range including the sheet name, etc.) but so far no luck.
I have about 900 of these look up arrays so I was trying to make the range as small as possible and not have to over estimate the number of rows in my data since it will change with every instrument run.
Any ideas would be appreciated,
Thanks