This is the formula with the row references... i can't understand why this
"=INDEX('Cancel Push compiled'!$A2:$W82,SMALL(IF('Cancel Push
compiled'!$A$2:$A$82=Sheet1!$A$2,ROW('Cancel Push
compiled'!$A$2:$A$82)),ROW(1:1)),11)"
The problem is here:
ROW('Cancel Push compiled'!$A$2:$A$82)
The INDEX function is used to hold the array A2:W82. The actual size of this
array is 81 elements. Where:
A2:W2 = element 1
A3:W3 = element 2
A4:W4 = element 3
...
A82:W82 = element 81
The first call to the ROW function is used to specify which element to
return from the INDEXED array. Since the elements in INDEX are "numbered"
starting from 1, so too must the reference used inside the ROW function. If
the the refernces are mismatched the results you get can and will be
incorrect. (unless you have dumb luck on your side!)
So:
ROW('Cancel Push compiled'!$A$2:$A$82)
should be written as:
ROW('Cancel Push compiled'!$A$1:$A$81)
Another thing, you don't need the sheet name or the columns because you're
not actually referencing any physical location. The ROW function is just a
means to return an array of numbers equal to the size of the INDEXED array.
ROW($1:$81)
Here's another way to look at it:
Assume the indexed range was A247:W327. This array STILL contains 81
elements so:
=INDEX(A247:W327,............................ROW($1:$81)...............)
This is usually where people make mistakes with type of formula. Once you
understand how it works, it's a very simple formula.
Biff