Hi There, I have a complex lookup statement where I need to bring in complex data into another tab. It should function like this.
Look in some other tab and look at col W. Col W can have unlimited rows and a header row. The data consists of blank rows and some rows with a number in it. If Col W has a value above 0 in it and is not blank, then ixdex Col V (or take the cooresponding value from Col V). It would be GREAT if the results were sorted in order from largest to smallest.
Can you tell me what I am doing wrong with my ARRAY statement - this is working but NOT pulling in the correct datapoints. Why?
=IF(ROWS(A$37:A38)<= COUNTIF([WeeklyData.xls]qryBVFailandSCLX_Date!$W2:$W300,">0"), INDEX([WeeklyData.xls]qryBVFailandSCLX_Date!$V2:$V300, SMALL(IF([WeeklyData.xls]qryBVFailandSCLX_Date!$W2:$W300>1, ROW([WeeklyData.xls]qryBVFailandSCLX_Date!$W2:$W300)+1), ROWS(A$37:A38))),"")
For example: With the below example, I want the formula result to display (in the appropriate rows A1,A2,A3...)Lisa, Tom, Lisa, Stacy (in that order, from largest to smallest, if possible)
COL V / COL W
Lisa / 5
Lisa /
Lisa /
Tom / 5
Lisa /4
Tom /
Stacy /1
Sassy
Thanks!
Look in some other tab and look at col W. Col W can have unlimited rows and a header row. The data consists of blank rows and some rows with a number in it. If Col W has a value above 0 in it and is not blank, then ixdex Col V (or take the cooresponding value from Col V). It would be GREAT if the results were sorted in order from largest to smallest.
Can you tell me what I am doing wrong with my ARRAY statement - this is working but NOT pulling in the correct datapoints. Why?
=IF(ROWS(A$37:A38)<= COUNTIF([WeeklyData.xls]qryBVFailandSCLX_Date!$W2:$W300,">0"), INDEX([WeeklyData.xls]qryBVFailandSCLX_Date!$V2:$V300, SMALL(IF([WeeklyData.xls]qryBVFailandSCLX_Date!$W2:$W300>1, ROW([WeeklyData.xls]qryBVFailandSCLX_Date!$W2:$W300)+1), ROWS(A$37:A38))),"")
For example: With the below example, I want the formula result to display (in the appropriate rows A1,A2,A3...)Lisa, Tom, Lisa, Stacy (in that order, from largest to smallest, if possible)
COL V / COL W
Lisa / 5
Lisa /
Lisa /
Tom / 5
Lisa /4
Tom /
Stacy /1
Sassy
Thanks!