Ok, actually in any instance I could find in my grades this worked. I
have two questions:
1. Why does putting the reference of E4 work when your reference is
actually the entire array?
2. Also, Why is the "rows" of the offset -1 when it's in the same
row...whenever I change it to 0, however, it returns the wrong value?
(Using yours, it works, THANKS SO MUCH!!!!!!!!!!)
=OFFSET(E4,MATCH(SMALL(E4:E18,1),E4:E18,0)-1,-2)
>Why does putting the reference of E4 work when your reference is
>actually the entire array?
The reference is not the entire range. The "starting point" is E4.
MATCH(SMALL(E4:E18,1),E4:E18,0)-1 tells it how many rows to offset E4
-2 tells it how many columns to offset E4.
>Why is the "rows" of the offset -1 when it's in the same
>row...whenever I change it to 0, however, it returns
>the wrong value?
Because the MATCH function will only return values >=1. If the match value
is in the first position the result would be 1 which would mean to offset E4
by 1 row but this would lead to an incorrect reference. In that case you
want the offset to be 0 so in effect you need to "offset" the result of the
MATCH function by -1.
See Roger's reply. His solution also works and may be less complicated.
Biff
> Ok, actually in any instance I could find in my grades this worked. I
> have two questions:
[quoted text clipped - 38 lines]
>> > Marcas Burnett
>> > marcas91[at]gmail[dot]com
marcas91@gmail.com - 17 Nov 2006 11:45 GMT
Thank you so much!
> =OFFSET(E4,MATCH(SMALL(E4:E18,1),E4:E18,0)-1,-2)
>
[quoted text clipped - 63 lines]
> >> > Marcas Burnett
> >> > marcas91[at]gmail[dot]com
Biff - 17 Nov 2006 20:05 GMT
You're welcome!
Biff
> Thank you so much!
>> =OFFSET(E4,MATCH(SMALL(E4:E18,1),E4:E18,0)-1,-2)
[quoted text clipped - 68 lines]
>> >> > Marcas Burnett
>> >> > marcas91[at]gmail[dot]com