Originally Posted by
Greg M
Hi there,
This refers to a Range which begins on Row
5
This identifies the first instance of "olsen" which occurs in a range beginning on Row 1
If the first instance of "olsen" occurs on Row (e.g.) 6, the MATCH function will return a value of 6, but the INDEX function will return the sixth row of the Range which begins on Row
5, i.e. Row 10.
Using FG:FG for the match, if there is a match above row 5 (the first row of the INDEX range), then the INDEX function will return the value from column FK which is obviously 0.
To create a dynamic range starting at row 5, and ending at the row corresponding to the number of values in column FG, I used:'New Player Avgs (2)'!$FG5:INDEX('New Player Avgs (2)'!FG:FG,COUNTA('New Player Avgs (2)'!FG:FG))
**Note: if there are values in FG above row 5 the bottom of the range will be off by the number of items above row 5 and you will have to modify the formula to:
...COUNTA('New Player Avgs (2)'!FG:FG) + x...
x - the number of used rows above FG5.
Bookmarks